src/snac/client/webui/WebUIExecutor.php
/**
     * Display Split Choice Page
     *
     * Loads the display with the split choice page.  This page is used when there are multiple
     * Constellations returned by the server for any given single id/ark.  The user in that case
     * must choose which Constellation to view.
     *
     * @param string[] $serverResponse The server response (associative array) containing multiple constellations
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display Split Choice Page
Loads the display with the split choice page.  This page is used when there are multiple
Constellations returned by the server for any given single id/ark.  The user in that case
must choose which Constellation to view.


Display Split Choice Page Loads the display with the split choice page . This page is used when there are multiple Constellations returned by the server for any given single id / ark . The user in that case must choose which Constellation to view .
public function displaySplitChoicePage(&$serverResponse, &$display) {
        $display->setTemplate("split_choice_page");
        if ($serverResponse["result"] == "success-notice") {
            $message = $serverResponse["message"];
        }
        $this->logger->addDebug("Setting constellation data into the page template");
        $display->setData(
            array(
                "constellations" => $serverResponse["constellation"],
                "message" => $message
            )
        );
    }
public function displaySplitChoicePage ( & $ serverResponse , & $ display ) { $ display -> setTemplate ( " split_choice_page " ) ; if ( $ serverResponse [ " result " ] == " success-notice " ) { $ message = $ serverResponse [ " message " ] ; } $ this -> logger -> addDebug ( " Setting constellation data into the page template " ) ; $ display -> setData ( array ( " constellations " => $ serverResponse [ " constellation " ] , " message " => $ message ) ) ; }
Display Split Choice Page
 Loads the display with the split choice page.
Display Split Choice Page Loads the display with the split choice page .
// Check for a mesage