src/snac/client/webui/WebUIExecutor.php
/**
     * Start SNAC Session
     *
     * Calls to the server to start a new user's session
     *
     * @return boolean true on success, false otherwise
     */
Start SNAC Session
Calls to the server to start a new user's session

@return boolean true on success, false otherwise
Start SNAC Session Calls to the server to start a new user ' s session @return boolean true on success false otherwise
public function startSNACSession() {
        $query = array(
                "command" => "start_session"
                );
        $serverResponse = $this->connect->query($query);
        $this->logger->addDebug("Server Responded to starting session", array($serverResponse));
        if (isset($serverResponse["result"]) && $serverResponse["result"] == "success")
            return new \snac\data\User($serverResponse["user"]);
        return false;
    }
public function startSNACSession ( ) { $ query = array ( " command " => " start_session " ) ; $ serverResponse = $ this -> connect -> query ( $ query ) ; $ this -> logger -> addDebug ( " Server Responded to starting session " , array ( $ serverResponse ) ) ; if ( isset ( $ serverResponse [ " result " ] ) && $ serverResponse [ " result " ] == " success " ) return new \ snac \ data \ User ( $ serverResponse [ " user " ] ) ; return false ; }
Start SNAC Session
 Calls to the server to start a new user's session
Start SNAC Session Calls to the server to start a new user ' s session