Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt("p", 0);
     $this->teamid = JRequest::getInt("tid", 0);
     $this->getTeam();
 }
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->personid = JRequest::getInt('pid', 0);
     $this->teamplayerid = JRequest::getInt('pt', 0);
 }
Пример #3
0
 public function __construct()
 {
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->matchid = JLHelperFront::stringToInt($jinput->getInt('mid', 0));
     parent::__construct();
 }
Пример #4
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->teamid = JRequest::getInt('tid', 0);
     $this->projectteamid = JRequest::getInt('ttid', 0);
     $this->getProjectTeam();
 }
Пример #5
0
 function __construct()
 {
     parent::__construct();
     $this->clubid = JRequest::getInt("cid", 0);
     $this->project_id = JRequest::getInt("p", 0);
     $this->setStartDate(JRequest::getVar("startdate", $this->startdate, 'request', 'string'));
     $this->setEndDate(JRequest::getVar("enddate", $this->enddate, 'request', 'string'));
 }
Пример #6
0
 public function __construct()
 {
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = $jinput->getInt("p", 0);
     $this->divisionid = $jinput->getInt("division", 0);
     parent::__construct();
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getString('p', 0));
     $this->clubid = JLHelperFront::stringToInt($jinput->getString('cid', 0));
 }
Пример #8
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->teamid = JRequest::getInt('teamid', 0);
     $this->divisionid = JRequest::getInt('division', 0);
     $this->playgroundid = JRequest::getInt('pgid', 0);
 }
Пример #9
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->teamid = JRequest::getInt('tid', 0);
     $this->divisionid = JRequest::getInt('division', 0);
     $this->mode = JRequest::getInt("mode", 0);
 }
Пример #10
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->divisionid = $jinput->getInt('division', 0);
     $this->roundid = $jinput->getInt('r', 0);
 }
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt("p", 0);
     $this->matchid = JRequest::getInt("mid", 0);
     $this->showpics = JRequest::getInt("pics", 0);
     $this->projectteamid = JRequest::getInt("ptid", 0);
     $this->getSpecifiedMatch($this->projectid, $this->projectteamid, $this->matchid);
 }
Пример #12
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();
 }
Пример #13
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt("p", 0);
     $this->divisionid = JRequest::getInt("division", 0);
     $this->teamid = JRequest::getInt("tid", 0);
     $this->matchid = JRequest::getInt("mid", 0);
     $this->getSpecifiedMatch($this->projectid, $this->divisionid, $this->teamid, $this->matchid);
 }
Пример #14
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->division = JRequest::getInt('division', 0);
     $this->teamid1 = JRequest::getInt('tid1', 0);
     $this->teamid2 = JRequest::getInt('tid2', 0);
     $this->both = JRequest::getInt('both', 0);
     $this->determineTeam1And2();
 }
Пример #15
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = $jinput->getInt('p', 0);
     $this->teamid = $jinput->getInt('teamid', 0);
     $this->divisionid = $jinput->getInt('division', 0);
     $this->playgroundid = $jinput->getInt('pgid', 0);
 }
Пример #16
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'));
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = JLHelperFront::stringToInt($jinput->getInt('p', 0));
     $this->teamid = JLHelperFront::stringToInt($jinput->getInt('tid', 0));
     //preload the team;
     $this->getTeam();
 }
Пример #18
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);
 }
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->matchid = JRequest::getInt('mid', 0);
     $this->eventid = JRequest::getInt('e', 0);
     $this->team1_id = 0;
     $this->team2_id = 0;
     $this->projectteam1_id = 0;
     $this->projectteam2_id = 0;
 }
Пример #20
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt("p", 0);
     $this->round = JRequest::getInt("r", $this->getCurrentRound());
     $this->part = JRequest::getInt("part", 0);
     $this->from = JRequest::getInt('from', $this->round);
     $this->to = JRequest::getInt('to', $this->round);
     $this->type = JRequest::getInt('type', 0);
     $this->last = JRequest::getInt('last', 0);
     $this->selDivision = JRequest::getInt('division', 0);
 }
Пример #21
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();
 }
 function __construct()
 {
     $this->projectid = JRequest::getInt("p", 0);
     $this->round = JRequest::getInt("r", $this->current_round);
     $this->part = JRequest::getInt("part", 0);
     $this->from = JRequest::getInt('from', $this->round);
     $this->to = JRequest::getInt('to', $this->round);
     $this->type = JRequest::getInt('type', 0);
     $this->last = JRequest::getInt('last', 0);
     $this->viewName = JRequest::getVar("view");
     $this->selDivision = JRequest::getInt('division', 0);
     parent::__construct();
 }
Пример #23
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));
 }
Пример #24
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->divisionid = JRequest::getInt('division', 0);
     $this->teamid = JRequest::getInt('tid', 0);
     $this->setEventid(JRequest::getVar('evid', '0'));
     $this->matchid = JRequest::getInt('mid', 0);
     $config = $this->getTemplateConfig($this->getName());
     $defaultLimit = $this->eventid != 0 ? $config['max_events'] : $config['count_events'];
     $this->limit = JRequest::getInt('limit', $defaultLimit);
     $this->limitstart = JRequest::getInt('limitstart', 0);
     $this->setOrder(JRequest::getVar('order', 'desc'));
 }
 function __construct()
 {
     parent::__construct();
     $this->divisionid = JRequest::getInt('division', 0);
     $this->mode = JRequest::getInt('mode', 0);
     $this->order = JRequest::getInt('order', 0);
     $round = JRequest::getInt('r', -1);
     $roundid = $round;
     if ($round) {
         $roundid = $round;
     } else {
         $roundid = $this->getCurrentRound();
     }
     $this->roundid = $roundid;
     $this->config = $this->getTemplateConfig('results');
 }
Пример #26
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'));
 }
Пример #27
0
 function __construct()
 {
     parent::__construct();
     $this->projectid = JRequest::getInt('p', 0);
     $this->divisionid = JRequest::getInt('division', 0);
     $this->teamid = JRequest::getInt('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'));
 }
Пример #28
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');
 }
Пример #29
0
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $this->projectid = $jinput->getInt('p', 0);
     // Project-id
     if ($this->projectid) {
         # is the / within the string?
         if (strpos($this->projectid, ':') !== false) {
             $arr = explode(":", $this->projectid, 2);
             $this->projectid = $arr[0];
         }
     }
     $this->teamid = $jinput->getInt('tid', 0);
     // Team-id
     if ($this->projectid) {
         # is the / within the string?
         if (strpos($this->projectid, ':') !== false) {
             $arr = explode(":", $this->projectid, 2);
             $this->projectid = $arr[0];
         }
     }
     $this->divisionid = $jinput->getInt('division', 0);
     // Division-id
     if ($this->divisionid) {
         # is the / within the string?
         if (strpos($this->divisionid, ':') !== false) {
             $arr = explode(":", $this->divisionid, 2);
             $this->divisionid = $arr[0];
         }
     }
     $this->mode = $jinput->getInt("mode", 0);
     // Mode
     if ($this->mode) {
         # is the / within the string?
         if (strpos($this->mode, ':') !== false) {
             $arr = explode(":", $this->mode, 2);
             $this->mode = $arr[0];
         }
     }
 }
 function __construct()
 {
     $this->projectid = JRequest::getInt("p", 0);
     $menu =& JMenu::getInstance('site');
     $item = $menu->getActive();
     $params =& $menu->getParams($item->id);
     $registry = new JRegistry();
     $registry->loadArray($params);
     //$newparams = $registry->toString('ini');
     $newparams = $registry->toArray();
     //echo "<b>menue newparams</b><pre>" . print_r($newparams, true) . "</pre>";
     foreach ($newparams['data'] as $key => $value) {
         $this->_params[$key] = $value;
     }
     // 		$this->round = JRequest::getInt( "r", $this->current_round);
     // 		$this->part  = JRequest::getInt( "part", 0);
     // 		$this->from  = JRequest::getInt( 'from', $this->round );
     // 		$this->to	 = JRequest::getInt( 'to', $this->round);
     // 		$this->type  = JRequest::getInt( 'type', 0 );
     // 		$this->last  = JRequest::getInt( 'last', 0 );
     // 		$this->selDivision = JRequest::getInt( 'division', 0 );
     parent::__construct();
 }