Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 10271

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>udm_get_res_param</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="mnoGoSearch Functions"
HREF="ref.mnogosearch.html"><LINK
REL="PREVIOUS"
TITLE="udm_get_res_field"
HREF="function.udm-get-res-field.html"><LINK
REL="NEXT"
TITLE="udm_hash32"
HREF="function.udm-hash32.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.udm-get-res-field.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.udm-hash32.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.udm-get-res-param"
></A
>udm_get_res_param</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN127472"
></A
><P
>    (PHP 4 &#62;= 4.0.5, PHP 5 &#60;= 5.0.4)</P
>udm_get_res_param&nbsp;--&nbsp;Get mnoGoSearch result parameters</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN127475"
></A
><H2
>Description</H2
>string <B
CLASS="methodname"
>udm_get_res_param</B
> ( resource res, int param )<BR
></BR
><P
>&#13;    <B
CLASS="function"
>udm_get_res_param()</B
> returns result parameter value on 
    success, <TT
CLASS="constant"
><B
>FALSE</B
></TT
> on error.
   </P
><P
>&#13;    <CODE
CLASS="parameter"
>res</CODE
> - a link to result identifier, received after 
    call to <A
HREF="function.udm-find.html"
><B
CLASS="function"
>udm_find()</B
></A
>.
   </P
><P
>&#13;    <CODE
CLASS="parameter"
>param</CODE
> - parameter identifier, may have the following values:
   </P
><P
></P
><UL
><LI
><P
>&#13;      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.
     </P
></LI
><LI
><P
>&#13;      UDM_PARAM_FOUND - total number of results matching the query.
     </P
></LI
><LI
><P
>&#13;      UDM_PARAM_WORDINFO - information on the words found. E.g. search for 
      "a good book" will return "a: stopword, good:5637, book: 120"
     </P
></LI
><LI
><P
>&#13;      UDM_PARAM_SEARCHTIME - search time in seconds.
     </P
></LI
><LI
><P
>&#13;      UDM_PARAM_FIRST_DOC - the number of the first document displayed on current page.
     </P
></LI
><LI
><P
>&#13;      UDM_PARAM_LAST_DOC - the number of the last document displayed on current page.
     </P
></LI
></UL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.udm-get-res-field.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.udm-hash32.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>udm_get_res_field</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.mnogosearch.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>udm_hash32</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>