function __construct() { parent::__construct(); global $mainframe, $option; $limit = 130; $this->setState('limit', $limit); }
function __construct() { $mainframe =& JFactory::getApplication(); parent::__construct(); $prediction_id = $mainframe->getUserState('com_joomleague' . 'prediction_id', 0); $this->set('_prediction_id', $prediction_id); }
public function __construct() { $app = JFactory::getApplication(); parent::__construct(); $project_id = $app->getUserState('com_joomleague' . 'project', 0); $this->set('_project_id', $project_id); $this->set('_getALL', 0); }
function __construct() { parent::__construct(); $option = 'com_joomleague'; $mainframe =& JFactory::getApplication(); $params =& JComponentHelper::getParams('com_joomleague'); $defaultorder_dir = $params->get('cfg_be_show_matchdays_order', ''); $filter_order = $mainframe->getUserStateFromRequest($option . 'rounds_filter_order', 'filter_order', 'r.roundcode', 'cmd'); $filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'rounds__filter_order_Dir', 'filter_order_Dir', $defaultorder_dir, 'word'); $this->setState('filter_order', $filter_order); $this->setState('filter_order_Dir', $filter_order_Dir); }
function __construct() { parent::__construct(); $limit = 130; $this->setState('limit', $limit); }