didou Mon Feb 5 03:10:57 2007 UTC
Modified files: /phpdoc/en/reference/nis/functions yp-all.xml yp-cat.xml yp-err-string.xml yp-errno.xml yp-first.xml yp-get-default-domain.xml yp-master.xml yp-match.xml yp-next.xml yp-order.xml Log: WS, prepare for new doc style
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-all.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-all.xml diff -u phpdoc/en/reference/nis/functions/yp-all.xml:1.2 phpdoc/en/reference/nis/functions/yp-all.xml:1.3 --- phpdoc/en/reference/nis/functions/yp-all.xml:1.2 Wed Apr 17 06:42:07 2002 +++ phpdoc/en/reference/nis/functions/yp-all.xml Mon Feb 5 03:10:57 2007 @@ -1,26 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.20 --> - <refentry id='function.yp-all'> - <refnamediv> - <refname>yp_all</refname> - <refpurpose> - Traverse the map and call a function on each entry - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>yp_all</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - <methodparam><type>string</type><parameter>callback</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<refentry id='function.yp-all'> + <refnamediv> + <refname>yp_all</refname> + <refpurpose>Traverse the map and call a function on each entry</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>void</type><methodname>yp_all</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + <methodparam><type>string</type><parameter>callback</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-cat.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-cat.xml diff -u phpdoc/en/reference/nis/functions/yp-cat.xml:1.3 phpdoc/en/reference/nis/functions/yp-cat.xml:1.4 --- phpdoc/en/reference/nis/functions/yp-cat.xml:1.3 Tue Mar 11 17:44:55 2003 +++ phpdoc/en/reference/nis/functions/yp-cat.xml Mon Feb 5 03:10:57 2007 @@ -1,26 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.20 --> - <refentry id='function.yp-cat'> - <refnamediv> - <refname>yp_cat</refname> - <refpurpose> - Return an array containing the entire map - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>yp_cat</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_cat</function> returns all map entries as an array with the - maps key values as array indices and the maps entries as array data. - </para> - </refsect1> - </refentry> +<refentry id='function.yp-cat'> + <refnamediv> + <refname>yp_cat</refname> + <refpurpose>Return an array containing the entire map</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>yp_cat</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_cat</function> returns all map entries as an array with the + maps key values as array indices and the maps entries as array data. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-err-string.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-err-string.xml diff -u phpdoc/en/reference/nis/functions/yp-err-string.xml:1.3 phpdoc/en/reference/nis/functions/yp-err-string.xml:1.4 --- phpdoc/en/reference/nis/functions/yp-err-string.xml:1.3 Wed Jun 25 11:27:03 2003 +++ phpdoc/en/reference/nis/functions/yp-err-string.xml Mon Feb 5 03:10:57 2007 @@ -1,41 +1,39 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-err-string"> - <refnamediv> - <refname>yp_err_string</refname> - <refpurpose> - Returns the error string associated with the given error code - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>string</type><methodname>yp_err_string</methodname> - <methodparam><type>int</type><parameter>errorcode</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_err_string</function> returns the error message - associated with the given error code. Useful to indicate what - exactly went wrong. - </para> - <para> - <example> - <title>Example for NIS errors</title> - <programlisting role="php"> +<refentry id="function.yp-err-string"> + <refnamediv> + <refname>yp_err_string</refname> + <refpurpose>Returns the error string associated with the given error code</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>yp_err_string</methodname> + <methodparam><type>int</type><parameter>errorcode</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_err_string</function> returns the error message + associated with the given error code. Useful to indicate what + exactly went wrong. + </para> + <para> + <example> + <title>Example for NIS errors</title> + <programlisting role="php"> <![CDATA[ <?php echo "Error: " . yp_err_string(yp_errno()); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>yp_errno</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>yp_errno</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-errno.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-errno.xml diff -u phpdoc/en/reference/nis/functions/yp-errno.xml:1.2 phpdoc/en/reference/nis/functions/yp-errno.xml:1.3 --- phpdoc/en/reference/nis/functions/yp-errno.xml:1.2 Wed Apr 17 06:42:13 2002 +++ phpdoc/en/reference/nis/functions/yp-errno.xml Mon Feb 5 03:10:57 2007 @@ -1,51 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-errno"> - <refnamediv> - <refname>yp_errno</refname> - <refpurpose> - Returns the error code of the previous operation - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>int</type><methodname>yp_errno</methodname> - <void/> - </methodsynopsis> - <para> - <function>yp_errno</function> returns the error code of the - previous operation. - </para> - <para> - Possible errors are: - </para> - <para> - <simplelist> - <member>1 args to function are bad</member> - <member>2 RPC failure - domain has been unbound</member> - <member>3 can't bind to server on this domain</member> - <member>4 no such map in server's domain</member> - <member>5 no such key in map</member> - <member>6 internal yp server or client error</member> - <member>7 resource allocation failure</member> - <member>8 no more records in map database</member> - <member>9 can't communicate with portmapper</member> - <member>10 can't communicate with ypbind</member> - <member>11 can't communicate with ypserv</member> - <member>12 local domain name not set</member> - <member>13 yp database is bad</member> - <member>14 yp version mismatch</member> - <member>15 access violation</member> - <member>16 database busy</member> - </simplelist> - </para> - <para> - See also <function>yp_err_string</function>. - </para> - </refsect1> - </refentry> +<refentry id="function.yp-errno"> + <refnamediv> + <refname>yp_errno</refname> + <refpurpose>Returns the error code of the previous operation</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>yp_errno</methodname> + <void/> + </methodsynopsis> + <para> + <function>yp_errno</function> returns the error code of the + previous operation. + </para> + <para> + Possible errors are: + </para> + <para> + <simplelist> + <member>1 args to function are bad</member> + <member>2 RPC failure - domain has been unbound</member> + <member>3 can't bind to server on this domain</member> + <member>4 no such map in server's domain</member> + <member>5 no such key in map</member> + <member>6 internal yp server or client error</member> + <member>7 resource allocation failure</member> + <member>8 no more records in map database</member> + <member>9 can't communicate with portmapper</member> + <member>10 can't communicate with ypbind</member> + <member>11 can't communicate with ypserv</member> + <member>12 local domain name not set</member> + <member>13 yp database is bad</member> + <member>14 yp version mismatch</member> + <member>15 access violation</member> + <member>16 database busy</member> + </simplelist> + </para> + <para> + See also <function>yp_err_string</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-first.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-first.xml diff -u phpdoc/en/reference/nis/functions/yp-first.xml:1.5 phpdoc/en/reference/nis/functions/yp-first.xml:1.6 --- phpdoc/en/reference/nis/functions/yp-first.xml:1.5 Tue Apr 27 22:42:29 2004 +++ phpdoc/en/reference/nis/functions/yp-first.xml Mon Feb 5 03:10:57 2007 @@ -1,28 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-first"> - <refnamediv> - <refname>yp_first</refname> - <refpurpose> - Returns the first key-value pair from the named map - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>yp_first</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_first</function> returns the first key-value - pair from the named map in the named domain, otherwise &false;. - </para> - <para> - <example> - <title>Example for the NIS first</title> - <programlisting role="php"> +<refentry id="function.yp-first"> + <refnamediv> + <refname>yp_first</refname> + <refpurpose>Returns the first key-value pair from the named map</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>yp_first</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_first</function> returns the first key-value + pair from the named map in the named domain, otherwise &false;. + </para> + <para> + <example> + <title>Example for the NIS first</title> + <programlisting role="php"> <![CDATA[ <?php $entry = yp_first($domain, "passwd.byname"); @@ -33,15 +31,15 @@ echo "First entry in this map has key " . $key . " and value " . $value; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>yp_next</function> and - <function>yp_get_default_domain</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>yp_next</function> and + <function>yp_get_default_domain</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-get-default-domain.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-get-default-domain.xml diff -u phpdoc/en/reference/nis/functions/yp-get-default-domain.xml:1.4 phpdoc/en/reference/nis/functions/yp-get-default-domain.xml:1.5 --- phpdoc/en/reference/nis/functions/yp-get-default-domain.xml:1.4 Thu Jun 23 16:53:27 2005 +++ phpdoc/en/reference/nis/functions/yp-get-default-domain.xml Mon Feb 5 03:10:57 2007 @@ -1,43 +1,43 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-get-default-domain"> - <refnamediv> - <refname>yp_get_default_domain</refname> - <refpurpose>Fetches the machine's default NIS domain</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>string</type><methodname>yp_get_default_domain</methodname> - <void/> - </methodsynopsis> - <para> - <function>yp_get_default_domain</function> returns the default - domain of the node or &false;. Can be used as the domain parameter - for successive NIS calls. - </para> - <para> - A NIS domain can be described a group of NIS maps. Every host - that needs to look up information binds itself to a certain - domain. Refer to the documents mentioned at the beginning for - more detailed information. - </para> - <para> - <example> - <title>Example for the default domain</title> - <programlisting role="php"> +<refentry id="function.yp-get-default-domain"> + <refnamediv> + <refname>yp_get_default_domain</refname> + <refpurpose>Fetches the machine's default NIS domain</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>yp_get_default_domain</methodname> + <void/> + </methodsynopsis> + <para> + <function>yp_get_default_domain</function> returns the default + domain of the node or &false;. Can be used as the domain parameter + for successive NIS calls. + </para> + <para> + A NIS domain can be described a group of NIS maps. Every host + that needs to look up information binds itself to a certain + domain. Refer to the documents mentioned at the beginning for + more detailed information. + </para> + <para> + <example> + <title>Example for the default domain</title> + <programlisting role="php"> <![CDATA[ <?php $domain = yp_get_default_domain(); echo "Default NIS domain is: " . $domain; ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-master.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-master.xml diff -u phpdoc/en/reference/nis/functions/yp-master.xml:1.5 phpdoc/en/reference/nis/functions/yp-master.xml:1.6 --- phpdoc/en/reference/nis/functions/yp-master.xml:1.5 Tue Apr 27 22:42:29 2004 +++ phpdoc/en/reference/nis/functions/yp-master.xml Mon Feb 5 03:10:57 2007 @@ -1,42 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-master"> - <refnamediv> - <refname>yp_master</refname> - <refpurpose> - Returns the machine name of the master NIS server for a map - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>string</type><methodname>yp_master</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_master</function> returns the machine name of - the master NIS server for a map. - </para> - <para> - <example> - <title>Example for the NIS master</title> - <programlisting role="php"> +<refentry id="function.yp-master"> + <refnamediv> + <refname>yp_master</refname> + <refpurpose>Returns the machine name of the master NIS server for a map</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>yp_master</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_master</function> returns the machine name of + the master NIS server for a map. + </para> + <para> + <example> + <title>Example for the NIS master</title> + <programlisting role="php"> <![CDATA[ <?php $number = yp_master($domain, $mapname); echo "Master for this map is: " . $master; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>yp_get_default_domain</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>yp_get_default_domain</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-match.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-match.xml diff -u phpdoc/en/reference/nis/functions/yp-match.xml:1.4 phpdoc/en/reference/nis/functions/yp-match.xml:1.5 --- phpdoc/en/reference/nis/functions/yp-match.xml:1.4 Tue Apr 27 22:42:29 2004 +++ phpdoc/en/reference/nis/functions/yp-match.xml Mon Feb 5 03:10:57 2007 @@ -1,49 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-match"> - <refnamediv> - <refname>yp_match</refname> - <refpurpose>Returns the matched line</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>string</type><methodname>yp_match</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - <methodparam><type>string</type><parameter>key</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_match</function> returns the value associated with - the passed key out of the specified map or &false;. This key must - be exact.</para> - <para> - <example> - <title>Example for NIS match</title> - <programlisting role="php"> +<refentry id="function.yp-match"> + <refnamediv> + <refname>yp_match</refname> + <refpurpose>Returns the matched line</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>string</type><methodname>yp_match</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + <methodparam><type>string</type><parameter>key</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_match</function> returns the value associated with + the passed key out of the specified map or &false;. This key must + be exact.</para> + <para> + <example> + <title>Example for NIS match</title> + <programlisting role="php"> <![CDATA[ <?php $entry = yp_match($domain, "passwd.byname", "joe"); echo "Matched entry is: " . $entry; ?> ]]> - </programlisting> - <para> - The above code will produce : - </para> - <screen> + </programlisting> + <para> + The above code will produce : + </para> + <screen> <![CDATA[ joe:##joe:11111:100:Joe User:/home/j/joe:/usr/local/bin/bash ]]> - </screen> - </example> - </para> - <para> - See also <function>yp_get_default_domain</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + <para> + See also <function>yp_get_default_domain</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-next.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-next.xml diff -u phpdoc/en/reference/nis/functions/yp-next.xml:1.8 phpdoc/en/reference/nis/functions/yp-next.xml:1.9 --- phpdoc/en/reference/nis/functions/yp-next.xml:1.8 Tue Aug 3 17:25:33 2004 +++ phpdoc/en/reference/nis/functions/yp-next.xml Mon Feb 5 03:10:57 2007 @@ -1,27 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-next"> - <refnamediv> - <refname>yp_next</refname> - <refpurpose>Returns the next key-value pair in the named map</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>array</type><methodname>yp_next</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - <methodparam><type>string</type><parameter>key</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_next</function> returns the next key-value pair in - the named map after the specified key or &false;. - </para> - <para> - <example> - <title>Example for NIS next</title> - <programlisting role="php"> +<refentry id="function.yp-next"> + <refnamediv> + <refname>yp_next</refname> + <refpurpose>Returns the next key-value pair in the named map</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>array</type><methodname>yp_next</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + <methodparam><type>string</type><parameter>key</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_next</function> returns the next key-value pair in + the named map after the specified key or &false;. + </para> + <para> + <example> + <title>Example for NIS next</title> + <programlisting role="php"> <![CDATA[ <?php $entry = yp_next($domain, "passwd.byname", "joe"); @@ -33,19 +33,19 @@ $key = key($entry); -echo "The next entry after joe has key " . $key +echo "The next entry after joe has key " . $key . " and value " . $entry[$key]; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>yp_first</function> and - <function>yp_get_default_domain</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>yp_first</function> and + <function>yp_get_default_domain</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/nis/functions/yp-order.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/nis/functions/yp-order.xml diff -u phpdoc/en/reference/nis/functions/yp-order.xml:1.5 phpdoc/en/reference/nis/functions/yp-order.xml:1.6 --- phpdoc/en/reference/nis/functions/yp-order.xml:1.5 Tue Apr 27 22:42:29 2004 +++ phpdoc/en/reference/nis/functions/yp-order.xml Mon Feb 5 03:10:57 2007 @@ -1,40 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/nis.xml, last change in rev 1.2 --> - <refentry id="function.yp-order"> - <refnamediv> - <refname>yp_order</refname> - <refpurpose>Returns the order number for a map</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>int</type><methodname>yp_order</methodname> - <methodparam><type>string</type><parameter>domain</parameter></methodparam> - <methodparam><type>string</type><parameter>map</parameter></methodparam> - </methodsynopsis> - <para> - <function>yp_order</function> returns the order number for a map - or &false;. - </para> - <para> - <example> - <title>Example for the NIS order</title> - <programlisting role="php"> +<refentry id="function.yp-order"> + <refnamediv> + <refname>yp_order</refname> + <refpurpose>Returns the order number for a map</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <methodsynopsis> + <type>int</type><methodname>yp_order</methodname> + <methodparam><type>string</type><parameter>domain</parameter></methodparam> + <methodparam><type>string</type><parameter>map</parameter></methodparam> + </methodsynopsis> + <para> + <function>yp_order</function> returns the order number for a map + or &false;. + </para> + <para> + <example> + <title>Example for the NIS order</title> + <programlisting role="php"> <![CDATA[ <?php $number = yp_order($domain, $mapname); echo "Order number for this map is: " . $number; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>yp_get_default_domain</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>yp_get_default_domain</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: