protected function createAuthUser() { if (!$this->existsVar(self::AUTH_USER)) { $authUser = Gpf::newObj(Gpf_Application::getInstance()->getAuthClass()); $this->authUser = $authUser->createAnonym(); $this->save($this->authUser); } else { $this->authUser = $this->getVar(self::AUTH_USER); } $this->authUser->init(); }
public function init() { $this->theme = ''; parent::init(); }