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 ibm db2 函数 returns a result set listing the foreign keys for a tablephp ibm db2 函数 returns a result set listing stored procedure parametersphp firebird/interbase 函数 assigns a name to a result setphp maxdb 函数 adjusts the result pointer to an arbitary row in the resultphp maxdb 函数 returns an array of resources representing the fields in a result setphp maxdb 函数 returns result set metadata from a prepared statementphp msql 函数 get number of fields in resultphp mssql 函数 fetch a result row as an associative array a numeric array or bothphp 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 sqlite 函数 returns the number of fields in a result setphp mnogosearch 函数 check if the given charset is known to mnogosearchphp mnogosearch 函数 free mnogosearch resultphp mnogosearch 函数 fetch a result fieldphp mnogosearch 函数 get mnogosearch result parametersphp mnogosearch 函数 set mnogosearch agent session parametersphp com 函数 converts variants to integers and then returns the result from dividing themphp yaz 函数 returns scan response result
关注编程学问公众号