frontend/controllers/UserController.php
/**
     * Displays overviews page.
     *
     * @return mixed
     */
Displays overviews page.
@return mixed
Displays overviews page . @return mixed
public function actionOverviews(){
        $title = $this->pages->getPageTitle($this->param);
        $meta = $this->pages->getPageMetaData($this->param);
        $this->layout = 'site';
        $hosts = $this->hosts->getAllHosts()->all();
        return $this->render('overviews',['hosts'=>$hosts,'title'=>$title,'meta'=>$meta]);
    }
public function actionOverviews ( ) { $ title = $ this -> pages -> getPageTitle ( $ this -> param ) ; $ meta = $ this -> pages -> getPageMetaData ( $ this -> param ) ; $ this -> layout = 'site' ; $ hosts = $ this -> hosts -> getAllHosts ( ) -> all ( ) ; return $ this -> render ( 'overviews' , [ 'hosts' => $ hosts , 'title' => $ title , 'meta' => $ meta ] ) ; }
Displays overviews page.
Displays overviews page .