/** * Constructor */ public function __construct() { parent::__construct(); if (validateSystemid($this->getSystemid())) { $this->loadElementData(); } }
public function __construct() { parent::__construct(); if ($this->getAction() == "list") { $this->setAction("login"); } }
/** * Constructor */ public function __construct() { parent::__construct(); $this->setStrLangBase("system"); if ($this->getAction() == "list") { $this->setAction("change"); } }
public function __construct() { $this->setArrModuleEntry("template", "/login.tpl"); parent::__construct(); if ($this->getAction() != "pwdReset" || $this->getAction() != "adminLogin" || $this->getAction() != "adminLogout") { $this->setAction("login"); } }
/** * @return array */ protected function getArrOutputNaviEntries() { $arrReturn = parent::getArrOutputNaviEntries(); if (isset($arrReturn[count($arrReturn) - 2])) { unset($arrReturn[count($arrReturn) - 2]); } return $arrReturn; }
/** * @param string $strSystemid */ public function __construct($strSystemid = "") { parent::__construct($strSystemid); if ($this->getParam("pe") == "1") { $this->strPeAddon = "&pe=1"; } if ($this->getParam("unlockid") != "") { $objLockmanager = new class_lockmanager($this->getParam("unlockid")); $objLockmanager->unlockRecord(true); } }
/** * Constructor */ public function __construct() { parent::__construct(); $intDateStart = class_carrier::getInstance()->getObjSession()->getSession(class_module_stats_admin::$STR_SESSION_KEY_DATE_START); //Start: first day of current month $this->objDateStart = new class_date(); $this->objDateStart->setTimeInOldStyle($intDateStart); //End: Current Day of month $intDateEnd = class_carrier::getInstance()->getObjSession()->getSession(class_module_stats_admin::$STR_SESSION_KEY_DATE_END); $this->objDateEnd = new class_date(); $this->objDateEnd->setTimeInOldStyle($intDateEnd); $this->intInterval = class_carrier::getInstance()->getObjSession()->getSession(class_module_stats_admin::$STR_SESSION_KEY_INTERVAL); }
/** * Constructor, doing nothing but a few inits */ public function __construct() { $this->setArrModuleEntry("template", "/folderview.tpl"); parent::__construct(); $this->setStrLangBase("mediamanager"); }
/** * Generates a path-navigation * * @return array */ protected function getArrOutputNaviEntries() { $arrEntries = class_admin_controller::getArrOutputNaviEntries(); $arrPath = $this->getPathArray(); array_shift($arrPath); foreach ($arrPath as $strOneSystemid) { $objPoint = class_objectfactory::getInstance()->getObject($strOneSystemid); $arrEntries[] = class_link::getLinkAdmin($this->getArrModule("modul"), "openFolder", "&systemid=" . $strOneSystemid, $objPoint->getStrDisplayName()); } return $arrEntries; }
protected function getQuickHelp() { $strOldAction = $this->getAction(); $this->setAction($this->getParam("action")); $strReturn = parent::getQuickHelp(); $this->setAction($strOldAction); return $strReturn; }