svn: /pear/peardoc/trunk/en/package/console/console-getopt/ examples.xml

From: Date: Thu, 15 Oct 2009 07:16:57 +0000
Subject: svn: /pear/peardoc/trunk/en/package/console/console-getopt/ examples.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11848@lists.php.net to get a copy of this message
cweiske Thu, 15 Oct 2009 07:16:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289659 Log: fix bug #13902: User note that is a documentation problem Bug: http://pear.php.net/bugs/13902 (unknown) Changed paths: A pear/peardoc/trunk/en/package/console/console-getopt/examples.xml Added: pear/peardoc/trunk/en/package/console/console-getopt/examples.xml =================================================================== --- pear/peardoc/trunk/en/package/console/console-getopt/examples.xml (rev 0) +++ pear/peardoc/trunk/en/package/console/console-getopt/examples.xml 2009-10-15 07:16:57 UTC (rev 289659) @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<chapter xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="lillet" + xml:id="package.console.console-getopt.examples" +> + <info> + <title>Examples</title> + </info> + + <para> + The following example shows how to setup short and long option + arrays as well as reading the arguments passed via commandline. + The example also introduces a helper method that converts + the parsed parameters returned by Console_Getopt into a + key-value-array. + </para> + + <programlisting role="php"> + <xi:include parse="text" + xmlns:xi="http://www.w3.org/2001/XInclude" + href="&package.console.console-getopt.examples.associative.php;" + > + <xi:fallback>FIXME:MISSING XINCLUDE CONTENT</xi:fallback> + </xi:include> + </programlisting> + + +</chapter> \ No newline at end of file

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