src/snac/client/webui/WebUIExecutor.php
/**
     * Query server for relations
     *
     * Asks the server for the relations (in- and out-edges) for the given id or ark
     * in the user input.  Returns the Server response directly, used by Javascript
     * on the client.
     *
     * @param string[] $input Post/Get inputs from the webui
     * @return string[] The web ui's response to the client (array ready for json_encode)
     */
Query server for relations
Asks the server for the relations (in- and out-edges) for the given id or ark
in the user input.  Returns the Server response directly, used by Javascript
on the client.

@param string[] $input Post/Get inputs from the webui
@return string[] The web ui's response to the client (array ready for json_encode)
Query server for relations Asks the server for the relations ( in - and out - edges ) for the given id or ark in the user input . Returns the Server response directly used by Javascript on the client . @param string [] $input Post / Get inputs from the webui @return string [] The web ui ' s response to the client ( array ready for json_encode )
public function performRelationsQuery(&$input) {
        $query = array();
        if (isset($input["constellationid"]))
            $query["constellationid"] = $input["constellationid"];
        if (isset($input["version"]))
            $query["version"] = $input["version"];
        if (isset($input["arkid"]))
            $query["arkid"] = $input["arkid"];
        $query["command"] = "constellation_read_relations";
        $this->logger->addDebug("Sending query to the server", $query);
        $serverResponse = $this->connect->query($query);
        $this->logger->addDebug("Received server response");
        return $serverResponse;
    }
public function performRelationsQuery ( & $ input ) { $ query = array ( ) ; if ( isset ( $ input [ " constellationid " ] ) ) $ query [ " constellationid " ] = $ input [ " constellationid " ] ; if ( isset ( $ input [ " version " ] ) ) $ query [ " version " ] = $ input [ " version " ] ; if ( isset ( $ input [ " arkid " ] ) ) $ query [ " arkid " ] = $ input [ " arkid " ] ; $ query [ " command " ] = " constellation_read_relations " ; $ this -> logger -> addDebug ( " Sending query to the server " , $ query ) ; $ serverResponse = $ this -> connect -> query ( $ query ) ; $ this -> logger -> addDebug ( " Received server response " ) ; return $ serverResponse ; }
Query server for relations
 Asks the server for the relations (in- and out-edges) for the given id or ark
 in the user input.
Query server for relations Asks the server for the relations ( in - and out - edges ) for the given id or ark in the user input .