<HTML ><HEAD ><TITLE >udm_get_res_param</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="mnoGoSearch Functions" HREF="ref.mnogo.html"><LINK REL="PREVIOUS" TITLE="udm_get_res_field" HREF="function.udm-get-res-field.html"><LINK REL="NEXT" TITLE="udm_load_ispell_data" HREF="function.udm-load-ispell-data.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></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 Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.udm-get-res-field.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.udm-load-ispell-data.html" ACCESSKEY="N" >Next</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="AEN56899" ></A ><P > (PHP 4 >= 4.0.5)</P >udm_get_res_param -- Get mnoGoSearch result parameters</DIV ><DIV CLASS="refsect1" ><A NAME="AEN56902" ></A ><H2 >Description</H2 >string <B CLASS="methodname" >udm_get_res_param</B > ( int res, int param)<BR ></BR ><P > <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 > <TT CLASS="parameter" ><I >res</I ></TT > - a link to result identifier, received after call to <A HREF="function.udm-find.html" ><B CLASS="function" >udm_find()</B ></A >. </P ><P > <TT CLASS="parameter" ><I >param</I ></TT > - parameter identifier, may have the following values: </P ><P ></P ><UL ><LI ><P > 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 > UDM_PARAM_FOUND - total number of results matching the query. </P ></LI ><LI ><P > 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 > UDM_PARAM_SEARCHTIME - search time in seconds. </P ></LI ><LI ><P > UDM_PARAM_FIRST_DOC - the number of the first document displayed on current page. </P ></LI ><LI ><P > 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" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.udm-load-ispell-data.html" ACCESSKEY="N" >Next</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.mnogo.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >udm_load_ispell_data</TD ></TR ></TABLE ></DIV ></BODY ></HTML >