src/snac/client/webui/WebUIExecutor.php
/**
     * Read Vocabulary Term
     *
     * Asks the server for the controlled vocabulary term information.
     *
     * @param string[] $input Post/Get inputs from the webui
     * @return string[] The server's response with the vocabulary for the given term id
     */
Read Vocabulary Term
Asks the server for the controlled vocabulary term information.

@param string[] $input Post/Get inputs from the webui
@return string[] The server's response with the vocabulary for the given term id
Read Vocabulary Term Asks the server for the controlled vocabulary term information . @param string [] $input Post / Get inputs from the webui @return string [] The server ' s response with the vocabulary for the given term id
public function readVocabulary(&$input) {
        if (!isset($input["type"]) || !isset($input["id"])) {
            return array ("result" => "failure");
        }
        $serverResponse = $this->connect->query(array(
            "command" => "read_vocabulary",
            "type" => $input["type"],
            "term_id" => $input["id"]
        ));
        return $serverResponse;
    }
public function readVocabulary ( & $ input ) { if ( ! isset ( $ input [ " type " ] ) || ! isset ( $ input [ " id " ] ) ) { return array ( " result " => " failure " ) ; } $ serverResponse = $ this -> connect -> query ( array ( " command " => " read_vocabulary " , " type " => $ input [ " type " ] , " term_id " => $ input [ " id " ] ) ) ; return $ serverResponse ; }
Read Vocabulary Term
 Asks the server for the controlled vocabulary term information.
Read Vocabulary Term Asks the server for the controlled vocabulary term information .