protected function Init()
    {
        $this->layout = new Layout(Request::GetData('layout'));
        if (!$this->layout->Exists())
        {
            Response::Redirect(BackendRouter::ModuleUrl(new LayoutList()));
            return true;
        }
        $this->listProvider = new AreaListProvider($this->layout);
        
        $this->area = $this->listProvider->TopMost();
        $this->hasAreas = (bool) $this->area;
        return parent::Init();
    }
protected function Init()
    {
        $this->layout = new Layout(Request::GetData('layout'));
        if (!$this->layout->Exists())
        {
            Response::Redirect(BackendRouter::ModuleUrl(new LayoutList()));
            return true;
        }
        $this->listProvider = new AreaListProvider($this->layout);
        
        $this->area = $this->listProvider->TopMost();
        $this->hasAreas = (bool) $this->area;
        return parent::Init();
    }
protected function Init ( ) { $ this -> layout = new Layout ( Request :: GetData ( 'layout' ) ) ; if ( ! $ this -> layout -> Exists ( ) ) { Response :: Redirect ( BackendRouter :: ModuleUrl ( new LayoutList ( ) ) ) ; return true ; } $ this -> listProvider = new AreaListProvider ( $ this -> layout ) ; $ this -> area = $ this -> listProvider -> TopMost ( ) ; $ this -> hasAreas = ( bool ) $ this -> area ; return parent :: Init ( ) ; }
Initializes the list
@return boolean
Initializes the list