/** @return AclFactory */ public function f() { if ($this->_factory === null) { $this->_factory = AclFactory::get($this->app); } return $this->_factory; }
public function parseTask() { $f = AclFactory::get($this->app); $this->setResult($f->templates()->load($f->config()->loginTemplate, array('url' => $this->task->url, 'name' => $this->task->vars->get('name'), 'username' => $this->task->request->post->get('username'), 'error' => $this->task->request->method == 'POST'), $f->config()->baseTemplate)->content, null, ResponseCode::CODE_403); }
public function parseTask() { $f = AclFactory::get($this->app); $f->sessionData()->logout(); $this->setResult($f->templates()->load($f->config()->logoutTemplate, null, $f->config()->baseTemplate)->content); }