/** * @return string * @desc Gets the URL for adding a new player in the team */ public function GetPlayerAddNavigateUrl() { $s_url = ''; if ($this->GetShortUrl()) { $s_url = $this->o_settings->GetClientRoot() . $this->GetShortUrl() . '/players/add'; } else { $s_url = str_replace('{0}', $this->GetId(), $this->o_settings->GetUrl('PlayerAdd')); } return $s_url; }
/** * Gets the URL of the page to view the player's details * @return string */ public function GetPlayerUrl() { return $this->settings->GetClientRoot() . $this->GetShortUrl(); }
/** * @return string * @desc Gets the URL for deleting the match */ public function GetDeleteNavigateUrl() { return $this->o_settings->GetClientRoot() . $this->GetShortUrl() . '/delete'; }
/** * Gets the URL for the season map * @return string */ public function GetMapUrl() { return $this->o_settings->GetClientRoot() . $this->GetShortUrl() . "/map"; }