cvs: peardoc /en/authoring/package/categorie/mypackage/myclass myfunction.xml
| From: | Daniel Convissor | Date: | Mon, 12 Apr 2004 16:08:44 +0000 |
| Subject: | cvs: peardoc /en/authoring/package/categorie/mypackage/myclass myfunction.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3243@lists.php.net to get a copy of this message | ||
danielc Mon Apr 12 12:08:44 2004 EDT
Modified files:
/peardoc/en/authoring/package/categorie/mypackage/myclass
myfunction.xml
Log:
Add some real world examples of several elements.
http://cvs.php.net/diff.php/peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml?r1=1.9&r2=1.10&ty=u
Index: peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml
diff -u peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.9
peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.10
--- peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.9 Fri Apr 9 12:50:18
2004
+++ peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml Mon Apr 12 12:08:44 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="package.categorie.mypackage.myclass.myfunction">
<refnamediv>
<refname>My_Class::myFunction()</refname>
@@ -27,6 +27,36 @@
<para>
The function is self-descriptive
</para>
+
+ <para>
+ The following paragraph contains examples of several elements you
+ may find useful while writing your documentation...
+ </para>
+
+ <para>
+ If <varname>$foo</varname> equals <literal>bar</literal> then
+ <filename>baz.txt</filename> is used as the data source rather
+ than the <database>baz</database> database. If you need to
+ manually administer the database, use the <command>mysql</command>
+ command to start the client. To log on as a particular user,
+ use <option>-u</option> <replaceable>username</replaceable> option.
+ The default system administrator user name is <userinput>root</userinput>.
+ The <option>-p</option> option tells the program to issue the
+ <prompt>Enter password:</prompt> prompt. If the logon is successful,
+ you'll see <computeroutput>Welcome to the MySQL monitor.</computeroutput>
+ The <constant>PATH_SEPARATOR</constant> is helpful when setting
+ <envar>PATH</envar>.
+
+ <!--
+ The complete list of &title, &type, &warn and similar entities can be
+ found in /peardoc/en/language-snippets.ent. If you are translating
+ into another language, use your language code rather than "en."
+
+ Helpful entities for common URL's, email addresses, etc are in
+ /peardoc/global.ent
+ -->
+ </para>
+
</refsect1>
<refsect1 id="package.categorie.mypackage.myclass.myfunction.parameter">
@@ -109,7 +139,10 @@
<refsect1 id="packages.categorie.mypackage.myclass.myfunction.see">
&title.see;
- <!-- Additional links go here -->
+ <para>
+ <link linkend="package.categorie.mypackage.myclass.otherfunction">
+ <function>otherFunction</function></link>
+ </para>
</refsect1>
<refsect1 id="packages.categorie.mypackage.myclass.myfunction.example">