cvs: peardoc /en/core/pear/pear intro.xml /ru/core pear.xml ppm.xml /ru/core/pear pear-error.xml pear.xml system.xml /ru/core/pear/pear
constants.xml expecterror.xml getstaticproperty.xml

From: Date: Thu, 07 Aug 2003 18:32:34 +0000
Subject: cvs: peardoc /en/core/pear/pear intro.xml /ru/core pear.xml ppm.xml /ru/core/pear pear-error.xml pear.xml system.xml /ru/core/pear/pear
constants.xml expecterror.xml getstaticproperty.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1213@lists.php.net to get a copy of this message
tony2001 Thu Aug 7 14:32:34 2003 EDT Added files: /peardoc/ru/core pear.xml ppm.xml /peardoc/ru/core/pear pear-error.xml pear.xml system.xml /peardoc/ru/core/pear/pear constants.xml expecterror.xml getstaticproperty.xml Modified files: /peardoc/en/core/pear/pear intro.xml Log: +adding some newly translated files -fixed typo in english version

Index: peardoc/en/core/pear/pear/intro.xml diff -u peardoc/en/core/pear/pear/intro.xml:1.2 peardoc/en/core/pear/pear/intro.xml:1.3 --- peardoc/en/core/pear/pear/intro.xml:1.2 Wed May 7 21:58:40 2003 +++ peardoc/en/core/pear/pear/intro.xml Thu Aug 7 14:32:33 2003 @@ -33,7 +33,7 @@ <simpara> If you inherit <classname>PEAR</classname> in a class called <replaceable>ClassName</replaceable>, you can define a method in - it called called _<replaceable>ClassName</replaceable> (the + it called _<replaceable>ClassName</replaceable> (the class name with an underscore prepended) that will be invoked when the request is over. This is not a destructor in the sense that you can "delete" an object and have the destructor called, Index: peardoc/ru/core/pear.xml +++ peardoc/ru/core/pear.xml <chapter id="core.pear"> <title>âÁÚÏ×ÙÅ ËÌÁÓÓÙ PEAR</title> <para> ãÅÎÔÒÁÌØÎÁÑ ÞÁÓÔØ ÒÕËÏ×ÏÄÓÔ×Á ÒÁÓÓËÁÚÙ×ÁÅÔ Ï ÂÁÚÏ×ÙÈ ËÌÁÓÓÁÈ PEAR. </para> &core.pear.pear; &core.pear.pear-error; &core.pear.system; </chapter> <!-- 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 --> Index: peardoc/ru/core/ppm.xml +++ peardoc/ru/core/ppm.xml <chapter id="core.ppm"> <title>ëÌÁÓÓÙ PPM</title> <para> ëÌÁÓÓÙ PPM ÐÒÅÄÏÓÔÁ×ÌÑÀÔ ÉÎÔÅÒÆÅÊÓ ÄÌÑ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ É ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ PEAR. </para> &core.ppm.pear-autoloader; &core.ppm.pear-builder; &core.ppm.pear-command; &core.ppm.pear-common; &core.ppm.pear-config; &core.ppm.pear-dependency; &core.ppm.pear-installer; &core.ppm.pear-packager; &core.ppm.pear-registry; &core.ppm.pear-remote; </chapter> <!-- 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 --> Index: peardoc/ru/core/pear/pear-error.xml +++ peardoc/ru/core/pear/pear-error.xml <!-- $Id: pear-error.xml,v 1.1 2003/08/07 18:32:33 tony2001 Exp $ --> <sect1 id="core.pear.pear-error"> <title>PEAR_Error</title> <titleabbrev>ïÂßÅËÔ PEAR Error</titleabbrev> <para> <classname>PEAR_Error</classname> - ÜÔÏ ÏÂßÅËÔ, ËÏÔÏÒÙÅ ÓÏÚÄÁÅÔÓÑ ËÁÖÄÏÊ ÆÕÎËÃÉÅÊ PEAR × ÓÌÕÞÁÅ ×ÏÚÎÉËÎÏ×ÅÎÉÑ ÏÛÉÂËÉ. ïÎ ÐÒÅÄÏÓÔÁ×ÌÑÅÔÓÑ ÉÎÆÏÒÍÁÃÉÀ Ï ÔÏÍ, ÐÏÞÅÍÕ ÆÕÎËÃÉÑ ÚÁ×ÅÒÛÉÌÁÓØ Ó ÏÛÉÂËÏÊ. </para> <para> ëÁË ÉÍÅÎÎÏ ×Ù ÐÏÌÕÞÁÅÔÅ ÏÂßÅËÔ - ÚÁ×ÉÓÉÔ ÏÔ <link linkend="core.pear.pear.seterrorhandling"> <function>PEAR::SetErrorHandling</function></link> </para> &core.pear.pear-error.adduserinfo; &core.pear.pear-error.getcallback; &core.pear.pear-error.getcode; &core.pear.pear-error.getmessage; &core.pear.pear-error.getmode; &core.pear.pear-error.getdebuginfo; &core.pear.pear-error.gettype; &core.pear.pear-error.getuserinfo; &core.pear.pear-error.pear-error; &core.pear.pear-error.tostring; </sect1> <!-- 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 --> Index: peardoc/ru/core/pear/pear.xml +++ peardoc/ru/core/pear/pear.xml <!-- $Id: pear.xml,v 1.1 2003/08/07 18:32:33 tony2001 Exp $ --> <sect1 id="core.pear.pear"> <title>PEAR</title> <titleabbrev>âÁÚÏ×ÙÊ ËÌÁÓÓ PEAR É ËÌÁÓÓ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË</titleabbrev> <para> <classname>PEAR</classname> ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÆÕÎËÃÉÉ ÄÌÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË É ×ÁÒÉÁÎÔÙ ÐÏ×ÅÄÅÎÉÑ × ÓÌÕÞÁÅ ÏÛÉÂËÉ. ÷ÓÅ ÜÔÏ ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÒÁÚÒÁÂÏÔÞÉËÁÍ ÐÁËÅÔÏ× ÚÎÁÞÉÔÅÌØÎÏ ÕÐÒÏÓÔÉÔØ Ó×ÏÀ ÖÉÚÎØ. </para> &core.pear.pear.intro; &core.pear.pear.constants; &core.pear.pear.pear; &core.pear.pear.-pear; &core.pear.pear.getstaticproperty; &core.pear.pear.registershutdownfunction; &core.pear.pear.iserror; &core.pear.pear.seterrorhandling; &core.pear.pear.expecterror; &core.pear.pear.popexpect; </sect1> <!-- 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 --> Index: peardoc/ru/core/pear/system.xml +++ peardoc/ru/core/pear/system.xml <!-- $Revision: 1.1 $ --> <sect1 id="core.pear.system"> <title>System</title> <para> æÕÎËÃÉÉ ÄÌÑ ÒÁÂÏÔÙ Ó ËÏÍÁÄÎÏÊ ÓÔÒÏËÏÊ </para> <para> <classname>System</classname> ÐÒÅÄÏÓÔÁ×ÌÑÅÔ API ÄÌÑ ÎÁÐÉÓÁÎÉÑ ËÒÏÓÓÐÌÁÔÆÏÒÍÅÎÎÙÈ ÐÒÏÇÒÁÍÍ, ÒÁÂÏÔÁÀÝÉÈ Ó ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÏÊ. </para> &core.pear.system.intro; &core.pear.system.rm; &core.pear.system.mkdir; &core.pear.system.cat; &core.pear.system.mktemp; &core.pear.system.tmpdir; &core.pear.system.which; </sect1> <!-- 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 --> Index: peardoc/ru/core/pear/pear/constants.xml +++ peardoc/ru/core/pear/pear/constants.xml <refentry id="core.pear.pear.constants"> <refnamediv> <refname>ëÏÎÓÔÁÎÔÙ</refname> <refpurpose>ðÒÅÏÐÒÅÄÅÌÅÎÎÙÅ ËÏÎÓÔÁÎÔÙ</refpurpose> </refnamediv> <refsect1 id="core.pear.pear.constants.pear-error-callback"> <title><constant>PEAR_ERROR_CALLBACK</constant></title> <simpara> ëÁÓÁÅÔÓÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË PEAR. </simpara> <para> óÍ. &class.pear-error;, <link linkend="core.pear.pear.seterrorhandling"><function> setErrorHandling</function></link> </para> </refsect1> <refsect1 id="core.pear.pear.constants.pear-error-die"> <title><constant>PEAR_ERROR_DIE</constant></title> <simpara> ëÁÓÁÅÔÓÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË PEAR. </simpara> <para> óÍ. &class.pear-error;, <link linkend="core.pear.pear.seterrorhandling"><function> setErrorHandling</function></link> </para> </refsect1> <refsect1 id="core.pear.pear.constants.pear-error-print"> <title><constant>PEAR_ERROR_PRINT</constant></title> <simpara> ëÁÓÁÅÔÓÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË PEAR. </simpara> <para> óÍ. &class.pear-error;, <link linkend="core.pear.pear.seterrorhandling"><function> setErrorHandling</function></link> </para> </refsect1> <refsect1 id="core.pear.pear.constants.pear-error-return"> <title><constant>PEAR_ERROR_RETURN</constant></title> <simpara> ëÁÓÁÅÔÓÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË PEAR. </simpara> <para> óÍ. &class.pear-error;, <link linkend="core.pear.pear.seterrorhandling"><function> setErrorHandling</function></link> </para> </refsect1> <refsect1 id="core.pear.pear.constants.pear-error-trigger"> <title><constant>PEAR_ERROR_TRIGGER</constant></title> <simpara> ëÁÓÁÅÔÓÑ ÏÂÒÁÂÏÔËÉ ÏÛÉÂÏË PEAR. </simpara> <para> óÍ. &class.pear-error;, <link linkend="core.pear.pear.seterrorhandling"><function> setErrorHandling</function></link> </para> </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 --> Index: peardoc/ru/core/pear/pear/expecterror.xml +++ peardoc/ru/core/pear/pear/expecterror.xml <refentry id="core.pear.pear.expecterror"> <refnamediv> <refname>PEAR::expectError()</refname> <refpurpose> ÄÏÂÁ×ÌÑÅÔ ËÏÄ ÏÛÉÂËÉ ÄÌÑ ÔÏÇÏ, ÞÔÏÂÙ ×ÒÅÍÅÎÎÏ ×ËÌÀÞÉÔØ ÏÂÒÁÂÏÔËÕ ÏÛÉÂÏË </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR.php'; </funcsynopsisinfo> <funcprototype> <funcdef>integer <function>PEAR::expectError</function></funcdef> <paramdef> mixed <parameter><optional>$errorCode = '*'</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear.expecterror.desc"> &title.desc; <para> üÔÏÔ ÍÅÔÏÄ ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÕËÁÚÁÔØ ËÁËÉÅ ÏÛÉÂËÉ ×Ù ÏÖÉÄÁÅÔÅ ÐÏÌÕÞÉÔØ. ïÖÉÄÁÅÍÙÅ ÏÛÉÂËÉ ×ÓÅÇÄÁ ×ÏÚ×ÒÁÝÁÀÔÓÑ × ÒÅÖÉÍÅ <constant>PEAR_ERROR_RETURN</constant>. ïÖÉÄÁÅÍÙÅ ËÏÄÙ ÏÛÉÂÏË ÈÒÁÎÑÔÓÑ × ÓÔÅËÅ, Á ÜÔÏÔ ÍÅÔÏÄ ÚÁÎÏÓÉÔ × ÎÅÇÏ ÎÏ×ÙÊ ÜÌÅÍÅÎÔ. óÐÉÓÏË ÏÖÉÄÁÅÍÙÈ ÏÛÉÂÏË ÉÓÐÏÌØÚÕÅÔÓÑ ÄÏ ÔÅÈ ÐÏÒ, ÐÏËÁ ÏÎÉ ÎÅ ÉÚ×ÌÅÞÅÎÙ ÉÚ ÓÔÅËÁ ÍÅÔÏÄÏÍ <function>popExpect</function>. </para> </refsect1> <refsect1 id="core.pear.pear.expecterror.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $errorCode</parameter> - ÏÖÉÄÁÅÍÙÊ ËÏÄ ÏÛÉÂËÉ <classname>PEAR_Error</classname> ÉÌÉ ÍÁÓÓÉ× ËÏÄÏ×. åÓÌÉ ÕËÁÚÁÎÏ ÚÎÁÞÅÎÉÅ <parameter>'*'</parameter> - ÏÖÉÄÁÅÔÓÑ ÌÀÂÁÑ ÏÛÉÂËÁ. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="core.pear.pear.expecterror.return"> &title.returns; <para> <parameter>integer</parameter> - ÒÁÚÍÅÒ ÓÔÅËÁ ËÏÄÏ× ÏÛÉÂÏË. </para> </refsect1> <refsect1 id="core.pear.pear.expecterror.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="core.pear.pear.expecterror.see"> &title.see; <para> <link linkend="core.pear.pear.popexpect"> <function>popExpect</function> </link> </para> </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 --> Index: peardoc/ru/core/pear/pear/getstaticproperty.xml +++ peardoc/ru/core/pear/pear/getstaticproperty.xml <refentry id="core.pear.pear.getstaticproperty"> <refnamediv> <refname>PEAR::getStaticProperty()</refname> <refpurpose>ÜÍÕÌÉÒÕÅÔ ÓÔÁÔÉÞÅÓËÉÅ ÁÔÒÉÂÕÔÙ &pdevrel;</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>&amp;PEAR::getStaticProperty</function></funcdef> <paramdef> string <parameter>$class</parameter> </paramdef> <paramdef> string <parameter>$var</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear.getstaticproperty.desc"> &title.desc; <para> åÓÌÉ ×ÁÛ ËÌÁÓÓ Ñ×ÌÑÅÔÓÑ ÓÔÁÔÉÞÅÓËÉÍ, ÔÏ ×ÁÍ, ×ÅÒÏÑÔÎÏ, ÐÏÎÁÄÏÂÑÔÓÑ ÓÔÁÔÉÞÅÓËÉÅ ÁÔÒÉÂÕÔÙ. ÷Ù ÍÏÖÅÔÅ ÜÍÕÌÉÒÏ×ÁÔØ ÉÈ Ó ÐÏÍÏÝØÀ ÜÔÏÇÏ ÍÅÔÏÄÁ ÐÒÉÍÅÒÎÏ ÔÁË: <programlisting role="php"> <![CDATA[ $myVar = &PEAR::getStaticProperty('myVar'); ]]> </programlisting> éÓÐÏÌØÚÏ×ÁÔØ ÓÓÙÌËÕ <emphasis>ÏÂÑÚÁÔÅÌØÎÏ</emphasis>, ÉÎÁÞÅ ÁÔÒÉÂÕÔ ÎÅ ÂÕÄÅÔ ÓÔÁÔÉÞÅÓËÉÍ! </para> </refsect1> <refsect1 id="core.pear.pear.getstaticproperty.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $class</parameter> - ÉÍÑ ×ÁÛÅÇÏ ËÌÁÓÓÁ, × ËÏÔÏÒÏÍ ×Ù ×ÙÚÙ×ÁÅÔÅ <function>getStaticProperty</function> </para> </listitem> <listitem> <para> <parameter>string $var</parameter> - ÉÍÑ ÓÔÁÔÉÞÅÓËÏÇÏ ÁÔÒÉÂÕÔÁ </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="core.pear.pear.getstaticproperty.return"> &title.returns; <para> <parameter>mixed</parameter> - ÓÓÙÌËÕ ÎÁ ÁÔÒÉÂÕÔ. åÓÌÉ ÁÔÒÉÂÕÔ ÎÅ ÂÙÌ ÉÎÉÃÉÁÌÉÚÉÒÏ×ÁÎ, ÔÏ ÅÍÕ Á×ÔÏÍÁÔÉÞÅÓËÉ ÂÕÄÅÔ ÐÒÉÓ×ÏÅÎÏ ÚÎÁÞÅÎÉÅ &null;. </para> </refsect1> <refsect1 id="core.pear.pear.getstaticproperty.example"> &title.example; <example> <title>éÓÐÏÌØÚÏ×ÁÎÉÅ <function>getStaticProperty</function></title> <programlisting role="php"> <![CDATA[ <?php require_once 'PEAR.php'; class myClass { function setValue( $set) { $foo = &PEAR::getStaticProperty('myClass', "foo"); $foo = $set; } function view() { print PEAR::getStaticProperty('myClass', "foo"); } } myClass::setValue('value = foo'); myClass::view(); ?> ]]> </programlisting> <para> üÔÏÔ ÐÒÉÍÅÒ ×Ù×ÅÄÅÔ: </para> <programlisting> value = foo </programlisting> </example> </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 (#1213) next »