Re: Re: First PHP Documentor Generation

From: Date: Sun, 22 Feb 2004 01:43:34 +0000
Subject: Re: Re: First PHP Documentor Generation
References: 1 2  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2655@lists.php.net to get a copy of this message
Hello Everyone, First and foremost many thanks to Greg for the live help (via messenger). After many, many hours of work with PhpDocumentor and VIM, here is another shoot. I started to document Net-Smtp. Now some comments on the system: I did spent many hours not because of PhpDocumentor (which is a great tool...) but the limited availability of comments. In other words, Documentor did an excellent job but obviously couldn't invent some missing definitions et al. Granted, if it was only a run documentor/commit changes job my help would probably be unnecessary and obsolete *grin*. The bottom line is, there is a certain amount of work involved for manual changes. I would assume that with some packages commented the right way (Games:Chess?) will make my job a bit easier. For example, on XML_Parser I need to run a number of tests for a number of undocumented functions. Anyway, please let me know if what I did so far is good, then I might finish the whole net-smtp family by tomorrow. Regards, David Costa, PostgreSQL Advocate http://postgresql.org david at postgresql ddoot org gurugeek att php dot net $dsn = 'pgsql://world:most_advanced@localhost/open_source_database';

<!-- $Revision 1.0 $ --> <refentry id="package.networking.net-smtp.net-smtp.auth"> <refnamediv> <refname><function>Net_SMTP::auth</function></refname> <refpurpose>Attempt to do SMTP authentication.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;NET/SMTP.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>mixed<function>Net_SMTP::auth</function></funcdef> <paramdef>string <parameter>$uid</parameter></paramdef> <paramdef>string <parameter>$pwd</parameter></paramdef> <paramdef>string <parameter> <optional>$method = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.networking.net-smtp.net-smtp.auth.desc"> &title.desc; <para> This function initializes an authentication session using the supported methods. These are, in order of preference: Digest-MD5,CRAMMD5,LOGIN, and PLAIN. </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.auth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$uid</parameter> </term> <listitem> <para> The userid to authenticate as. < /para> < /listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$pwd</parameter> </term> <listitem> <para> The password to authenticate with. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$method</parameter> </term> <listitem> <para> The requested authentication method.If none is specified, the best supported method will be used. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.auth.returns"> &title.returns; <para> <emphasis>returns</emphasis> Returns a PEAR_Error with an error message on any kind of failure, or true on success. </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.auth.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.auth.since"> &title.since; <para> <emphasis>since</emphasis> 1.0 </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.auth.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> <!-- $Revision 1.0 $ --> <refentry id="package.networking.net-smtp.net-smtp.connect"> <refnamediv> <refname><function>Net_SMTP::connect</function></refname> <refpurpose>Attempt to connect to the SMTP server.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;NET/SMTP.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>Net_SMTP::connect</function></funcdef> <paramdef>int <parameter> <optional>$timeout = &null;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.networking.net-smtp.net-smtp.connect.desc"> &title.desc; <para> Attempt to establish a connection with the SMTP server </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.connect.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.int; <parameter>$timeout</parameter> </term> <listitem> <para> The timeout value (in seconds) for thesocket connection. </para> </list item> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.connect.returns"> &title.returns; <para> <emphasis>returns</emphasis> Returns a PEAR_Error with an error message on any kind of failure, or true on success. </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.connect.throws"> &title.throws; <par a> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.connect.since"> &title.since; <para > <emphasis>since</emphasis> 1.0 </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.connect.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> <!-- $Revision 1.0 $ --> <refentry id="package.networking.net-smtp.net-smtp.disconnect"> <refnamediv> <refname><function>Net_SMTP::disconnect</function></refname> <refpurpose>Attempt to disconnect from the SMTP server.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;NET/SMTP.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>mixed<function>Net_SMTP::disconnect</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.networking.net-smtp.net-smtp.disconnect.desc"> &title.desc; <para> Attempt to close the connection with the SMTP server. </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.disconnect.returns"> &title.returns; <para> <emphasis>returns</emphasis> Returns a PEAR_Error with an error message on any kind of failure, or true on success. </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.disconnect.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.networking.net-smtp.net-smtp.disconnect.since"> &title.since; <para> <emphasis>since</emphasis> 1.0 </para> </refsect1> <re fsect1 id="package.networking.net-smtp.net-smtp.disconnect.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> <!-- $Revision 1.0 $ --> <sect1 id="package.networking.net-smtp"> <title>Net_SMTP</title> <refentry id="package.networking.net-smtp.net-smtp-summary"> <refnamediv> <refname>Class Summary <classname>Net_SMTP</classname></refname> <refpurpose>Provides an implementation of the SMTP protocol using PEAR&apos;s Net_Socket:: class.</refpurpose> </refnamediv> <refsect1> <title>Provides an implementation of the SMTP protocol using PEAR&apos;s Net_Socket:: class.</title> <para> This package implements the Simple Mail Transfer Protocol (SMTP), Internet's standard host-to-host mail transport protocol, using the Net_Socket:: class for the server connection. The SMTP provides mechanisms for the transmission of mail. </para> </refsect1> <refsect1> <title>Class Trees for <classname>Net_SMTP</classname></title> <para> <itemizedlist> <listitem> <para> Net_SMTP </para></listitem> </itemizedlist> </para> </refsect1> </refentry> &package.networking.net-smtp.net-smtp.net-smtp; &package.networking.net-smtp.net-smtp.auth; &package.networking.net-smtp.net-smtp.connect; &package.networking.net-smtp.net-smtp.data; &package.networking.net-smtp.net-smtp.disconnect; &package.networking.net-smtp.net-smtp.getresponse; &package.networking.net-smtp.net-smtp.helo; &package.networking.net-smtp.net-smtp.identifysender; &package.networking.net-smtp.net-smtp.mailfrom; &package.networking.net-smtp.net-smtp.noop; &package.networking.net-smtp.net-smtp.quotedata; &package.networking.net-smtp.net-smtp.rcptto; &package.networking.net-smtp.net-smtp.rset; &package.networking.net-smtp.net-smtp.saml-from; &package.networking.net-smtp.net-smtp.send-from; &package.networking.net-smtp.net-smtp.setdebug; &package.networking.net-smtp.net-smtp.soml-from; &package.networking.net-smtp.net-smtp.vrfy; </sect1> <!-- Generated by phpDocumentor v 1.3.0RC2 http://www.phpdoc.org --> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.pear.doc (#2655) next »