/** * Constructor */ public function __construct() { parent::__construct(); $app = JFactory::getApplication(); $jemsettings = JemHelper::config(); $jinput = JFactory::getApplication()->input; $rawday = $jinput->getInt('id', null); $this->setDate($rawday); }
public function __construct() { $app = JFactory::getApplication(); $jinput = $app->input; $params = $app->getParams(); # determing the id to load if ($jinput->getInt('id', null)) { $id = $jinput->getInt('id', null); } else { $id = $params->get('id'); } $this->setId((int) $id); parent::__construct(); }
/** * Constructor */ public function __construct() { $app = JFactory::getApplication(); $jemsettings = JEMHelper::config(); $itemid = $app->input->getInt('id', 0) . ':' . $app->input->getInt('Itemid', 0); // Get the parameters of the active menu item $params = $app->getParams(); $id = $app->input->getInt('id', 0); if (empty($id)) { $id = $params->get('id', 1); } $this->setId((int) $id); parent::__construct(); }
/** * Constructor */ public function __construct() { $app = JFactory::getApplication(); $jemsettings = JEMHelper::config(); $jinput = $app->input; $params = $app->getParams(); $id = $jinput->getInt('id', 0); if (empty($id)) { $id = $params->get('id', 0); } $this->setdate(time()); $this->setId((int)$id); parent::__construct(); }
/** * Constructor */ public function __construct() { if (empty($config['filter_fields'])) { $config['filter_fields'] = array('id', 'a.id', 'title', 'a.title', 'dates', 'a.dates', 'times', 'a.times', 'alias', 'a.alias', 'venue', 'l.venue', 'venue_title', 'city', 'l.city', 'venue_city'); } $app = JFactory::getApplication(); $jinput = JFactory::getApplication()->input; $jemsettings = JEMHelper::config(); $itemid = $jinput->getInt('id', 0) . ':' . $jinput->getInt('Itemid', 0); // Get the parameters of the active menu item $params = $app->getParams(); if ($jinput->getInt('id')) { $id = $jinput->getInt('id'); } else { $id = $params->get('id', 1); } $this->setId((int) $id); parent::__construct(); }
/** * Constructor */ public function __construct() { parent::__construct(); }
/** * Constructor */ public function __construct() { $this->setdate(time()); parent::__construct(); }
/** * Constructor */ public function __construct($config = array()) { parent::__construct($config); }