src/snac/client/webui/WebUIExecutor.php
/**
     * Display Message Center
     *
     * Loads the display with the message center (message list) template.  It also asks
     * the server for the list of unread messages for the current user.
     *
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display Message Center
Loads the display with the message center (message list) template.  It also asks
the server for the list of unread messages for the current user.


Display Message Center Loads the display with the message center ( message list ) template . It also asks the server for the list of unread messages for the current user .
public function displayMessageListPage(&$display) {
        $ask = array("command"=>"user_messages");
        $serverResponse = $this->connect->query($ask);
        if (!isset($serverResponse["result"]) || $serverResponse["result"] != 'success')
            return $this->drawErrorPage($serverResponse, $display);
        $data = $serverResponse + ["viewSetting" => "inbox"];
        $display->setData($data);
        $display->setTemplate("message_list");
    }
public function displayMessageListPage ( & $ display ) { $ ask = array ( " command " => " user_messages " ) ; $ serverResponse = $ this -> connect -> query ( $ ask ) ; if ( ! isset ( $ serverResponse [ " result " ] ) || $ serverResponse [ " result " ] != 'success' ) return $ this -> drawErrorPage ( $ serverResponse , $ display ) ; $ data = $ serverResponse + [ " viewSetting " => " inbox " ] ; $ display -> setData ( $ data ) ; $ display -> setTemplate ( " message_list " ) ; }
Display Message Center
 Loads the display with the message center (message list) template.
Display Message Center Loads the display with the message center ( message list ) template .