src/snac/client/webui/WebUIExecutor.php
/**
     * Perform Browse Search
     *
     * Performs the browsing search for the browse page, returning the list
     * to be displayed to the user.
     *
     * @param string[] $input Post/Get inputs from the webui
     * @return string[] The web ui's response to the client (array ready for json_encode)
     */
Perform Browse Search
Performs the browsing search for the browse page, returning the list
to be displayed to the user.

@param string[] $input Post/Get inputs from the webui
@return string[] The web ui's response to the client (array ready for json_encode)
Perform Browse Search Performs the browsing search for the browse page returning the list to be displayed to the user . @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 performBrowseSearch(&$input) {
        $term = "";
        $position = "middle";
        $entityType = "";
        $icid = 0;
        if (isset($input["entity_type"]))
            $entityType = $input["entity_type"];
        if (isset($input["position"]))
            $position = $input["position"];
        if (isset($input["term"]))
            $term = $input["term"];
        if (isset($input["ic_id"]))
            $icid = $input["ic_id"];
        $query = array(
            "command" => "browse",
            "term" => $term,
            "entity_type" => $entityType,
            "position" => $position,
            "icid" => $icid
        );
        $serverResponse = $this->connect->query($query);
        return $serverResponse;
    }
public function performBrowseSearch ( & $ input ) { $ term = " " ; $ position = " middle " ; $ entityType = " " ; $ icid = 0 ; if ( isset ( $ input [ " entity_type " ] ) ) $ entityType = $ input [ " entity_type " ] ; if ( isset ( $ input [ " position " ] ) ) $ position = $ input [ " position " ] ; if ( isset ( $ input [ " term " ] ) ) $ term = $ input [ " term " ] ; if ( isset ( $ input [ " ic_id " ] ) ) $ icid = $ input [ " ic_id " ] ; $ query = array ( " command " => " browse " , " term " => $ term , " entity_type " => $ entityType , " position " => $ position , " icid " => $ icid ) ; $ serverResponse = $ this -> connect -> query ( $ query ) ; return $ serverResponse ; }
Perform Browse Search
 Performs the browsing search for the browse page, returning the list
 to be displayed to the user.
Perform Browse Search Performs the browsing search for the browse page returning the list to be displayed to the user .
// Query the server for the elastic search results