frontend/controllers/SiteController.php
/**
     * Renders Site Uptime page.
     *
     * @return mixed
     */
Renders Site Uptime page.
@return mixed
Renders Site Uptime page . @return mixed
public function actionUptime()
    {
        $title = $this->pages->getPageTitle($this->param);
        $meta = $this->pages->getPageMetaData($this->param);
        $hosts = $this->hosts->getAllHosts()->all();
        return $this->render('overviews',['hosts'=>$hosts,'meta'=>$meta,'title'=>$title]);
    }
public function actionUptime ( ) { $ title = $ this -> pages -> getPageTitle ( $ this -> param ) ; $ meta = $ this -> pages -> getPageMetaData ( $ this -> param ) ; $ hosts = $ this -> hosts -> getAllHosts ( ) -> all ( ) ; return $ this -> render ( 'overviews' , [ 'hosts' => $ hosts , 'meta' => $ meta , 'title' => $ title ] ) ; }
Renders Site Uptime page.
Renders Site Uptime page .