cvs: peardoc /en/package networking-entities.xml /en/package/networking/net-url instantiate.xml

From: Date: Wed, 19 Nov 2008 07:52:17 +0000
Subject: cvs: peardoc /en/package networking-entities.xml /en/package/networking/net-url instantiate.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11288@lists.php.net to get a copy of this message
cweiske Wed Nov 19 07:52:17 2008 UTC Modified files: /peardoc/en/package networking-entities.xml /peardoc/en/package/networking/net-url instantiate.xml Log: Fix Doc Bug #15080: Wrong with summary of constructor. Re-order Networking packages so that they are listed alphabetically http://cvs.php.net/viewvc.cgi/peardoc/en/package/networking-entities.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/networking-entities.xml diff -u peardoc/en/package/networking-entities.xml:1.1 peardoc/en/package/networking-entities.xml:1.2 --- peardoc/en/package/networking-entities.xml:1.1 Sat Oct 11 23:10:03 2008 +++ peardoc/en/package/networking-entities.xml Wed Nov 19 07:52:17 2008 @@ -10,7 +10,6 @@ &package.networking.net-ipv6; &package.networking.net-ldap; &package.networking.net-mac; -&package.networking.net-url; &package.networking.net-nntp; &package.networking.net-ping; &package.networking.net-pop3; @@ -20,6 +19,7 @@ &package.networking.net-smtp; &package.networking.net-socket; &package.networking.net-traceroute; +&package.networking.net-url; &package.networking.net-whois; &package.networking.net-wifi; &package.networking.uri-template; http://cvs.php.net/viewvc.cgi/peardoc/en/package/networking/net-url/instantiate.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/en/package/networking/net-url/instantiate.xml diff -u peardoc/en/package/networking/net-url/instantiate.xml:1.3 peardoc/en/package/networking/net-url/instantiate.xml:1.4 --- peardoc/en/package/networking/net-url/instantiate.xml:1.3 Thu Oct 9 15:16:45 2008 +++ peardoc/en/package/networking/net-url/instantiate.xml Wed Nov 19 07:52:17 2008 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <refentry xmlns="http://docbook.org/ns/docbook" version="lillet" xml:id="package.networking.net-url.instantiate"> <refnamediv> - <refname>Net_URL Instantiate</refname> + <refname>Net_URL Constructor</refname> <refpurpose>Instantiating Net_URL</refpurpose> </refnamediv> <refsynopsisdiv> @@ -11,8 +11,8 @@ </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Net_Whois</function></funcdef> - <paramdef choice="req">string <parameter>$url</parameter></paramdef> - <paramdef choice="req">string <parameter>$useBrackets</parameter></paramdef> + <paramdef choice="opt">string <parameter>$url</parameter> = null</paramdef> + <paramdef choice="opt">boolean <parameter>$useBrackets</parameter> = true</paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -34,7 +34,7 @@ </listitem> <listitem> <para> - <parameter>string $useBrackets</parameter> - + <parameter>boolean $useBrackets</parameter> - Whether to use sqare brackets or not when there is multiple query variable names using the same name. </para> @@ -44,17 +44,16 @@ </refsection> <refsection xml:id="package.networking.net-url.instantiate.example"> &title.example; - <example><info><title>Using Net_URL</title></info> - - <programlisting role="php"> - <![CDATA[ + <example> + <info><title>Using Net_URL</title></info> + + <programlisting role="php"><![CDATA[ <?php require_once 'Net/URL.php'; -$url = new Net_URL; +$url = new Net_URL(); print_r($url->querystring); ?> -]]> - </programlisting> +]]></programlisting> </example> </refsection> </refentry>

« previous php.pear.doc (#11288) next »