src/snac/client/webui/WebUIExecutor.php
/**
     * Display Stats Page
     *
     * Displays overall stats for SNAC
     *
     * @param string[] $input Post/Get inputs from the webui
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display Stats Page
Displays overall stats for SNAC


Display Stats Page Displays overall stats for SNAC
public function displayStatsPage(&$input, &$display) {
        $ask = array(
            "command"=>"stats"
        );
        $serverResponse = $this->connect->query($ask);
        if (!isset($serverResponse["result"]) || $serverResponse["result"] != 'success')
            return $this->drawErrorPage($serverResponse, $display);
        $display->setData($serverResponse);
        $display->setTemplate("stats");
        return true;
    }
public function displayStatsPage ( & $ input , & $ display ) { $ ask = array ( " command " => " stats " ) ; $ serverResponse = $ this -> connect -> query ( $ ask ) ; if ( ! isset ( $ serverResponse [ " result " ] ) || $ serverResponse [ " result " ] != 'success' ) return $ this -> drawErrorPage ( $ serverResponse , $ display ) ; $ display -> setData ( $ serverResponse ) ; $ display -> setTemplate ( " stats " ) ; return true ; }
Display Stats Page
 Displays overall stats for SNAC
Display Stats Page Displays overall stats for SNAC