public function initialize() { parent::initialize(); if (!$this->isAjax()) { $sess = $this->getOperator(); $this->view->setVars(['_sess' => $sess]); } }
public function initialize() { parent::initialize(); if ($this->isLogin() and !$this->isAjax()) { $this->view->setVars(['_operator' => self::operator()]); } /* $this->view->setVars([ 'advise' => Advise::getAdvisesByOid($this->getOperatorId()) ]); */ }
public function __construct() { parent::__construct(); }
public function beforeExecuteRoute() { $this->checkLoggedIn = FALSE; return parent::beforeExecuteRoute(); }
public function beforeExecuteRoute() { $this->checkLoggedIn = FALSE; $this->responseMode = 'api'; parent::beforeExecuteRoute(); }
public function __construct() { $this->dbh = Environment::get_dbh(); parent::__construct(); }
public function beforeExecuteRoute() { $this->responseMode = 'api'; parent::beforeExecuteRoute(); }
public function beforeExecuteRoute() { return parent::beforeExecuteRoute(); }