cvs: phpdoc-es / translation.xml /reference/bc/functions bcpow.xml /reference/calendar/functions cal-from-jd.xml cal-info.xml cal-to-jd.xml
/reference/classobj/functions get-class-vars.xml get-object-vars.xml

From: Date: Tue, 06 May 2003 14:01:36 +0000
Subject: cvs: phpdoc-es / translation.xml /reference/bc/functions bcpow.xml /reference/calendar/functions cal-from-jd.xml cal-info.xml cal-to-jd.xml
/reference/classobj/functions get-class-vars.xml get-object-vars.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-128@lists.php.net to get a copy of this message
rafael Tue May 6 10:01:36 2003 EDT Modified files: /phpdoc-es translation.xml /phpdoc-es/reference/bc/functions bcpow.xml /phpdoc-es/reference/calendar/functions cal-from-jd.xml cal-info.xml cal-to-jd.xml /phpdoc-es/reference/classobj/functions get-class-vars.xml get-object-vars.xml Log: Actualizar a ultima version

Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.18 phpdoc-es/translation.xml:1.19 --- phpdoc-es/translation.xml:1.18 Tue May 6 04:14:00 2003 +++ phpdoc-es/translation.xml Tue May 6 10:01:36 2003 @@ -14,12 +14,13 @@ </translators> <work-in-progress> -<file name="reference/bc/functions/bcpow.xml" person="rafael" type="review" date="05.05.2003"/> -<file name="reference/calendar/functions/cal-from-jd.xml" person="rafael" type="review" date="05.05.2003"/> -<file name="reference/calendar/functions/cal-info.xml" person="rafael" type="review" date="05.05.2003"/> -<file name="reference/calendar/functions/cal-to-jd.xml" person="rafael" type="review" date="05.05.2003"/> -<file name="reference/classobj/functions/get-class-vars.xml" person="rafael" type="review" date="05.05.2003"/> -<file name="reference/classobj/functions/get-object-vars.xml" person="rafael" type="review" date="05.05.2003"/> +<file name="language/control-structures.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/expressions.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/functions.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/oop.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/operators.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/types.xml" person="rafael" type="review" date="06.05.2003"/> +<file name="language/variables.xml" person="rafael" type="review" date="06.05.2003"/> <file name="reference/apache/ini.xml" person="reven" type="translation" date="05.05.2003"/> <file name="reference/array/constants.xml" person="reven" type="translation" date="05.05.2003"/> <file name="reference/array/functions/array-filter.xml" person="reven" type="translation" date="05.05.2003"/> Index: phpdoc-es/reference/bc/functions/bcpow.xml diff -u phpdoc-es/reference/bc/functions/bcpow.xml:1.2 phpdoc-es/reference/bc/functions/bcpow.xml:1.3 --- phpdoc-es/reference/bc/functions/bcpow.xml:1.2 Wed Jun 5 16:13:09 2002 +++ phpdoc-es/reference/bc/functions/bcpow.xml Tue May 6 10:01:36 2003 @@ -1,26 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: rafael Status: ready --> <refentry id="function.bcpow"> - <refnamediv> - <refname>bcpow</refname> - <refpurpose>Eleva un n&uacute;mero de precisi&oacute;n arbitraria a otro.</refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>string</type><methodname>bcpow</methodname> - <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>string</type><parameter>y</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> - </methodsynopsis> - <para> - Eleva <parameter>x</parameter> a la potencia de <parameter>y</parameter>. - El par&aacute;metro opcional <parameter>escala</parameter> se puede usar para fijar - el n&uacute;mero de d&iacute;gitos tras el punto decimal del resultado.</para> - <para> - Ver tambi&eacute;n <function>bcsqrt</function>.</para> + <refnamediv> + <refname>bcpow</refname> <refpurpose>Eleva un n&uacute;mero de + precisi&oacute;n arbitraria a otro.</refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>string</type><methodname>bcpow</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>int</type><parameter>y</parameter></methodparam> + <methodparam + choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> + <para> + Eleva <parameter>x</parameter> a la potencia de + <parameter>y</parameter>. El par&aacute;metro opcional + <parameter>escala</parameter> se puede usar para fijar el + n&uacute;mero de d&iacute;gitos tras el punto decimal del + resultado.</para> + <para> + Ver tambi&eacute;n <function>bcpowmod</function> y + <function>bcsqrt</function></para> </refsect1> </refentry> Index: phpdoc-es/reference/calendar/functions/cal-from-jd.xml diff -u phpdoc-es/reference/calendar/functions/cal-from-jd.xml:1.1 phpdoc-es/reference/calendar/functions/cal-from-jd.xml:1.2 --- phpdoc-es/reference/calendar/functions/cal-from-jd.xml:1.1 Sat Jun 8 16:19:34 2002 +++ phpdoc-es/reference/calendar/functions/cal-from-jd.xml Tue May 6 10:01:36 2003 @@ -1,23 +1,32 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: rafael Status: ready --> <refentry id='function.cal-from-jd'> - <refnamediv> - <refname>cal_from_jd</refname> - <refpurpose>Convierte de Cuenta de D&iacute;as Juliana a un calendario soportado y devuelve - informaci&oacute;n adicional.</refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>array</type><methodname>cal_from_jd</methodname> - <methodparam><type>int</type><parameter>jd</parameter></methodparam> - <methodparam><type>int</type><parameter>calendario</parameter></methodparam> - </methodsynopsis> - <para> - </para> - </refsect1> + <refnamediv> + <refname>cal_from_jd</refname> <refpurpose>Convierte de Cuenta de + D&iacute;as Juliana a un calendario soportado.</refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>array</type><methodname>cal_from_jd</methodname> + <methodparam><type>int</type><parameter>jd</parameter></methodparam> + <methodparam><type>int</type><parameter>calendario</parameter></methodparam> + </methodsynopsis> + <para> + <function>cal_from_jd</function> convierte el dia de Cuenta Juliana + definido en <parameter>jd</parameter> a un dia del + <parameter>calendario</parameter> especificado. Los valores de + <parameter>calendario</parameter> soportados son + <constant>CAL_GREGORIAN</constant>, + <constant>CAL_JULIAN</constant>, <constant>CAL_JEWISH</constant> + and <constant>CAL_FRENCH</constant>. + </para> + <para> + Ver tambi&eacute;n <function>cal_to_jd</function>. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Index: phpdoc-es/reference/calendar/functions/cal-info.xml diff -u phpdoc-es/reference/calendar/functions/cal-info.xml:1.1 phpdoc-es/reference/calendar/functions/cal-info.xml:1.2 --- phpdoc-es/reference/calendar/functions/cal-info.xml:1.1 Sat Jun 8 16:19:34 2002 +++ phpdoc-es/reference/calendar/functions/cal-info.xml Tue May 6 10:01:36 2003 @@ -1,21 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: rafael Status: ready --> <refentry id='function.cal-info'> - <refnamediv> - <refname>cal_info</refname> - <refpurpose>Devuelve informaci&oacute;n sobre un calendario den particular.</refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>array</type><methodname>cal_info</methodname> - <methodparam><type>int</type><parameter>calendario</parameter></methodparam> - </methodsynopsis> - <para> - </para> - </refsect1> + <refnamediv> + <refname>cal_info</refname> <refpurpose>Devuelve + informaci&oacute;n sobre un calendario en + particular.</refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>array</type><methodname>cal_info</methodname> <methodparam + choice='opt'><type>int</type><parameter>calendario</parameter></methodparam> + </methodsynopsis> + <para> + <function>cal_info</function> devuelve informaci&oacute;n sobre el + <function>calendar</function> especificado &oacute; sobre todos los + calendarios soportados si no se especifica el parametro + <parameter>calendario</parameter>. + </para> + <para> + La informaci&oacute;n del calendario es devuelta en una matriz conteniendo + los elementos <literal>calname</literal>, + <literal>calsymbol</literal>, <literal>month</literal>, + <literal>abbrevmonth</literal> y <literal>maxdaysinmonth</literal>. + </para> + <para> + Si no se especifica <parameter>calendario</parameter>, se devuelve + una matriz con informacion sobre todos los calendarios + soportados. Esta funcionalidad estar&aacute; disponible en PHP 5. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Index: phpdoc-es/reference/calendar/functions/cal-to-jd.xml diff -u phpdoc-es/reference/calendar/functions/cal-to-jd.xml:1.1 phpdoc-es/reference/calendar/functions/cal-to-jd.xml:1.2 --- phpdoc-es/reference/calendar/functions/cal-to-jd.xml:1.1 Sat Jun 8 16:19:34 2002 +++ phpdoc-es/reference/calendar/functions/cal-to-jd.xml Tue May 6 10:01:36 2003 @@ -1,24 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: rafael Status: ready --> <refentry id='function.cal-to-jd'> - <refnamediv> - <refname>cal_to_jd</refname> - <refpurpose>Convierte de un calendario soportado a Cuenta de D&iacute;as Juliana.</refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>int</type><methodname>cal_to_jd</methodname> - <methodparam><type>int</type><parameter>calendario</parameter></methodparam> - <methodparam><type>int</type><parameter>mes</parameter></methodparam> - <methodparam><type>int</type><parameter>dia</parameter></methodparam> - <methodparam><type>int</type><parameter>a&ntilde;o</parameter></methodparam> - </methodsynopsis> - <para> - </para> - </refsect1> + <refnamediv> + <refname>cal_to_jd</refname> + <refpurpose>Convierte un calendario soportado a Cuenta de D&iacute;as Juliana.</refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>int</type><methodname>cal_to_jd</methodname> + <methodparam><type>int</type><parameter>calendario</parameter></methodparam> + <methodparam><type>int</type><parameter>mes</parameter></methodparam> + <methodparam><type>int</type><parameter>dia</parameter></methodparam> + <methodparam><type>int</type><parameter>a&ntilde;o</parameter></methodparam> + </methodsynopsis> + <para> + <function>cal_to_jd</function> Calcula la Cuenta de D&iacute;as + Juliana para un dia en el calendario especificado por + <parameter>calendar</parameter>. Los + <parameter>calendarios</parameter> soportados son + <constant>CAL_GREGORIAN</constant>, + <constant>CAL_JULIAN</constant>, <constant>CAL_JEWISH</constant> y + <constant>CAL_FRENCH</constant>. + </para> + <para> + Ver tambi&eacute;n <function>cal_to_jd</function>. + + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Index: phpdoc-es/reference/classobj/functions/get-class-vars.xml diff -u phpdoc-es/reference/classobj/functions/get-class-vars.xml:1.2 phpdoc-es/reference/classobj/functions/get-class-vars.xml:1.3 --- phpdoc-es/reference/classobj/functions/get-class-vars.xml:1.2 Sun Jun 9 07:04:51 2002 +++ phpdoc-es/reference/classobj/functions/get-class-vars.xml Tue May 6 10:01:36 2003 @@ -1,35 +1,38 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: rafael Status: ready --> <refentry id="function.get-class-vars"> - <refnamediv> - <refname>get_class_vars</refname> - <refpurpose> - Devuelve un vector con las propiedades (inicializadas por defecto) de la clase - </refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>array</type><methodname>get_class_vars</methodname> - <methodparam><type>string</type><parameter>class_name</parameter></methodparam> - </methodsynopsis> - <para> - Esta funci&oacute;n devuelve un vector con las propiedades que - han sido inicializadas por defecto en la clase. Los elementos de este vector - est&aacute;n estan organizados de la forma <parameter>varname => value</parameter>. - </para> -<note> - <para> - Las variables de la clase que no est&eacute;n inicializadas, no ser&aacute; presentadas - por <function>get_class_vars</function>. - </para> - </note> - <para> - <example> - <title><function>get_class_vars</function> ejemplo</title> - <programlisting role="php"> + <refnamediv> + <refname>get_class_vars</refname> + <refpurpose> + Devuelve una matriz con las propiedades (inicializadas por + defecto) de la clase + </refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>array</type><methodname>get_class_vars</methodname> + <methodparam><type>string</type><parameter>class_name</parameter></methodparam> + </methodsynopsis> + <para> + Esta funci&oacute;n devuelve un vector con las propiedades que han + sido inicializadas por defecto en la clase. Los elementos de este + vector est&aacute;n estan organizados de la forma + <parameter>varname => value</parameter>. + </para> + <note> + <para> + Con anterioridad a PHP 4.2.0, las variables de la clase que no + est&eacute;n inicializadas, no ser&aacute; presentadas por + <function>get_class_vars</function>. + </para> + </note> + <para> + <example> + <title><function>get_class_vars</function> ejemplo</title> + <programlisting role="php"> <![CDATA[ <?php @@ -55,25 +58,31 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - Producira: - <informalexample> - <programlisting> + </programlisting> + </example> + </para> + <para> + Producira: + <informalexample> + <programlisting> <![CDATA[ +// Before PHP 4.2.0 +var2 : xyz +var3 : 100 + +// As of PHP 4.2.0 +var1 : var2 : xyz var3 : 100 ]]> - </programlisting> - </informalexample> - </para> - <simpara> - Ver tambi&eacute;n <function>get_class_methods</function>, - <function>get_object_vars</function> - </simpara> - </refsect1> + </programlisting> + </informalexample> + </para> + <simpara> + Ver tambi&eacute;n <function>get_class_methods</function>, + <function>get_object_vars</function> + </simpara> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Index: phpdoc-es/reference/classobj/functions/get-object-vars.xml diff -u phpdoc-es/reference/classobj/functions/get-object-vars.xml:1.2 phpdoc-es/reference/classobj/functions/get-object-vars.xml:1.3 --- phpdoc-es/reference/classobj/functions/get-object-vars.xml:1.2 Sun Jun 9 07:04:51 2002 +++ phpdoc-es/reference/classobj/functions/get-object-vars.xml Tue May 6 10:01:36 2003 @@ -1,26 +1,36 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: rafael Status: ready --> <refentry id="function.get-object-vars"> - <refnamediv> - <refname>get_object_vars</refname> - <refpurpose>Devuelve un vector de propiedades del objecto</refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>array</type><methodname>get_class_vars</methodname> - <methodparam><type>object</type><parameter>obj</parameter></methodparam> - </methodsynopsis> - <para> - Esta funci&oacute;n devuelve un vector con las propiedades definidas - en el objecto especificado como <parameter>obj</parameter>. Las variables - declaradas en la clase a la que pertenece <parameter>obj</parameter>, que no - les ha sido asignado un valor, no ser&aacute;n devueltas en el vector. -<example> - <title>Uso de <function>get_object_vars</function></title> - <programlisting role="php"> + <refnamediv> + <refname>get_object_vars</refname> + <refpurpose>Devuelve un vector de propiedades del objecto</refpurpose> + </refnamediv> + <refsect1> + <title>Descripci&oacute;n</title> + <methodsynopsis> + <type>array</type><methodname>get_class_vars</methodname> + <methodparam><type>object</type><parameter>obj</parameter></methodparam> + </methodsynopsis> + <para> + Esta funci&oacute;n devuelve una matriz con las propiedades + definidas en el objecto especificado como + <parameter>obj</parameter>. + </para> + <note> + <para> + Con anterioridad a PHP 4.2.0, si las variables declaradas en la + clase a la que pertenece <parameter>obj</parameter>, no les ha + sido asignado un valor, no ser&aacute;n devueltas en el vector. En + versiones posteriores a PHP 4.2.0 se les asignar&aacute; un valor + <constant>NULL</constant>. + </para> + </note> + <para> + <example> + <title>Uso de <function>get_object_vars</function></title> + <programlisting role="php"> <![CDATA[ <?php class Point2D { @@ -61,6 +71,7 @@ ( [x] => 1.233 [y] => 3.445 + [label] => ) Array @@ -70,13 +81,13 @@ [label] => point #1 ) ]]> - </screen> - </para> - <simpara> - Ver tambien <function>get_class_methods</function> y - <function>get_class_vars</function>! - </simpara> - </refsect1> + </screen> + </para> + <simpara> + Ver tambien <function>get_class_methods</function> y + <function>get_class_vars</function> + </simpara> + </refsect1> </refentry> <!-- Keep this comment at the end of the file
« previous php.doc.es (#128) next »