UDM_GET_RES_PARAM(3) 1 UDM_GET_RES_PARAM(3)
udm_get_res_param - Get mnoGoSearch result parameters
SYNOPSIS
string udm_get_res_param (resource $res, int $param)
DESCRIPTION
Gets the mnoGoSearch result parameters.
PARAMETERS
o $res
-$res - a link to result identifier, received after call to udm_find(3).
o $param
-$param - parameter identifier, may have the following values:
o UDM_PARAM_NUM_ROWS - number of received found links on the current page. It is equal to UDM_PARAM_PAGE_SIZE for all search
pages, on the last page - the rest of links.
o UDM_PARAM_FOUND - total number of results matching the query.
o UDM_PARAM_WORDINFO - information on the words found. E.g. search for "a good book" will return "a: stopword, good:5637,
book: 120"
o UDM_PARAM_SEARCHTIME - search time in seconds.
o UDM_PARAM_FIRST_DOC - the number of the first document displayed on current page.
o UDM_PARAM_LAST_DOC - the number of the last document displayed on current page.
RETURN VALUES
udm_get_res_param(3) returns result parameter value on success, FALSE on error.
PHP Documentation Group UDM_GET_RES_PARAM(3)