src/snac/client/webui/WebUIExecutor.php
/**
     * Display API Help Page
     *
     * Fills the display with the API help information by reading the REST API's command
     * documentation.
     *
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display API Help Page
Fills the display with the API help information by reading the REST API's command
documentation.


Display API Help Page Fills the display with the API help information by reading the REST API ' s command documentation .
public function displayAPIHelpPage(&$display) {
        $commands = json_decode(file_get_contents(\snac\Config::$REST_COMMAND_FILE), true);
        $display->setTemplate("api_help_page");
        $display->setData([
            "restURL" => \snac\Config::$REST_URL,
            "commands" => $commands
        ]);
    }
public function displayAPIHelpPage ( & $ display ) { $ commands = json_decode ( file_get_contents ( \ snac \ Config :: $ REST_COMMAND_FILE ) , true ) ; $ display -> setTemplate ( " api_help_page " ) ; $ display -> setData ( [ " restURL " => \ snac \ Config :: $ REST_URL , " commands " => $ commands ] ) ; }
Display API Help Page
 Fills the display with the API help information by reading the REST API's command
 documentation.
Display API Help Page Fills the display with the API help information by reading the REST API ' s command documentation .