SeasonPoster
extends ApiRecord
in package
Read onlyYes
FinalYes
One season poster or badge uploaded for a league (v2 `list/seasonposters`). A season can have several; each is a separate piece of artwork with its own id.
Table of Contents
Properties
- $badge : string|null
- `strBadge`
- $description : string|null
- `strDescriptionEN`
- $id : int|null
- `idArt`: this artwork's id
- $leagueId : int|null
- `idLeague`
- $poster : string|null
- `strPoster`
- $raw : array<string|int, mixed>
- $season : string|null
- `strSeason`, e.g. `2025-2026`
- $uploadedBy : string|null
- `strUsername`: who uploaded it
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
`strDescriptionEN`
public
string|null
$description
$id
`idArt`: this artwork's id
public
int|null
$id
$leagueId
`idLeague`
public
int|null
$leagueId
$poster
`strPoster`
public
string|null
$poster
$raw
public
array<string|int, mixed>
$raw
$season
`strSeason`, e.g. `2025-2026`
public
string|null
$season
$uploadedBy
`strUsername`: who uploaded it
public
string|null
$uploadedBy
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