Sophie

Sophie

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

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_field</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_doc_count"
HREF="function.udm-get-doc-count.html"><LINK
REL="NEXT"
TITLE="udm_get_res_param"
HREF="function.udm-get-res-param.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-doc-count.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.udm-get-res-param.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.udm-get-res-field"
></A
>udm_get_res_field</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN127415"
></A
><P
>    (PHP 4 &#62;= 4.0.5, PHP 5 &#60;= 5.0.4)</P
>udm_get_res_field&nbsp;--&nbsp;Fetch mnoGoSearch result field</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN127418"
></A
><H2
>Description</H2
>string <B
CLASS="methodname"
>udm_get_res_field</B
> ( resource res, int row, int field )<BR
></BR
><P
>&#13;    <B
CLASS="function"
>udm_get_res_field()</B
> returns result field 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"
>row</CODE
> - the number of the link on the current page. 
    May have values from 0 to
    <CODE
CLASS="parameter"
>UDM_PARAM_NUM_ROWS-1</CODE
>.
   </P
><P
>&#13;    <CODE
CLASS="parameter"
>field</CODE
> - field identifier, may have the following values:
   </P
><P
></P
><UL
><LI
><P
>&#13;      UDM_FIELD_URL - document URL field
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_CONTENT - document Content-type field (for example, text/html).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_CATEGORY - document category field. Use 
      <A
HREF="function.udm-cat-path.html"
><B
CLASS="function"
>udm_cat_path()</B
></A
> to get full path to current category 
      from the categories tree root. (This parameter is available only in PHP 
      4.0.6 or later).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_TITLE - document title field.
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_KEYWORDS - document keywords field (from META KEYWORDS tag).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_DESC - document description field (from META DESCRIPTION tag).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_TEXT - document body text (the first couple of lines to give an 
      idea of what the document is about).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_SIZE - document size.
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_URLID - unique URL ID of the link.
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_RATING  - page rating (as calculated by mnoGoSearch).
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_MODIFIED - last-modified field in unixtime format.
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_ORDER - the number of the current document in set of found documents.
     </P
></LI
><LI
><P
>&#13;      UDM_FIELD_CRC - document CRC.
     </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-doc-count.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-get-res-param.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>udm_get_doc_count</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_get_res_param</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>