public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("most-runs"); parent::SetTitle("Most runs"); parent::SetColumnHeaders(array("Runs")); parent::SetDescription("Find out who has scored the most runs overall in all stoolball matches."); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("player"); parent::SetItemTypePlural("players"); }
public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("player-of-match"); parent::SetTitle("Player of the match nominations"); parent::SetDescription("All of the matches where players were awarded player of the match for their outstanding performances on the pitch."); parent::SetSupportsFilterByPlayer(true); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("nomination"); parent::SetItemTypePlural("nominations"); }
public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("most-player-of-match"); parent::SetTitle("Most player of the match nominations"); parent::SetColumnHeaders(array("Nominations")); parent::SetDescription("Find out who has won the most player of the match awards for their outstanding performances on the pitch."); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("player"); parent::SetItemTypePlural("players"); }
public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("individual-scores"); parent::SetTitle("Highest individual scores"); parent::SetDescription("See the highest scores by individuals in a single stoolball innings."); parent::SetSupportsFilterByPlayer(true); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("innings"); parent::SetItemTypePlural("innings"); }
public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("player-performances"); parent::SetTitle("Player performances"); parent::SetDescription("All of the match performances by a stoolball player, summarising their batting, bowling and fielding in the match."); parent::SetSupportsFilterByPlayer(true); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("performance"); parent::SetItemTypePlural("performances"); }
public function __construct($minimum_qualifying_score, StatisticsManager $statistics_data_source) { $this->minimum_qualifying_score = (int) $minimum_qualifying_score; $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("most-scores-of"); parent::SetTitle("Most scores of {$minimum_qualifying_score} or more runs"); parent::SetColumnHeaders(array("Innings")); parent::SetDescription("Find out who has played the most innings of {$minimum_qualifying_score} runs or more in all stoolball matches."); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("player"); parent::SetItemTypePlural("players"); }
public function __construct(StatisticsManager $statistics_data_source) { $this->statistics_data_source = $statistics_data_source; parent::SetUrlSegment("batting-average"); parent::SetTitle("Batting averages"); parent::SetDescription("A batsman's average measures how many runs he or she typically scores before getting out. We only include people who have batted at least three times, and got out at least once."); parent::SetShowDescription(true); parent::SetColumnHeaders(array("Average")); parent::SetSupportsFilterByBattingPosition(true); parent::SetSupportsPagedResults(true); parent::SetItemTypeSingular("player"); parent::SetItemTypePlural("players"); }