Documentation

ResultCreateOpponent extends BaseComponent
in package

Table of Contents

Properties

$opponent_id  : int
$score  : string|null
$score_versus  : string|null
$win_loss  : string|null
$fields  : array<string|int, string>

Properties

$opponent_id

public int $opponent_id

For schedule\_type=0: the id of opponent.

For schedule\_type=1: Use -1 for the home team�s entry.Use the id of the opponent for the opponent entries.

$score

public string|null $score

For schedule\_type=0: the score of the home team For schedule\_type=1: the place(�1st", �2nd", etc.) or team point total of the opponent

$score_versus

public string|null $score_versus

For schedule\_type=0: the score of the opponent For schedule\_type=1: not used/omitted

$win_loss

public string|null $win_loss

For schedule\_type=0: include value for each opponent. For schedule\_type=1: include value for home team only.Not used/omitted for opponents.

$fields

protected static array<string|int, string> $fields = ["opponent_id" => "int", "score" => "string", "win_loss" => "string", "score_versus" => "string"]

        
On this page

Search results