udm_get_res_param

(PHP 4 >= 4.0.5, PHP 5 < 5.1.0, PECL mnogosearch >= 1.0.0)

udm_get_res_paramGet mnoGoSearch result parameters

说明

udm_get_res_param ( resource $res , int $param ) : string

Gets the mnoGoSearch result parameters.

参数

res

res - a link to result identifier, received after call to udm_find().

param

param - parameter identifier, may have the following values:

  • 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.
  • UDM_PARAM_FOUND - total number of results matching the query.
  • UDM_PARAM_WORDINFO - information on the words found. E.g. search for "a good book" will return "a: stopword, good:5637, book: 120"
  • UDM_PARAM_SEARCHTIME - search time in seconds.
  • UDM_PARAM_FIRST_DOC - the number of the first document displayed on current page.
  • UDM_PARAM_LAST_DOC - the number of the last document displayed on current page.

返回值

udm_get_res_param() returns result parameter value on success, FALSE on error.

相关文章
php cubrid mysql 兼容性函数 move the internal row pointer of the cubrid resultphp cubrid 函数 fetch the next row from a result setphp ibm db2 函数 returns the width of the current value of the indicated column in a result setphp ibm db2 函数 returns a result set listing stored procedure parametersphp ibm db2 函数 returns a single column from a row in the result setphp frontbase 函数 get the flags associated with the specified field in a resultphp ldap 函数 get all result entriesphp ldap 函数 parse result object from an ldap extended operationphp maxdb 函数 returns the next field in the result setphp 别名和过时的 mysqli 函数 mysqli stmt bind result 的别名php postgresql 函数 sends a request to execute a prepared statement with given parameters and waits for the resultphp postgresql 函数 submits a command to the server and waits for the result with the ability to pass parameters separately from the sql command textphp postgresql 函数 sends a request to execute a prepared statement with given parameters without waiting for the result s php postgresql 函数 submits a command and separate parameters to the server without waiting for the result s php sybase 函数 get field information from a resultphp mnogosearch 函数 get the path to the current categoryphp mnogosearch 函数 free mnogosearch resultphp mnogosearch 函数 fetch a result fieldphp mnogosearch 函数 get mnogosearch result parametersphp mnogosearch 函数 set mnogosearch agent session parameters
关注编程学问公众号