public function before() { $this->isAjax = true; parent::before(); if (empty($_SESSION['uid'])) { $this->echoJson(false, "invalid uid"); } $this->uid = $_SESSION['uid']; }
public function before() { parent::before(); // -- Set the Company // ------------------ $this->_company = \Input::post('company'); // -- Client ID // ------------ $this->_clientID = (int) \Input::post('clientID'); $this->_setDatabases(); }