cvs: peardoc /en/package/authentication/liveuser/liveuser-error liveuser-error.xml /en/package/configuration/config/config-container
config_container.xml /en/package/console/console-table/console-table console_table.xml /en/package/filesystem/file-passwd/file-passwd-authbasic
file_passwd_authbasic.xml /en/package/filesystem/file-passwd/file-passwd-authdigest file_passwd_authdigest.xml
/en/package/filesystem/file-passwd/file-passwd-common __clone.xml __construct.xml _auth.xml _close.xml _open.xml _save.xml
/en/package/filesystem/file-passwd/file-passwd-cvs file_passwd_cvs.xml /en/package/filesystem/file-passwd/file-passwd-smb file_passwd_smb.xml
/en/package/filesystem/file-passwd/file-passwd-unix file_passwd_unix.xml

From: Date: Tue, 16 Mar 2004 18:07:17 +0000
Subject: cvs: peardoc /en/package/authentication/liveuser/liveuser-error liveuser-error.xml /en/package/configuration/config/config-container
config_container.xml /en/package/console/console-table/console-table console_table.xml /en/package/filesystem/file-passwd/file-passwd-authbasic
file_passwd_authbasic.xml /en/package/filesystem/file-passwd/file-passwd-authdigest file_passwd_authdigest.xml
/en/package/filesystem/file-passwd/file-passwd-common __clone.xml __construct.xml _auth.xml _close.xml _open.xml _save.xml
/en/package/filesystem/file-passwd/file-passwd-cvs file_passwd_cvs.xml /en/package/filesystem/file-passwd/file-passwd-smb file_passwd_smb.xml
/en/package/filesystem/file-passwd/file-passwd-unix file_passwd_unix.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3006@lists.php.net to get a copy of this message
derick Tue Mar 16 13:07:17 2004 EDT Removed files: /peardoc/en/package/authentication/liveuser/liveuser-error liveuser-error.xml Modified files: /peardoc/en/package/configuration/config/config-container config_container.xml /peardoc/en/package/console/console-table/console-table console_table.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-authbasic file_passwd_authbasic.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-authdigest file_passwd_authdigest.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-common __clone.xml __construct.xml _auth.xml _close.xml _open.xml _save.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-cvs file_passwd_cvs.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-smb file_passwd_smb.xml /peardoc/en/package/filesystem/file-passwd/file-passwd-unix file_passwd_unix.xml Log: - Revert part 1

http://cvs.php.net/diff.php/peardoc/en/package/configuration/config/config-container/config_container.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/configuration/config/config-container/config_container.xml diff -u /dev/null peardoc/en/package/configuration/config/config-container/config_container.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/configuration/config/config-container/config_container.xml Tue Mar 16 13:07:12 2004 @@ -0,0 +1,114 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.configuration.config.config-container.config-container"> + <refnamediv> + <refname><function>Config_Container::Config_Container</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once 'Config/Container.php'; + </funcsynopsisinfo> + <funcprototype> + <funcdef>&amp;<function>Config_Container::Config_Container</function></funcdef> + <paramdef>string <parameter><optional>$type = ''</optional></parameter></paramdef> + <paramdef>string <parameter><optional>$name = ''</optional></parameter></paramdef> + <paramdef>string <parameter><optional>$content = ''</optional></parameter></paramdef> + <paramdef>mixed <parameter><optional>$attributes = &null;</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + <refsect1 id="package.configuration.config.config-container.config-container.desc"> + &title.desc; + <para> + Creates a new Config_Container and returns it by reference. + </para> + </refsect1> + <refsect1 id="package.configuration.config.config-container.config-container.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$type</parameter> + </term> + <listitem> + <para> + Type of container object, should be something among + <parameter>'section'</parameter>, <parameter>'comment'</parameter>, + <parameter>'directive'</parameter>, <parameter>'blank'</parameter>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.string; + <parameter>$name</parameter> + </term> + <listitem> + <para> + Name of container object. The name is required for + sections and directives, not for blanks or comments. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.string; + <parameter>$content</parameter> + </term> + <listitem> + <para> + Content of container object. The content is used + in directives and comments. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.array; + <parameter>$attributes</parameter> + </term> + <listitem> + <para> + Array of attributes for container object. Optionally, + you can add attributes to your container. These can + be used by the chosen parser. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 id="package.configuration.config.config-container.config-container.return"> + &title.returns; + + <para> + <parameter>object</parameter> - A reference to the created object. + </para> + </refsect1> + <refsect1 id="package.configuration.config.config-container.config-container.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/console/console-table/console-table/console_table.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/console/console-table/console-table/console_table.xml diff -u /dev/null peardoc/en/package/console/console-table/console-table/console_table.xml:1.3 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/console/console-table/console-table/console_table.xml Tue Mar 16 13:07:13 2004 @@ -0,0 +1,54 @@ +<!-- $Revision: 1.3 $ --> +<refentry id="package.console.console-table.console-table.console-table"> + <refnamediv> + <refname>constructor <function>Console_Table::Console_Table</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Console/Table.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>void constructor <function>Console_Table::Console_Table</function></funcdef> +<paramdef></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.console.console-table.console-table.console-table.desc"> + &title.desc; + <para> + Constructor + </para> + </refsect1> + <refsect1 id="package.console.console-table.console-table.console-table.throws"> + &title.throws; + <para> + <emphasis>throws</emphasis> no exceptions thrown + </para> + </refsect1> + <refsect1 id="package.console.console-table.console-table.console-table.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-authbasic/file_passwd_authbasic.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-authbasic/file_passwd_authbasic.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-authbasic/file_passwd_authbasic.xml:1.5 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-authbasic/file_passwd_authbasic.xml Tue Mar 16 13:07:14 2004 @@ -0,0 +1,85 @@ +<!-- $Revision: 1.5 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic"> + + <refnamediv> + <refname><function>File_Passwd_Authbasic::File_Passwd_Authbasic</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo>require_once 'File/Passwd/Authbasic.php';</funcsynopsisinfo> + <funcprototype> + <funcdef> + object &amp;new <function>File_Passwd_Authbasic</function> + </funcdef> + <paramdef>string <parameter> <optional>$file = '.htpasswd'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic.desc"> + &title.desc; + <para> + Initialise a new File_Passwd_Authbasic object with the given path to the passwd file. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to AuthUserFile + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic.return"> + &title.returns; + <para> + Returns &type.object; <classname>File_Passwd_Authbasic</classname>. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authbasic.file-passwd-authbasic.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-authdigest/file_passwd_authdigest.xml?r1=1.5&r2=1.6&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-authdigest/file_passwd_authdigest.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-authdigest/file_passwd_authdigest.xml:1.6 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-authdigest/file_passwd_authdigest.xml Tue Mar 16 13:07:14 2004 @@ -0,0 +1,82 @@ +<!-- $Revision: 1.6 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest"> + <refnamediv> + <refname><function>File_Passwd_Authdigest::File_Passwd_Authdigest</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo>require_once 'File/Passwd/Authdigest.php';</funcsynopsisinfo> + <funcprototype> + <funcdef>object &amp;new <function>File_Passwd_Authdigest</function></funcdef> + <paramdef>string <parameter><optional>$file = '.htdigest'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest.desc"> + &title.desc; + <para> + Initialize a new object of File_Passwd_Authdigest with the specified path to the AuthDigestFile. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to AuthDigestFile + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest.return"> + &title.returns; + <para> + Returns &type.object; <classname>File_Passwd_Authdigest</classname>. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-authdigest.file-passwd-authdigest.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/__clone.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/__clone.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/__clone.xml:1.3 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/__clone.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,63 @@ +<!-- $Revision: 1.3 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.--clone"> + + <refnamediv> + <refname><function>File_Passwd_Common::__clone</function></refname> + <refpurpose>Get Copy of this object</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>File_Passwd_Common::__clone</function></funcdef> + <paramdef /> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--clone.desc"> + &title.desc; + <para> + Implemented for Zend Engine 2 compatiability. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--clone.return"> + &title.returns; + <para> + Returns &type.object; File_Passwd_* - a copy of the File_Passwd object. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--clone.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--clone.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/__construct.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/__construct.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/__construct.xml:1.3 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/__construct.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,85 @@ +<!-- $Revision: 1.3 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.--construct"> + + <refnamediv> + <refname><function>File_Passwd_Common::__construct</function></refname> + <refpurpose>Constructor (ZE2)</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>File_Passwd_Common::__construct</function></funcdef> + <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--construct.desc"> + &title.desc; + <para> + Implemented for Zend Engine 2 compatibility. + </para> + <para> + &pdevrel; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--construct.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to passwd file + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--construct.return"> + &title.returns; + <para> + Returns &type.object; File_Passwd_* - new instance of an File_Passwd_* object. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--construct.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.--construct.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/_auth.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/_auth.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/_auth.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/_auth.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,130 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.-auth"> + + <refnamediv> + <refname><function>File_Passwd_Common::_auth</function></refname> + <refpurpose>Base method for File_Passwd::staticAuth()</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>File_Passwd_Common::_auth</function></funcdef> + <paramdef>string <parameter>$file</parameter></paramdef> + <paramdef>string <parameter>$id</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-auth.desc"> + &title.desc; + <para> + Base method for <function>File_Passwd_*::staticAuth</function> + </para> + <para> + &pdevrel; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-auth.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to passwd file + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.string; + <parameter>$id</parameter> + </term> + <listitem> + <para> + user_id to search for + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-auth.return"> + &title.returns; + <para> + Returns &type.string; line of passwd file containing $id, + &false; if $id wasn't found, or <classname>PEAR_Error</classname> on failure. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-auth.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Error Code</entry> + <entry>Summary</entry> + </row> + </thead> + <tbody> + <row> + <entry>FILE_PASSWD_E_EXISTS_NOT</entry> + <entry>passwd file doesn't exist</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> + <entry>passwd file couldn't be opened in read mode</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> + <entry>passwd file couldn't be locked shared</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> + <entry>passwd file couldn't be unlocked (only if auth fails)</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> + <entry>passwd file couldn't be closed (only if auth fails)</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/_close.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/_close.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/_close.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/_close.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,105 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.-close"> + + <refnamediv> + <refname><function>File_Passwd_Common::_close</function></refname> + <refpurpose>Closes a prior opened and locked file handle</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>File_Passwd_Common::_close</function></funcdef> + <paramdef>resource <parameter>&amp;$file_handle</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-close.desc"> + &title.desc; + <para> + Closes a prior with <function>File_Passwd_Common::_open</function> opened and locked file handle. + </para> + <para> + &pdevrel; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-close.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.res; + <parameter>&amp;$file_handle</parameter> + </term> + <listitem> + <para> + the file handle to operate on + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-close.return"> + &title.returns; + <para> + &return.success-pearerror; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-close.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Error Code</entry> + <entry>Summary</entry> + </row> + </thead> + <tbody> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> + <entry>passwd file couldn't be unlocked</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> + <entry>passwd file couldn't be closed</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-close.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/_open.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/_open.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/_open.xml:1.3 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/_open.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,119 @@ +<!-- $Revision: 1.3 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.-open"> + + <refnamediv> + <refname><function>File_Passwd_Common::_open</function></refname> + <refpurpose>Open a file</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed &amp;<function>File_Passwd_Common::_open</function></funcdef> + <paramdef>string <parameter>$mode</parameter></paramdef> + <paramdef>mixed <parameter><optional>$file = null</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-open.desc"> + &title.desc; + <para> + Opens a file, locks it exclusively and returns the filehandle. + </para> + <para>&pdevrel;</para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-open.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$mode</parameter> + </term> + <listitem> + <para> + the mode to open the file with + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to passwd file + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-open.return"> + &title.returns; + <para> + Returns &type.res; file handle or <classname>PEAR_Error</classname> on failure. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-open.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Error Code</entry> + <entry>Summary</entry> + </row> + </thead> + <tbody> + <row> + <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> + <entry>the directory in which the passwd file should reside couldn't be created</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> + <entry>passwd file couldn't be opened in the desired mode</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> + <entry>passwd file couldn't be locked</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-open.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-common/_save.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-common/_save.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-common/_save.xml:1.3 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-common/_save.xml Tue Mar 16 13:07:15 2004 @@ -0,0 +1,117 @@ +<!-- $Revision: 1.3 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-common.-save"> + + <refnamediv> + <refname><function>File_Passwd_Common::_save</function></refname> + <refpurpose>Save the modified content to the passwd file</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>File_Passwd_Common::_save</function></funcdef> + <paramdef>string <parameter>$content</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-save.desc"> + &title.desc; + <para> + Save content to file. + </para> + <para> + &pdevrel; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-save.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$content</parameter> + </term> + <listitem> + <para> + file content + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-save.return"> + &title.returns; + <para> + &return.success-pearerror; + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-save.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Error Code</entry> + <entry>Summary</entry> + </row> + </thead> + <tbody> + <row> + <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> + <entry>the directory in which the passwd file should reside couldn't be created</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> + <entry>passwd file couldn't be opened in write mode</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> + <entry>passwd file couldn't be locked exclusively</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> + <entry>passwd file couldn't be unlocked</entry> + </row> + <row> + <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> + <entry>passwd file couldn't be closed</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-common.-save.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-cvs/file_passwd_cvs.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-cvs/file_passwd_cvs.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-cvs/file_passwd_cvs.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-cvs/file_passwd_cvs.xml Tue Mar 16 13:07:16 2004 @@ -0,0 +1,83 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs"> + + <refnamediv> + <refname><function>File_Passwd_Cvs::File_Passwd_Cvs</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo>require_once 'File/Passwd/Cvs.php';</funcsynopsisinfo> + <funcprototype> + <funcdef>object &amp;new <function>File_Passwd_Cvs</function></funcdef> + <paramdef>mixed <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs.desc"> + &title.desc; + <para> + Initialize a new <classname>File_Passwd_Cvs</classname> object with the given path to passwd file. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to passwd file + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs.return"> + &title.returns; + <para> + Returns &type.object; <classname>File_Passwd_Cvs</classname>. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-cvs.file-passwd-cvs.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-smb/file_passwd_smb.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-smb/file_passwd_smb.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-smb/file_passwd_smb.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-smb/file_passwd_smb.xml Tue Mar 16 13:07:16 2004 @@ -0,0 +1,83 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb"> + + <refnamediv> + <refname><function>File_Passwd_Smb::File_Passwd_Smb</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo>require_once 'File/Passwd/Smb.php';</funcsynopsisinfo> + <funcprototype> + <funcdef>object &amp;new <function>File_Passwd_Smb</function></funcdef> + <paramdef>string <parameter> <optional>$file = 'smbpasswd'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb.desc"> + &title.desc; + <para> + Initialize a new <classname>File_Passwd_Smb</classname> object with the given path to passwd file. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to SMB passwd file + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb.return"> + &title.returns; + <para> + Returns &type.object; <classname>File_Passwd_Smb</classname>. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-smb.file-passwd-smb.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 +--> http://cvs.php.net/diff.php/peardoc/en/package/filesystem/file-passwd/file-passwd-unix/file_passwd_unix.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/filesystem/file-passwd/file-passwd-unix/file_passwd_unix.xml diff -u /dev/null peardoc/en/package/filesystem/file-passwd/file-passwd-unix/file_passwd_unix.xml:1.4 --- /dev/null Tue Mar 16 13:07:17 2004 +++ peardoc/en/package/filesystem/file-passwd/file-passwd-unix/file_passwd_unix.xml Tue Mar 16 13:07:17 2004 @@ -0,0 +1,83 @@ +<!-- $Revision: 1.4 $ --> +<refentry id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix"> + + <refnamediv> + <refname><function>File_Passwd_Unix::File_Passwd_Unix</function></refname> + <refpurpose>Constructor</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo>require_once 'File/Passwd/Unix.php';</funcsynopsisinfo> + <funcprototype> + <funcdef>object &amp;new <function>File_Passwd_Unix</function></funcdef> + <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix.desc"> + &title.desc; + <para> + Initialize a new File_Passwd_Unix object with the specified path to passwd file. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix.param"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$file</parameter> + </term> + <listitem> + <para> + path to passwd file + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix.return"> + &title.returns; + <para> + Returns &type.object; <classname>File_Passwd_Unix</classname>. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix.throws"> + &title.throws; + <para> + Throws no exception. + </para> + </refsect1> + + <refsect1 id="package.filesystem.file-passwd.file-passwd-unix.file-passwd-unix.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 +-->
« previous php.pear.doc (#3006) next »