Codex

Game

Used to create a Game object in the Sports Bench Plugin.

To create a new series object, you’ll need to use the Sports_Bench\Classes\Base\Game namespace and then use new Game( $game_id ).

Properties

  • $game_id
  • $game_week
  • $game_season
  • $game_day
  • $game_home_id
  • $game_home_final
  • $game_away_id
  • $game_away_final
  • $game_attendance
  • $game_status
  • $game_current_time
  • $game_current_period
  • $game_current_home_score
  • $game_current_away_score
  • $preview_link
  • $recap_link
  • $game_neutral_site
  • $game_location_stadium
  • $game_location_line_one
  • $game_location_line_two
  • $game_location_city
  • $game_location_state
  • $game_location_country
  • $game_location_zip_code