Player
extends BaseComponent
in package
Player
Table of Contents
Properties
- $accolades : string|null
- $first_name : string|null
- $height : string|null
- $hometown : string|null
- $id : int
- $jersey : int|null
- $last_name : string|null
- $photos : PhotoUrls
- $position : string|null
- $preferred_name : string|null
- $publish_height : bool
- $publish_name : bool
- $publish_photo : bool
- $publish_weight : bool
- $returning_letter : bool
- $team_captain : bool
- $weight : string|null
- $fields : array<string|int, string>
Properties
$accolades
public
string|null
$accolades
A description of a players awards and achievments
$first_name
public
string|null
$first_name
Players first name
$height
public
string|null
$height
Height
$hometown
public
string|null
$hometown
Hometown
$id
public
int
$id
ID of the player
$jersey
public
int|null
$jersey
Jersey number
$last_name
public
string|null
$last_name
Players last name
$photos
public
PhotoUrls
$photos
Player Photos Url (roster photo or profile photo)
$position
public
string|null
$position
Player's position
$preferred_name
public
string|null
$preferred_name
Preferred Name
$publish_height
public
bool
$publish_height
Returns true if the player height is published
$publish_name
public
bool
$publish_name
Returns true if the player name is published
$publish_photo
public
bool
$publish_photo
Returns true if the player photo is published
$publish_weight
public
bool
$publish_weight
Returns true if the player weight is published
$returning_letter
public
bool
$returning_letter
Returning letter
$team_captain
public
bool
$team_captain
Returns true if the player is a team captian
$weight
public
string|null
$weight
Weight
$fields
protected
static array<string|int, string>
$fields
= ["id" => "int", "accolades" => "string", "first_name" => "string", "height" => "string", "hometown" => "string", "jersey" => "int", "last_name" => "string", "position" => "string", "returning_letter" => "bool", "team_captain" => "bool", "weight" => "string", "preferred_name" => "string", "photos" => "\\Blackbaud\\SKY\\School\\Components\\PhotoUrls", "publish_name" => "bool", "publish_height" => "bool", "publish_weight" => "bool", "publish_photo" => "bool"]