src/snac/client/webui/WebUIExecutor.php
/**
     * Display API Test Page
     *
     * Fills the display with the API test interface to allow the user to test out the API
     * calls in-browser.
     *
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display API Test Page
Fills the display with the API test interface to allow the user to test out the API
calls in-browser.


Display API Test Page Fills the display with the API test interface to allow the user to test out the API calls in - browser .
public function displayAPITestPage(&$display) {
        $commands = json_decode(file_get_contents(\snac\Config::$REST_COMMAND_FILE), true);
        $display->setTemplate("api_test_page");
        $display->setData([
            "restURL" => \snac\Config::$REST_URL,
            "commands" => $commands
        ]);
    }
public function displayAPITestPage ( & $ display ) { $ commands = json_decode ( file_get_contents ( \ snac \ Config :: $ REST_COMMAND_FILE ) , true ) ; $ display -> setTemplate ( " api_test_page " ) ; $ display -> setData ( [ " restURL " => \ snac \ Config :: $ REST_URL , " commands " => $ commands ] ) ; }
Display API Test Page
 Fills the display with the API test interface to allow the user to test out the API
 calls in-browser.
Display API Test Page Fills the display with the API test interface to allow the user to test out the API calls in - browser .