<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >udm_get_res_param</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual 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=ISO-8859-2"></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" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.udm-get-res-field.html" ACCESSKEY="P" >Înapoi</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" >Înainte</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="AEN65224" ></A ><P > (PHP 4 >= 4.0.5, PHP 5)</P >udm_get_res_param -- Get mnoGoSearch result parameters</DIV ><DIV CLASS="refsect1" ><A NAME="AEN65227" ></A ><H2 >Description</H2 >string <B CLASS="methodname" >udm_get_res_param</B > ( resource 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 > <VAR CLASS="parameter" >res</VAR > - a link to result identifier, received after call to <A HREF="function.udm-find.html" ><B CLASS="function" >udm_find()</B ></A >. </P ><P > <VAR CLASS="parameter" >param</VAR > - 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" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.udm-hash32.html" ACCESSKEY="N" >Înainte</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" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >udm_hash32</TD ></TR ></TABLE ></DIV ></BODY ></HTML >