protected function controlAccessRestrictedArea()
    {
        if (($this->is_backend || $this->url->isAccount()) && empty($this->uid)) {
            $this->url->redirect('login', array('target' => $this->path));
        }
    }
protected function controlAccessRestrictedArea()
    {
        if (($this->is_backend || $this->url->isAccount()) && empty($this->uid)) {
            $this->url->redirect('login', array('target' => $this->path));
        }
    }
protected function controlAccessRestrictedArea ( ) { if ( ( $ this -> is_backend || $ this -> url -> isAccount ( ) ) && empty ( $ this -> uid ) ) { $ this -> url -> redirect ( 'login' , array ( 'target' => $ this -> path ) ) ; } }
Controls access to restricted areas
Controls access to restricted areas