Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getInt('p', 0));
 }
Exemple #2
0
 public function __construct()
 {
     $db = JFactory::getApplication();
     $jinput = $db->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->projectteamid = JLHelperFront::stringToInt($jinput->getString('ptid', 0));
     $this->teamid = JLHelperFront::stringToInt($jinput->getString('tid', 0));
     parent::__construct();
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->clubid = JLHelperFront::stringToInt($jinput->getString('cid', 0));
     $this->project_id = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->setStartDate(JRequest::getVar("startdate", $this->startdate, 'request', 'string'));
     $this->setEndDate(JRequest::getVar("enddate", $this->enddate, 'request', 'string'));
 }
Exemple #4
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getInt('p', 0));
     $this->divisionid = JLHelperFront::stringToInt($jinput->getInt('division', 0));
     $this->teamid = JLHelperFront::stringToInt($jinput->getInt('tid', 0));
     $this->matchid = JLHelperFront::stringToInt($jinput->getInt('mid', 0));
     $this->getSpecifiedMatch($this->projectid, $this->divisionid, $this->teamid, $this->matchid);
 }
Exemple #5
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->division = $jinput->getInt('division', 0);
     $this->teamid1 = $jinput->getInt('tid1', 0);
     $this->teamid2 = $jinput->getInt('tid2', 0);
     $this->both = $jinput->getInt('both', 0);
     $this->determineTeam1And2();
 }
Exemple #6
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getInt("p", 0));
     $this->round = JLHelperFront::stringToInt($jinput->getInt("r", $this->getCurrentRound()));
     $this->part = JLHelperFront::stringToInt($jinput->getInt("part", 0));
     $this->from = JLHelperFront::stringToInt($jinput->getInt('from', $this->round));
     $this->to = JLHelperFront::stringToInt($jinput->getInt('to', $this->round));
     $this->type = JLHelperFront::stringToInt($jinput->getInt('type', 0));
     $this->last = JLHelperFront::stringToInt($jinput->getInt('last', 0));
     $this->selDivision = JLHelperFront::stringToInt($jinput->getInt('division', 0));
 }
Exemple #7
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->divisionid = JLHelperFront::stringToInt($jinput->getString('division', 0));
     $this->teamid = JLHelperFront::stringToInt($jinput->getString('tid', 0));
     $this->matchid = JLHelperFront::stringToInt($jinput->getString('mid', 0));
     $this->setEventid(JRequest::getVar('evid', '0'));
     $config = $this->getTemplateConfig($this->getName());
     $defaultLimit = $this->eventid != 0 ? $config['max_events'] : $config['count_events'];
     $this->limit = $jinput->getInt('limit', $defaultLimit);
     $this->limitstart = $jinput->getInt('limitstart', 0);
     $this->setOrder(JRequest::getVar('order', 'desc'));
 }
Exemple #8
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->divisionid = JLHelperFront::stringToInt($jinput->getString('division', 0));
     $this->mode = JLHelperFront::stringToInt($jinput->getString('mode', 0));
     $this->order = JLHelperFront::stringToInt($jinput->getString('order', 0));
     $round = JLHelperFront::stringToInt($jinput->getString('r', 0));
     $roundid = $round;
     if ($round > 0) {
         $roundid = $round;
     } else {
         $roundid = $this->getCurrentRound();
     }
     $this->roundid = $roundid;
     $this->config = $this->getTemplateConfig('results');
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->divisionid = JLHelperFront::stringToInt($jinput->getString('division', 0));
     $this->teamid = JLHelperFront::stringToInt($jinput->getString('tid', 0));
     $this->setStatid(JRequest::getVar('sid', 0));
     $config = $this->getTemplateConfig($this->getName());
     // TODO: the default value for limit should be updated when we know if there is more than 1 statistics type to be shown
     if ($this->stat_id != 0) {
         $this->limit = JRequest::getInt('limit', $config["max_stats"]);
     } else {
         $this->limit = JRequest::getInt('limit', $config["count_stats"]);
     }
     $this->limitstart = JRequest::getInt('limitstart', 0);
     $this->setOrder(JRequest::getVar('order'));
 }