[null, ['type' => 'Admin_']], Obj::TYPE_STAFF => [null, ['type' => 'Company\\Admin\\']], ]; protected $_loginPageQuery = [null, ['type' => 'Admin_Login_']]; protected $_role = 'admin'; public static function getInstance() { if (null === self::$_instance) { self::$_instance = new self(); } return self::$_instance; } public function getSuMode() { return (bool) $this->getSessionValue('suModeEnabled'); } public function setSuMode($flag = true) { $this->setSessionValue('suModeEnabled', (bool) $flag); } public function getDefaultBackPageQuery() { return Qs_Array::get($this->_defaultBackPageQuery, $this->getData('type')); } }