コード例 #1
0
ファイル: day.php プロジェクト: JKoelman/JEM-3
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $app = JFactory::getApplication();
     $jemsettings = JemHelper::config();
     $jinput = JFactory::getApplication()->input;
     $rawday = $jinput->getInt('id', null);
     $this->setDate($rawday);
 }
コード例 #2
0
ファイル: venue.php プロジェクト: JKoelman/JEM-3
 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();
 }
コード例 #3
0
 /**
  * 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();
 }
コード例 #4
0
ファイル: categorycal.php プロジェクト: BillVGN/PortalPRP
	/**
	 * 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();
	}
コード例 #5
0
ファイル: category.php プロジェクト: JKoelman/JEM-3
 /**
  * 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();
 }
コード例 #6
0
ファイル: weekcal.php プロジェクト: JKoelman/JEM-3
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }
コード例 #7
0
ファイル: calendar.php プロジェクト: JKoelman/JEM-3
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->setdate(time());
     parent::__construct();
 }
コード例 #8
0
ファイル: myattendances.php プロジェクト: JKoelman/JEM-3
 /**
  * Constructor
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
 }