Standing
extends ApiRecord
in package
Read onlyYes
FinalYes
One row of a league table (`lookuptable.php`). v1 only; there is no v2 equivalent.
Table of Contents
Properties
- $badge : string|null
- `strBadge`
- $description : string|null
- `strDescription`: what this position leads to, e.g. `Promotion - Champions League`
- $drawn : int|null
- `intDraw`
- $form : string|null
- `strForm`: recent results, newest last, e.g. `WWDLW`
- $goalDifference : int|null
- `intGoalDifference`
- $goalsAgainst : int|null
- `intGoalsAgainst`
- $goalsFor : int|null
- `intGoalsFor`
- $group : string|null
- `strGroup`
- $id : int|null
- `idStanding`
- $league : string|null
- `strLeague`
- $leagueId : int|null
- `idLeague`
- $lost : int|null
- `intLoss`
- $played : int|null
- `intPlayed`
- $points : int|null
- `intPoints`
- $rank : int|null
- `intRank`
- $raw : array<string|int, mixed>
- $season : string|null
- `strSeason`
- $team : string|null
- `strTeam`
- $teamId : int|null
- `idTeam`
- $updated : DateTimeImmutable|null
- `dateUpdated` (zone not stated) (zone not stated)
- $won : int|null
- `intWin`
Methods
- __construct() : mixed
- __toString() : string
- equals() : bool
- True when $other is the same kind of record, built from the same API fields.
- fmt() : string
Properties
$badge
`strBadge`
public
string|null
$badge
$description
`strDescription`: what this position leads to, e.g. `Promotion - Champions League`
public
string|null
$description
$drawn
`intDraw`
public
int|null
$drawn
$form
`strForm`: recent results, newest last, e.g. `WWDLW`
public
string|null
$form
$goalDifference
`intGoalDifference`
public
int|null
$goalDifference
$goalsAgainst
`intGoalsAgainst`
public
int|null
$goalsAgainst
$goalsFor
`intGoalsFor`
public
int|null
$goalsFor
$group
`strGroup`
public
string|null
$group
$id
`idStanding`
public
int|null
$id
$league
`strLeague`
public
string|null
$league
$leagueId
`idLeague`
public
int|null
$leagueId
$lost
`intLoss`
public
int|null
$lost
$played
`intPlayed`
public
int|null
$played
$points
`intPoints`
public
int|null
$points
$rank
`intRank`
public
int|null
$rank
$raw
public
array<string|int, mixed>
$raw
$season
`strSeason`
public
string|null
$season
$team
`strTeam`
public
string|null
$team
$teamId
`idTeam`
public
int|null
$teamId
$updated
`dateUpdated` (zone not stated) (zone not stated)
public
DateTimeImmutable|null
$updated
$won
`intWin`
public
int|null
$won
Methods
__construct()
public
__construct(array<string, string|null> $raw) : mixed
Parameters
- $raw : array<string, string|null>
-
every field as the API sent it (blank strings as null); use it for fields not modelled yet: $team->raw['strKeywords']
__toString()
public
__toString() : string
Return values
stringequals()
True when $other is the same kind of record, built from the same API fields.
public
equals(self|null $other) : bool
Parameters
- $other : self|null
Return values
boolfmt()
protected
fmt(mixed $value) : string
Parameters
- $value : mixed