src/snac/client/webui/WebUIExecutor.php
/**
     * Display Sent Messages
     *
     * Asks the server for user's sent messages, then loads the display with the message
     * center (message list) template and sets the message center viewSetting
     *
     * @param \snac\client\webui\display\Display $display The display object for page creation
     */
Display Sent Messages
Asks the server for user's sent messages, then loads the display with the message
center (message list) template and sets the message center viewSetting


Display Sent Messages Asks the server for user ' s sent messages then loads the display with the message center ( message list ) template and sets the message center viewSetting
public function displaySentMessages(&$display) {
        $ask = array("command" => "sent_messages");
        $serverResponse = $this->connect->query($ask);
        if (!isset($serverResponse["result"]) || $serverResponse["result"] !== "success")
            return $this->drawErrorPage($serverResponse, $display);
        $data = $serverResponse + ["viewSetting" => "sent"];
        $display->setData($data);
        $display->setTemplate("message_list");
    }
public function displaySentMessages ( & $ display ) { $ ask = array ( " command " => " sent_messages " ) ; $ serverResponse = $ this -> connect -> query ( $ ask ) ; if ( ! isset ( $ serverResponse [ " result " ] ) || $ serverResponse [ " result " ] !== " success " ) return $ this -> drawErrorPage ( $ serverResponse , $ display ) ; $ data = $ serverResponse + [ " viewSetting " => " sent " ] ; $ display -> setData ( $ data ) ; $ display -> setTemplate ( " message_list " ) ; }
Display Sent Messages
 Asks the server for user's sent messages, then loads the display with the message
 center (message list) template and sets the message center viewSetting
Display Sent Messages Asks the server for user ' s sent messages then loads the display with the message center ( message list ) template and sets the message center viewSetting