Explorar o código

DOC-ES update file

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17389 44c647ce-9c0f-0410-b52a-842ac1e357ba
benjamin-gonzales %!s(int64=16) %!d(string=hai) anos
pai
achega
6ef4561962

+ 50 - 80
documentation/manual/es/module_specs/Zend_Acl-Advanced.xml

@@ -11,60 +11,43 @@
 
         <para>
             <classname>Zend_Acl</classname> fue diseñado de tal manera que no requiere ninguna
-            tecnología particular como bases de datos o un servidor de
-            cache para el almacenamiento de datos <acronym>ACL</acronym>. Al poseer una
-            implementación completamente construida en <acronym>PHP</acronym>, es posible
-            construir herramientas de administración personalizadas sobre
-            <classname>Zend_Acl</classname> con relativa facilidad y flexibilidad. En muchas
-            situaciones se requiere alguna forma de mantenimiento
-            interactivo de una <acronym>ACL</acronym>, y <classname>Zend_Acl</classname> provee métodos para
-            configurar, y consultar, los controles de acceso de una
-            aplicación.
-        </para>
-
-        <para>
-            El almacenamiento de los datos <acronym>ACL</acronym> es una tarea que se
-            delega al desarrollador, puesto que la utilización variará
-            extensamente en distintas situaciones. Dado que <classname>Zend_Acl</classname> es
-            serializable, los objetos <acronym>ACL</acronym> pueden serializarse con la
-            función
-            <ulink url="http://php.net/serialize">
+            tecnología particular como bases de datos o un servidor de cache para el almacenamiento
+            de datos <acronym>ACL</acronym>. Al poseer una implementación completamente construida
+            en <acronym>PHP</acronym>, es posible construir herramientas de administración
+            personalizadas sobre <classname>Zend_Acl</classname> con relativa facilidad y
+            flexibilidad. En muchas situaciones se requiere alguna forma de mantenimiento
+            interactivo de una <acronym>ACL</acronym>, y <classname>Zend_Acl</classname> provee
+            métodos para configurar, y consultar, los controles de acceso de una aplicación. </para>
+
+        <para> El almacenamiento de los datos <acronym>ACL</acronym> es una tarea que se delega al
+            desarrollador, puesto que la utilización variará extensamente en distintas situaciones.
+            Dado que <classname>Zend_Acl</classname> es serializable, los objetos
+                <acronym>ACL</acronym> pueden serializarse con la función <ulink
+                url="http://php.net/serialize">
                 <methodname>serialize()</methodname>
-            </ulink>
-            de <acronym>PHP</acronym>, y los resultados pueden ser almacenados donde sea
-            que el desarrollador lo desee, en un archivo, base de datos,
-            o mecanismo de cache
-        </para>
+            </ulink> de <acronym>PHP</acronym>, y los resultados pueden ser almacenados donde sea
+            que el desarrollador lo desee, en un archivo, base de datos, o mecanismo de cache </para>
 
     </sect2>
 
     <sect2 id="zend.acl.advanced.assertions">
 
-        <title>
-            Escribiendo reglas condicionales ACL con aserciones
-        </title>
+        <title> Escribiendo reglas condicionales ACL con aserciones </title>
+
+        <para> A veces, una regla para permitir o negar una función de acceso a un recurso no
+            debería ser absoluta sino que depende de varios criterios. Por ejemplo, supóngase que
+            debe permitirse cierto acceso, pero únicamente entre las 8:00am y 5:00pm. Otro ejemplo
+            sería negar el acceso debido a una petición que proviene de una dirección IP que se ha
+            marcado como una fuente de abusos. <classname>Zend_Acl</classname> tiene soporte para la
+            aplicación de normas basadas en cualquier condición que el desarrollador necesite. </para>
 
         <para>
-            A veces, una regla para permitir o negar una función de acceso a un
-            recurso no debería ser absoluta sino que depende de varios criterios.
-            Por ejemplo, supóngase que debe permitirse cierto acceso, pero
-            únicamente entre las 8:00am y 5:00pm. Otro ejemplo sería negar el
-            acceso debido a una petición que proviene de una dirección IP que se
-            ha marcado como una fuente de abusos. <classname>Zend_Acl</classname> tiene soporte para la
-            aplicación de normas basadas en cualquier condición que el
-            desarrollador necesite.
-        </para>
-
-    <para>
-        <classname>Zend_Acl</classname> provee soporte para reglas condicionales con
-        <methodname>Zend_Acl_Assert_Interface</methodname>
-        . Con el fin de utilizar la regla de aserción de la interfaz,
-        un desarrollador escribe una clase que implemente el método
-        <methodname>assert()</methodname>
-        de la interfaz:
-    </para>
-
-         <programlisting language="php"><![CDATA[
+            <classname>Zend_Acl</classname> provee soporte para reglas condicionales con
+                <methodname>Zend_Acl_Assert_Interface</methodname> . Con el fin de utilizar la regla
+            de aserción de la interfaz, un desarrollador escribe una clase que implemente el método
+                <methodname>assert()</methodname> de la interfaz: </para>
+
+        <programlisting language="php"><![CDATA[
 class CleanIPAssertion implements Zend_Acl_Assert_Interface
 {
     public function assert(Zend_Acl $acl,
@@ -82,46 +65,33 @@ class CleanIPAssertion implements Zend_Acl_Assert_Interface
 }
 ]]></programlisting>
 
-        <para>
-            Una vez la clase de aserción esta disponible, el desarrollador puede
-            suministrar una instancia de la clase de aserción cuando asigna reglas
-            condicionales. Una regla que es creada con una aserción
-            sólo se aplica cuando el método de la aserción devuelve  <constant>TRUE</constant>.
-        </para>
+        <para> Una vez la clase de aserción esta disponible, el desarrollador puede suministrar una
+            instancia de la clase de aserción cuando asigna reglas condicionales. Una regla que es
+            creada con una aserción sólo se aplica cuando el método de la aserción devuelve
+                <constant>TRUE</constant>. </para>
 
-         <programlisting language="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl->allow(null, null, null, new CleanIPAssertion());
 ]]></programlisting>
 
-        <para>
-            El código anterior crea una regla condicional que permite el acceso a
-            todos los privilegios sobre todo, por todo el mundo, excepto cuando la IP
-            de quien hace la petición está en la "lista negra". Si una petición
-            viene desde una IP que no está considerada "limpia", entonces la regla no
-            se aplica. Dado que la regla se aplica a todos los roles, todos los
-            recursos, y todos los privilegios, una IP "no limpia" daría lugar a una
-            negación de acceso. Éste es un caso especial, sin embargo, y debería ser
-            entendido que en todos los otros casos (por ejemplo, cuando un rol
-            específico, recurso, o privilegio está especificado por la regla),
-            una aserción fallida provoca que la regla no se aplique, y otras reglas
-            deberían ser usadas para determinar si el acceso está permitido o
-            denegado.
-        </para>
-
-        <para>
-            El método
-             <methodname>assert()</methodname>
-            de un objeto aserción es pasado a la <acronym>ACL</acronym>, regla,  recurso, y privilegio
-      para el cual una consulta de autorización (por ejemplo,
-            <methodname>isAllowed()</methodname>
-            ) se aplica, con el fin de proporcionar un contexto para que la clase de
-      aserción determine sus condiciones cuando fuera necesario.
-        </para>
+        <para> El código anterior crea una regla condicional que permite el acceso a todos los
+            privilegios sobre todo, por todo el mundo, excepto cuando la IP de quien hace la
+            petición está en la "lista negra". Si una petición viene desde una IP que no está
+            considerada "limpia", entonces la regla no se aplica. Dado que la regla se aplica a
+            todos los roles, todos los recursos, y todos los privilegios, una IP "no limpia" daría
+            lugar a una negación de acceso. Éste es un caso especial, sin embargo, y debería ser
+            entendido que en todos los otros casos (por ejemplo, cuando un rol específico, recurso,
+            o privilegio está especificado por la regla), una aserción fallida provoca que la regla
+            no se aplique, y otras reglas deberían ser usadas para determinar si el acceso está
+            permitido o denegado. </para>
+
+        <para> El método <methodname>assert()</methodname> de un objeto aserción es pasado a la
+                <acronym>ACL</acronym>, regla, recurso, y privilegio para el cual una consulta de
+            autorización (por ejemplo, <methodname>isAllowed()</methodname> ) se aplica, con el fin
+            de proporcionar un contexto para que la clase de aserción determine sus condiciones
+            cuando fuera necesario. </para>
 
     </sect2>
 
 </sect1>
-<!--
-    vim:se ts=4 sw=4 et:
--->

+ 1 - 1
documentation/manual/es/module_specs/Zend_Amf-Server.xml

@@ -330,7 +330,7 @@ $servidor->setClassMap('ContactVO', 'Contact');
 
             <listitem>
                 <para> Segundo, en su clase <acronym>PHP</acronym> puede ajustar la propiedad como
-                    pública mediante  <varname>$_explicitType</methodname>, con el valor
+                    pública mediante  <varname>$_explicitType</varname>, con el valor
                     representativo de la clase ActionScript que mapear: </para>
 
                 <programlisting language="php"><![CDATA[

+ 210 - 159
documentation/manual/es/module_specs/Zend_Auth_Adapter_Http.xml

@@ -10,50 +10,60 @@
         <title>Introducción</title>
 
         <para>
-            <classname>Zend_Auth_Adapter_Http</classname> proporciona una implementación compatible con <ulink
-                url="http://tools.ietf.org/html/rfc2617">RFC-2617</ulink>, <ulink
-                url="http://en.wikipedia.org/wiki/Basic_authentication_scheme">Basic</ulink> y <ulink
-                    url="http://en.wikipedia.org/wiki/Digest_access_authentication">Digest</ulink> Autenticación  <acronym>HTTP</acronym>. La
-            autenticación "Digest" es un método de autenticación  <acronym>HTTP</acronym> que mejora la autenticación básica proporcionando una manera
-            de autenticar sin tener que transmitir la contraseña de manera clara en un texto a través de la red. </para>
+            <classname>Zend_Auth_Adapter_Http</classname> proporciona una
+            implementación compatible con <ulink
+                url="http://tools.ietf.org/html/rfc2617">RFC-2617</ulink>,
+                <ulink
+                url="http://en.wikipedia.org/wiki/Basic_authentication_scheme"
+                >Basic</ulink> y <ulink
+                url="http://en.wikipedia.org/wiki/Digest_access_authentication"
+                >Digest</ulink> Autenticación <acronym>HTTP</acronym>. La
+            autenticación "Digest" es un método de autenticación
+                <acronym>HTTP</acronym> que mejora la autenticación básica
+            proporcionando una manera de autenticar sin tener que transmitir la
+            contraseña de manera clara en un texto a través de la red. </para>
 
         <para>
             <emphasis role="strong">Características Principales:</emphasis>
         </para>
-        
-            <itemizedlist>
-                <listitem>
-                    <para> Soporta tanto Autenticación "Digest" como Básica. </para>
-                </listitem>
-                <listitem>
-                    <para> Establece retos en todos los proyectos soportados, por lo que el cliente puede responder con cualquier
-                        proyecto que soporte. </para>
-                </listitem>
-                <listitem>
-                    <para> Soporta autenticación proxy. </para>
-                </listitem>
-                <listitem>
-                    <para> Incluye soporte para la autenticación contra archivos de texto y proporciona una interfaz para
-                        autenticar contra otras fuentes, tales como bases de datos. </para>
-                </listitem>
-            </itemizedlist>
-
-
-        <para> Hay algunas características notables del <acronym>RFC</acronym>-2617 no implementadas todavía: 
-        </para>   
+
+        <itemizedlist>
+            <listitem>
+                <para> Soporta tanto Autenticación "Digest" como Básica. </para>
+            </listitem>
+            <listitem>
+                <para> Establece retos en todos los proyectos soportados, por lo
+                    que el cliente puede responder con cualquier proyecto que
+                    soporte. </para>
+            </listitem>
+            <listitem>
+                <para> Soporta autenticación proxy. </para>
+            </listitem>
+            <listitem>
+                <para> Incluye soporte para la autenticación contra archivos de
+                    texto y proporciona una interfaz para autenticar contra
+                    otras fuentes, tales como bases de datos. </para>
+            </listitem>
+        </itemizedlist>
+
+
+        <para> Hay algunas características notables del
+            <acronym>RFC</acronym>-2617 no implementadas todavía: </para>
         <itemizedlist>
             <listitem>
-                    <para> Seguimiento "nonce", que permitiría un gran apoyo, y un aumento de la protección de repetidos ataques.
-                    </para>
-                </listitem>
-                <listitem>
-                    <para> Autenticación con comprobación de integridad, o "auth-int". </para>
-                </listitem>
-                <listitem>
-                    <para> Cabecera de información de la autenticación <acronym>HTTP</acronym>. </para>
-                </listitem>
-            </itemizedlist>
-       
+                <para> Seguimiento "nonce", que permitiría un gran apoyo, y un
+                    aumento de la protección de repetidos ataques. </para>
+            </listitem>
+            <listitem>
+                <para> Autenticación con comprobación de integridad, o
+                    "auth-int". </para>
+            </listitem>
+            <listitem>
+                <para> Cabecera de información de la autenticación
+                        <acronym>HTTP</acronym>. </para>
+            </listitem>
+        </itemizedlist>
+
 
     </sect2>
 
@@ -61,11 +71,15 @@
 
         <title>Descripción del diseño</title>
 
-        <para> Este adaptador consiste en dos sub-componentes, la propia clase autenticación <acronym>HTTP</acronym>, y el llamado "Resolvers". La
-            clase autenticación <acronym>HTTP</acronym> encapsula la lógica para llevar a cabo tanto la autenticación basica y la "Digest". Utiliza
-            un Resolver para buscar la identidad de un cliente en los datos almacenados (por defecto, archivos de texto), y
-            recuperar las credenciales de los datos almacenados. Las credenciales del "Resolved" se comparan con los valores
-            presentados por el cliente para determinar si la autenticación es satisfactoria. </para>
+        <para> Este adaptador consiste en dos sub-componentes, la propia clase
+            autenticación <acronym>HTTP</acronym>, y el llamado "Resolvers". La
+            clase autenticación <acronym>HTTP</acronym> encapsula la lógica para
+            llevar a cabo tanto la autenticación basica y la "Digest". Utiliza
+            un Resolver para buscar la identidad de un cliente en los datos
+            almacenados (por defecto, archivos de texto), y recuperar las
+            credenciales de los datos almacenados. Las credenciales del
+            "Resolved" se comparan con los valores presentados por el cliente
+            para determinar si la autenticación es satisfactoria. </para>
 
     </sect2>
 
@@ -73,72 +87,94 @@
 
         <title>Opciones de Configuración</title>
 
-        <para> La clase <classname>Zend_Auth_Adapter_Http</classname> requiere un array configurado que pasará a su constructor.
-            Hay varias opciones de configuración disponibles, y algunas son obligatorias: 
-            </para>
-            <table
-                id="zend.auth.adapter.configuration_options.table">
-                <title>Opciones de Configuración</title>
-                <tgroup cols="3">
-                    <thead>
-                        <row>
-                            <entry>Nombre de Opción</entry>
-                            <entry>Obligatoria</entry>
-                            <entry>Descripción</entry>
-                        </row>
-                    </thead>
-                    <tbody>
-                        <row>
-                            <entry>
-                                <emphasis><property>accept_schemes</property></emphasis>
-                            </entry>
-                            <entry>Si</entry>
-                            <entry> Determina que tareas de autenticación acepta el adaptador del cliente. Debe ser una lista
-                                separada por espacios que contengo <emphasis>'basic'</emphasis> y/o
+        <para> La clase <classname>Zend_Auth_Adapter_Http</classname> requiere
+            un array configurado que pasará a su constructor. Hay varias
+            opciones de configuración disponibles, y algunas son obligatorias: </para>
+        <table id="zend.auth.adapter.configuration_options.table">
+            <title>Opciones de Configuración</title>
+            <tgroup cols="3">
+                <thead>
+                    <row>
+                        <entry>Nombre de Opción</entry>
+                        <entry>Obligatoria</entry>
+                        <entry>Descripción</entry>
+                    </row>
+                </thead>
+                <tbody>
+                    <row>
+                        <entry>
+                            <emphasis>
+                                <property>accept_schemes</property>
+                            </emphasis>
+                        </entry>
+                        <entry>Si</entry>
+                        <entry> Determina que tareas de autenticación acepta el
+                            adaptador del cliente. Debe ser una lista separada
+                            por espacios que contengo
+                                <emphasis>'basic'</emphasis> y/o
                                 <emphasis>'digest'</emphasis>. </entry>
-                        </row>
-                        <row>
-                            <entry>
-                                <emphasis><property>realm</property></emphasis>
-                            </entry>
-                            <entry>Si</entry>
-                            <entry> Establece el realm de autenticación; usernames debe ser único dentro de un determinado realm.
-                            </entry>
-                        </row>
-                        <row>
-                            <entry>
-                                <emphasis><property>digest_domains</property></emphasis>
-                            </entry>
-                            <entry>Si, cuando <methodname>'accept_schemes'</methodname> contiene
-                                <emphasis>'digest'</emphasis></entry>
-                            <entry> Lista de URIs separadas por espacios para las cuales la misma información de autenticación es
-                                válida. No es necesario que todas las URIs apunten al mismo oservidor. </entry>
-                        </row>
-                        <row>
-                            <entry>
-                                <emphasis><property>nonce_timeout</property></emphasis>
-                            </entry>
-                            <entry>Si, cuando <methodname>'accept_schemes'</methodname> contiene
-                                <emphasis>'digest'</emphasis></entry>
-                            <entry> Establece el número de segundos para los cuales el "nonce" es válido. Ver notas de abajo.
-                            </entry>
-                        </row>
-                        <row>
-                            <entry><emphasis><property>proxy_auth</property></emphasis></entry>
-                            <entry>No</entry>
-                            <entry> Deshabilitado por defecto. Permite llevar a cabo la autenticación del Proxy, en lugar de la
-                                autenticación normal del servidor. </entry>
-                        </row>
-                    </tbody>
-                </tgroup>
-            </table>
+                    </row>
+                    <row>
+                        <entry>
+                            <emphasis>
+                                <property>realm</property>
+                            </emphasis>
+                        </entry>
+                        <entry>Si</entry>
+                        <entry> Establece el realm de autenticación; usernames
+                            debe ser único dentro de un determinado realm.
+                        </entry>
+                    </row>
+                    <row>
+                        <entry>
+                            <emphasis>
+                                <property>digest_domains</property>
+                            </emphasis>
+                        </entry>
+                        <entry>Si, cuando
+                                <methodname>'accept_schemes'</methodname>
+                            contiene <emphasis>'digest'</emphasis></entry>
+                        <entry> Lista de URIs separadas por espacios para las
+                            cuales la misma información de autenticación es
+                            válida. No es necesario que todas las URIs apunten
+                            al mismo oservidor. </entry>
+                    </row>
+                    <row>
+                        <entry>
+                            <emphasis>
+                                <property>nonce_timeout</property>
+                            </emphasis>
+                        </entry>
+                        <entry>Si, cuando
+                                <methodname>'accept_schemes'</methodname>
+                            contiene <emphasis>'digest'</emphasis></entry>
+                        <entry> Establece el número de segundos para los cuales
+                            el "nonce" es válido. Ver notas de abajo. </entry>
+                    </row>
+                    <row>
+                        <entry>
+                            <emphasis>
+                                <property>proxy_auth</property>
+                            </emphasis>
+                        </entry>
+                        <entry>No</entry>
+                        <entry> Deshabilitado por defecto. Permite llevar a cabo
+                            la autenticación del Proxy, en lugar de la
+                            autenticación normal del servidor. </entry>
+                    </row>
+                </tbody>
+            </tgroup>
+        </table>
 
         <note>
-            <para> La implementación actual del <property>nonce_timeout</property> tiene algunos efectos colaterales
-                interesantes. Este ajuste es supuesto para determinar la vida util válida para un determinado "nonce", o de manera
-                efectiva el tiempo que una información de autenticación del cliente es aceptada. Actualmente, si se establece en
-                3600 (por ejemplo), hará que el adaptador indique al cliente las nuevas credenciales cada hora, a la hora en
-                punto. </para>
+            <para> La implementación actual del
+                    <property>nonce_timeout</property> tiene algunos efectos
+                colaterales interesantes. Este ajuste es supuesto para
+                determinar la vida util válida para un determinado "nonce", o de
+                manera efectiva el tiempo que una información de autenticación
+                del cliente es aceptada. Actualmente, si se establece en 3600
+                (por ejemplo), hará que el adaptador indique al cliente las
+                nuevas credenciales cada hora, a la hora en punto. </para>
         </note>
 
     </sect2>
@@ -147,47 +183,62 @@
 
         <title>Resolvers</title>
 
-        <para> El trabajo del "Resolver" es tener un username y un realm, y devolver algún valor de tipo credencial. La
-            autenticación básica espera recibir la versión codificada en Base64 de la contraseña del usuario. La autenticación
-            "Digest" espera recibir un hash del username del usuario, un realm, y su contraseña (separados por coma). Actualmente,
-            sólo se admite el algoritmo de hash <acronym>MD5</acronym>. </para>
+        <para> El trabajo del "Resolver" es tener un username y un realm, y
+            devolver algún valor de tipo credencial. La autenticación básica
+            espera recibir la versión codificada en Base64 de la contraseña del
+            usuario. La autenticación "Digest" espera recibir un hash del
+            username del usuario, un realm, y su contraseña (separados por
+            coma). Actualmente, sólo se admite el algoritmo de hash
+                <acronym>MD5</acronym>. </para>
 
         <para>
-            <classname>Zend_Auth_Adapter_Http</classname> se basa en la implementación de objetos
-                <classname>Zend_Auth_Adapter_Http_Resolver_Interface</classname>. Un archivo de texto de la clase "Resolve" se
-            incluye con este adaptador, pero cualquier otro tipo de "resolver" puede ser creado simplemente implementando la
-            interfaz del "resolver". </para>
+            <classname>Zend_Auth_Adapter_Http</classname> se basa en la
+            implementación de objetos
+                <classname>Zend_Auth_Adapter_Http_Resolver_Interface</classname>.
+            Un archivo de texto de la clase "Resolve" se incluye con este
+            adaptador, pero cualquier otro tipo de "resolver" puede ser creado
+            simplemente implementando la interfaz del "resolver". </para>
 
         <sect3 id="zend.auth.adapter.http.resolvers.file">
-
             <title>Archivo Resolver</title>
-
-            <para> El archivo "resolver" es una clase muy simple. Tiene una única propiedad que especifique un nombre de archivo,
-                que también puede ser pasado al constructor. Su método <methodname>resolve()</methodname> recorre el archivo de
-                texto, buscando una linea con el correspondiente username y realm. El formato del archivo de texto es similar a
-                los archivos htpasswd de Apache: <programlisting><![CDATA[
+            <para> El archivo "resolver" es una clase muy simple. Tiene una
+                única propiedad que especifique un nombre de archivo, que
+                también puede ser pasado al constructor. Su método
+                    <methodname>resolve()</methodname> recorre el archivo de
+                texto, buscando una linea con el correspondiente username y
+                realm. El formato del archivo de texto es similar a los archivos
+                htpasswd de Apache: 
+                </para>
+                <programlisting><![CDATA[
 <username>:<realm>:<credentials>\n
-]]></programlisting> Cada linea consta de tres campos -username, realm, y credenciales - cada uno separados por dos puntos. El
-                campo credenciales es opaco al archivo "resolver"; simplemente devuelve el valor tal como és al llamador. Por lo
-                tanto, este formato de archivo sirve tanto de autenticación básica como "Digest". En la autenticación básica, el
-                campo credenciales debe ser escrito en texto claro. En la autenticación "Digest", debería ser en hash <acronym>MD5</acronym>  descrito
+]]></programlisting>
+                <para>
+                Cada linea consta de tres campos -username, realm, y
+                credenciales - cada uno separados por dos puntos. El campo
+                credenciales es opaco al archivo "resolver"; simplemente
+                devuelve el valor tal como és al llamador. Por lo tanto, este
+                formato de archivo sirve tanto de autenticación básica como
+                "Digest". En la autenticación básica, el campo credenciales debe
+                ser escrito en texto claro. En la autenticación "Digest",
+                debería ser en hash <acronym>MD5</acronym> descrito
                 anteriormente. </para>
-
-            <para> Hay dos formas igualmente fácil de crear un archivo de "resolver": 
-            </para>
-                <programlisting language="php"><![CDATA[
+            
+            <para> Hay dos formas igualmente fácil de crear un archivo de
+                "resolver": </para>
+            <programlisting language="php"><![CDATA[
 $path     = 'files/passwd.txt';
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File($path);
-]]></programlisting> 
-            <para>
-          o
-          </para>
+]]></programlisting>
+            <para> o </para>
             <programlisting language="php"><![CDATA[
 $path     = 'files/passwd.txt';
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $resolver->setFile($path);
-]]></programlisting> Si la ruta está vacía o no se puede leer, se lanza una excepción. 
-
+]]></programlisting> 
+            <para>
+            Si la ruta está vacía o no se puede leer, se lanza una
+            excepción.
+            </para>
         </sect3>
 
     </sect2>
@@ -196,33 +247,34 @@ $resolver->setFile($path);
 
         <title>Uso Básico</title>
 
-        <para> En primer lugar, establecemos un array con los valores de configuración obligatorios: 
-        </para>    
-            <programlisting language="php"><![CDATA[
+        <para> En primer lugar, establecemos un array con los valores de
+            configuración obligatorios: </para>
+        <programlisting language="php"><![CDATA[
 $config = array(
     'accept_schemes' => 'basic digest',
     'realm'          => 'My Web Site',
     'digest_domains' => '/members_only /my_account',
     'nonce_timeout'  => 3600,
 );
-]]></programlisting> 
-            <para>
-            Este array hará que el adaptador acepte la autenticación básica o "Digest", y requerirá un acceso autenticado
-            a todas las áreas del sitio en <filename>/members_only</filename> y <filename>/my_account</filename>. El valor
-            realm es normalmente mostrado por el navegador en el cuadro de dialogo contraseña. El
-                <property>nonce_timeout</property>, por supuesto, se comporta como se ha descrito anteriormente. </para>
-
-        <para> A continuación, creamos el objeto Zend_Auth_Adapter_Http: 
-        </para>    
-            <programlisting language="php"><![CDATA[
+]]></programlisting>
+        <para> Este array hará que el adaptador acepte la autenticación básica o
+            "Digest", y requerirá un acceso autenticado a todas las áreas del
+            sitio en <filename>/members_only</filename> y
+                <filename>/my_account</filename>. El valor realm es normalmente
+            mostrado por el navegador en el cuadro de dialogo contraseña. El
+                <property>nonce_timeout</property>, por supuesto, se comporta
+            como se ha descrito anteriormente. </para>
+
+        <para> A continuación, creamos el objeto Zend_Auth_Adapter_Http: </para>
+        <programlisting language="php"><![CDATA[
 $adapter = new Zend_Auth_Adapter_Http($config);
 ]]></programlisting>
-        
 
-        <para> Ya que estamos soportando tanto la autenticación básica como la "Digest", necesitamos dos objetos diferentes
-            resolver. Tenga en cuenta que esto podría ser facilmente dos clases diferentes: 
-        </para>
-            <programlisting language="php"><![CDATA[
+
+        <para> Ya que estamos soportando tanto la autenticación básica como la
+            "Digest", necesitamos dos objetos diferentes resolver. Tenga en
+            cuenta que esto podría ser facilmente dos clases diferentes: </para>
+        <programlisting language="php"><![CDATA[
 $basicResolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $basicResolver->setFile('files/basicPasswd.txt');
 
@@ -232,13 +284,12 @@ $digestResolver->setFile('files/digestPasswd.txt');
 $adapter->setBasicResolver($basicResolver);
 $adapter->setDigestResolver($digestResolver);
 ]]></programlisting>
-      
 
-        <para> Por último, realizamos la autenticación. El adaptador necesita una referencia a ambos objetos solicitud y respuesta
-            para hacer su trabajo: 
-            
-        </para>
-            <programlisting language="php"><![CDATA[
+
+        <para> Por último, realizamos la autenticación. El adaptador necesita
+            una referencia a ambos objetos solicitud y respuesta para hacer su
+            trabajo: </para>
+        <programlisting language="php"><![CDATA[
 assert($request instanceof Zend_Controller_Request_Http);
 assert($response instanceof Zend_Controller_Response_Http);
 
@@ -250,7 +301,7 @@ if (!$result->isValid()) {
     // Bad userame/password, or canceled password prompt
 }
 ]]></programlisting>
-       
+
 
     </sect2>
 

+ 349 - 220
documentation/manual/es/module_specs/Zend_Date-Overview.xml

@@ -1,30 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 17344 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.date.overview">
 
     <title>Zend_Date API Overview</title>
 
-    <para>
-        Mientras la API <classname>Zend_Date</classname> permanece simple y unitaria, el diseo permanece flexible y poderoso
-        a travs de las permiutaciones de operaciones y operandos.
-    </para>
+    <para> Mientras la <acronym>API</acronym> <classname>Zend_Date</classname> permanece simple y unitaria, el diseo permanece flexible y poderoso a
+        travs de las permiutaciones de operaciones y operandos. </para>
 
     <sect2 id="zend.date.options">
 
         <title>Opciones Zend_Date</title>
 
+  
         <sect3 id="zend.date.options.formattype">
 
-            <title>seleccionando el tipo de formato de la fecha</title>
+            <title>Selecting the Date Format Type</title>
 
             <para>
-                Several methods use date format strings, in a way similar to PHP's <methodname>date()</methodname>.
-                If you are more comfortable with PHP's date format specifier than with ISO format specifiers,
-                then you can use <classname>Zend_Date::setOptions(array('format_type' => 'php'))</classname>.
-                Afterward, use PHP's date format specifiers for all functions which accept a <methodname>$format</methodname> parameter.
-                Use <classname>Zend_Date::setOptions(array('format_type' => 'iso'))</classname> to switch back to the default mode of
-                supporting only ISO date format tokens. For a list of supported format codes, see
+                Several methods use date format strings, in a way similar to <acronym>PHP</acronym>'s
+                <methodname>date()</methodname>. If you are more comfortable with <acronym>PHP</acronym>'s date format
+                specifier than with <acronym>ISO</acronym> format specifiers, then you can use
+                <methodname>Zend_Date::setOptions(array('format_type' => 'php'))</methodname>.
+                Afterward, use <acronym>PHP</acronym>'s date format specifiers for all functions which accept a
+                <varname>$format</varname> parameter. Use
+                <methodname>Zend_Date::setOptions(array('format_type' => 'iso'))</methodname> to
+                switch back to the default mode of supporting only <acronym>ISO</acronym> date format tokens. For a
+                list of supported format codes, see
                 <xref linkend="zend.date.constants.phpformats" />
             </para>
 
@@ -35,29 +37,34 @@
             <title>DST and Date Math</title>
 
             <para>
-                When dates are manipulated, sometimes they cross over a DST change, normally resulting in the date
-                losing or gaining an hour.  For exmaple, when adding months to a date before a DST change, if the
-                resulting date is after the DST change, then the resulting date will appear to lose or gain an hour,
-                resulting in the time value of the date changing.  For boundary dates, such as midnight of the first
-                or last day of a month, adding enough months to cross a date boundary results in the date losing
-                an hour and becoming the last hour of the preceding month, giving the appearance of an "off by 1"
-                error.  To avoid this situation, the DST change ignored by using the <methodname>fix_dst</methodname> option.
-                When crossing the Summer/Winter DST boundary, normally an hour is substracted or added depending
-                on the date.  For example, date math crossing the Spring DST leads to a date having a day value
-                one less than expected, if the time part of the date was originally 00:00:00.  Since Zend_Date
-                is based on timestamps, and not calendar dates with a time component, the timestamp loses an hour,
-                resulting in the date having a calendar day value one less than expected.
-                To prevent such problems use the option <methodname>fix_dst</methodname>, which defaults to true, causing DST
-                to have no effect on date "math" (<methodname>addMOnth(), subMonth()</methodname>). Use
-                <classname>Zend_Date::setOptions(array('fix_dst' => false))</classname> to enable the subtraction or addition
-                of the DST adjustment when performing date "math".
+                When dates are manipulated, sometimes they cross over a <acronym>DST</acronym> change, normally
+                resulting in the date losing or gaining an hour. For exmaple, when adding months to
+                a date before a <acronym>DST</acronym> change, if the resulting date is after the <acronym>DST</acronym> change, then the
+                resulting date will appear to lose or gain an hour, resulting in the time value of
+                the date changing. For boundary dates, such as midnight of the first or last day of
+                a month, adding enough months to cross a date boundary results in the date losing an
+                hour and becoming the last hour of the preceding month, giving the appearance of an
+                "off by 1" error. To avoid this situation, the <acronym>DST</acronym> change ignored by using the
+                <code>fix_dst</code> option. When crossing the Summer/Winter <acronym>DST</acronym> boundary, normally
+                an hour is substracted or added depending on the date. For example, date math
+                crossing the Spring <acronym>DST</acronym> leads to a date having a day value one less than expected,
+                if the time part of the date was originally 00:00:00. Since <classname>Zend_Date</classname> is based on
+                timestamps, and not calendar dates with a time component, the timestamp loses an
+                hour, resulting in the date having a calendar day value one less than expected. To
+                prevent such problems use the option <code>fix_dst</code>, which defaults to <constant>TRUE</constant>,
+                causing <acronym>DST</acronym> to have no effect on date "math" (<methodname>addMonth()</methodname>,
+                <methodname>subMonth()</methodname>). Use
+                <methodname>Zend_Date::setOptions(array('fix_dst' => false))</methodname> to
+                enable the subtraction or addition of the <acronym>DST</acronym> adjustment when performing date
+                "math".
             </para>
 
             <para>
-                <emphasis>If your actual timezone within the instance of <classname>Zend_Date</classname>
-                is set to UTC or GMT the option <methodname>'fix_dst'</methodname> will not be used</emphasis> because
-                these two timezones do not work with DST. When you change the timezone for this instance
-                again to a timezone which is not UTC or GMT the previous set 'fix_dst' option will be used
+                <emphasis>If your actual timezone within the instance of
+                <classname>Zend_Date</classname> is set to <acronym>UTC</acronym> or <acronym>GMT</acronym> the option
+                <code>'fix_dst'</code> will not be used</emphasis> because these two timezones do
+                not work with <acronym>DST</acronym>. When you change the timezone for this instance again to a
+                timezone which is not <acronym>UTC</acronym> or <acronym>GMT</acronym> the previous set 'fix_dst' option will be used
                 again for date "math".
             </para>
         </sect3>
@@ -67,19 +74,22 @@
             <title>Month Calculations</title>
 
             <para>
-                When adding or substracting months from an existing date, the resulting value for the day of
-                the month might be unexpected, if the original date fell on a day close to the end of the month.
-                For example, when adding one month to January 31st, people familiar with SQL will expect February
-                28th as the result. On the other side, people familiar with Excel and OpenOffice will expect
-                March 3rd as the result. The problem only occurs, if the resulting month does not have the day,
-                which is set in the original date.  For ZF developers, the desired behavior is selectable using
-                the <methodname>extend_month</methodname> option to choose either the SQL behaviour, if set to false,
-                or the spreadsheet behaviour when set to true. The default behaviour for <methodname>extend_month</methodname>
-                is false, providing behavior compatible to SQL.  By default, <classname>Zend_Date</classname> computes month
-                calculations by truncating dates to the end of the month (if necessary), without wrapping into the
-                next month when the original date designates a day of the month exceeding the number of days in
-                the resulting month.  Use <classname>Zend_Date::setOptions(array('extend_month' => true));</classname>
-                to make month calculations work like popular spreadsheet programs.
+                When adding or substracting months from an existing date, the resulting value for
+                the day of the month might be unexpected, if the original date fell on a day close
+                to the end of the month. For example, when adding one month to January 31st, people
+                familiar with <acronym>SQL</acronym> will expect February 28th as the result. On the other side, people
+                familiar with Excel and OpenOffice will expect March 3rd as the result. The problem
+                only occurs, if the resulting month does not have the day, which is set in the
+                original date. For Zend Framework developers, the desired behavior is selectable
+                using the <code>extend_month</code> option to choose either the <acronym>SQL</acronym> behaviour, if
+                set to <constant>FALSE</constant>, or the spreadsheet behaviour when set to <constant>TRUE</constant>. The default behaviour
+                for <code>extend_month</code> is <constant>FALSE</constant>, providing behavior compatible to <acronym>SQL</acronym>. By
+                default, <classname>Zend_Date</classname> computes month calculations by truncating
+                dates to the end of the month (if necessary), without wrapping into the next month
+                when the original date designates a day of the month exceeding the number of days in
+                the resulting month. Use
+                <classname>Zend_Date::setOptions(array('extend_month' => true));</classname> to make
+                month calculations work like popular spreadsheet programs.
             </para>
 
         </sect3>
@@ -89,12 +99,13 @@
             <title>Speed up Date Localization and Normalization with Zend_Cache</title>
 
             <para>
-                You can speed up <classname>Zend_Date</classname> by using an <classname>Zend_Cache</classname> adapter.
-                This speeds up all methods of <classname>Zend_Date</classname> when you are using localized data.
-                For example all methods which accept <classname>Zend_Date::DATE</classname> and
-                <classname>Zend_Date::TIME</classname> constants would benefit from this. To set an <classname>Zend_Cache</classname>
-                adapter to <classname>Zend_Date</classname> just use
-                <classname>Zend_Date::setOptions(array('cache' => $adapter));</classname>.
+                You can speed up <classname>Zend_Date</classname> by using an
+                <classname>Zend_Cache</classname> adapter. This speeds up all methods of
+                <classname>Zend_Date</classname> when you are using localized data. For example all
+                methods which accept <constant>Zend_Date::DATE</constant> and
+                <constant>Zend_Date::TIME</constant> constants would benefit from this. To set an
+                <classname>Zend_Cache</classname> adapter to <classname>Zend_Date</classname> just
+                use <classname>Zend_Date::setOptions(array('cache' => $adapter));</classname>.
             </para>
 
         </sect3>
@@ -108,7 +119,7 @@
                 is able to handle such problems with the help of <classname>Zend_TimeSync</classname>. You can set a
                 timeserver with <classname>Zend_Date::setOptions(array('timesync' => $timeserver));</classname> which
                 will set the offset between the own actual timestamp and the real actual timestamp for all
-                instances of Zend_Date. Using this option does not change the timestamp of existing instances.
+                instances of <classname>Zend_Date</classname>. Using this option does not change the timestamp of existing instances.
                 So best usage is to set it within the bootstrap file.
             </para>
 
@@ -121,40 +132,43 @@
         <title>Working with Date Values</title>
 
         <para>
-            Once input has been normalized via the creation of a <classname>Zend_Date</classname> object, it will have an
-            associated timezone, but an internal representation using standard
-            <ulink url="http://en.wikipedia.org/wiki/Unix_Time">UNIX timestamps</ulink>
-            . In order for a date to be rendered in a localized manner, a timezone must be known first. The default
-            timezone is always GMT/UTC. To examine an object's timezone use <methodname>getTimeZone())</methodname>. To change an
-            object's timezone, use <methodname>setTimeZone())</methodname>. All manipulations of these objects are assumed to be
+            Once input has been normalized via the creation of a <classname>Zend_Date</classname>
+            object, it will have an associated timezone, but an internal representation using
+            standard <ulink url="http://en.wikipedia.org/wiki/Unix_Time">UNIX timestamps</ulink>.
+            In order for a date to be rendered in a localized manner, a timezone must be known
+            first. The default timezone is always <acronym>GMT</acronym>/UTC. To examine an object's timezone use
+            <methodname>getTimeZone()</methodname>. To change an object's timezone, use
+            <methodname>setTimeZone()</methodname>. All manipulations of these objects are assumed to be
             relative to this timezone.
         </para>
 
         <para>
-            Beware of mixing and matching operations with date parts between date objects for different timezones, which
-            generally produce undesireable results, unless the manipulations are only related to the timestamp.
-            Operating on <classname>Zend_Date</classname> objects having different timezones generally works, except as just
-            noted, since dates are normalized to UNIX timestamps on instantiation of <classname>Zend_Date</classname>.
+            Beware of mixing and matching operations with date parts between date objects for
+            different timezones, which generally produce undesireable results, unless the
+            manipulations are only related to the timestamp. Operating on
+            <classname>Zend_Date</classname> objects having different timezones generally works,
+            except as just noted, since dates are normalized to UNIX timestamps on instantiation of
+            <classname>Zend_Date</classname>.
         </para>
 
         <para>
-            Most methods expect a constant selecting the desired <methodname>$part</methodname> of a date, such as
-            <classname>Zend_Date::HOUR</classname>. These constants are valid for all of the functions below. A list of all
-            available constants is provided in
-            <xref linkend="zend.date.constants.list" />
-            . If no <methodname>$part</methodname> is specified, then <classname>Zend_Date::TIMESTAMP</classname> is assumed. Alternatively, a
-            user-specified format may be used for <methodname>$part</methodname>, using the same underlying mechanism and format
-            codes as
-            <link linkend="zend.locale.date.normalize"><classname>Zend_Locale_Format::getDate()</classname>
-            </link>
-            . If a date object is constructed using an obviously invalid date (e.g. a month number greater than 12),
-            then <classname>Zend_Date</classname> will throw an exception, unless no specific date format has been selected -i.e.
-            <methodname>$part</methodname> is either <constant>NULL</constant> or <classname>Zend_Date::DATES</classname> (a "loose" format).
+            Most methods expect a constant selecting the desired <varname>$part</varname> of a date,
+            such as <constant>Zend_Date::HOUR</constant>. These constants are valid for all of the
+            functions below. A list of all available constants is provided in
+            <xref linkend="zend.date.constants.list" />. If no <varname>$part</varname> is
+            specified, then <constant>Zend_Date::TIMESTAMP</constant> is assumed. Alternatively, a
+            user-specified format may be used for <varname>$part</varname>, using the same
+            underlying mechanism and format codes as <link
+                linkend="zend.locale.date.normalize"><methodname>Zend_Locale_Format::getDate()</methodname></link>.
+            If a date object is constructed using an obviously invalid date (e.g. a month number
+            greater than 12), then <classname>Zend_Date</classname> will throw an exception, unless
+            no specific date format has been selected -i.e. <varname>$part</varname> is either
+            <constant>NULL</constant> or <constant>Zend_Date::DATES</constant> (a "loose" format).
         </para>
 
         <example id="zend.date.values.example-1">
             <title>User-Specified Input Date Format</title>
-             <programlisting language="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date1 = new Zend_Date('Feb 31, 2007', null, 'en_US');
 echo $date1, "\n"; // outputs "Mar 3, 2007 12:00:00 AM"
 
@@ -168,30 +182,35 @@ echo $date3, "\n"; // outputs "Mar 3, 2007 12:00:00 AM"
         </example>
 
         <para>
-            If the optional <methodname>$locale</methodname> parameter is provided, then the <methodname>$locale</methodname> disambiguates the
-            <methodname>$date</methodname> operand by replacing month and weekday names for string <methodname>$date</methodname> operands, and
-            even parsing date strings expressed according to the conventions of that locale (see <methodname>
-            <link linkend="zend.locale.date.normalize">Zend_Locale_Format::getDate()</link>
-            </methodname> ). The automatic normalization of localized <methodname>$date</methodname> operands of a string type occurs when
-            <methodname>$part</methodname> is one of the <classname>Zend_Date::DATE*</classname> or <classname>Zend_Date::TIME*</classname> constants.
-            The locale identifies which language should be used to parse month names and weekday names, if the
-            <methodname>$date</methodname> is a string containing a date. If there is no <methodname>$date</methodname> input parameter, then
-            the <methodname>$locale</methodname> parameter specifies the locale to use for localizing output (e.g. the date format
-            for a string representation). Note that the <methodname>$date</methodname> input parameter might actually have a type
-            name instead (e.g. <methodname>$hour</methodname> for <methodname>addHour()</methodname>), although that does not prevent the use of
-            <classname>Zend_Date</classname> objects as arguments for that parameter. If no <methodname>$locale</methodname> was specified,
-            then the locale of the current object is used to interpret <methodname>$date</methodname>, or select the localized
-            format for output.
+            If the optional <varname>$locale</varname> parameter is provided, then the
+            <varname>$locale</varname> disambiguates the <varname>$date</varname> operand by
+            replacing month and weekday names for string <varname>$date</varname> operands, and even
+            parsing date strings expressed according to the conventions of that locale (see <code>
+            <link linkend="zend.locale.date.normalize">Zend_Locale_Format::getDate()</link> </code>
+            ). The automatic normalization of localized <varname>$date</varname> operands of a
+            string type occurs when <varname>$part</varname> is one of the
+            <classname>Zend_Date::DATE*</classname> or <classname>Zend_Date::TIME*</classname>
+            constants. The locale identifies which language should be used to parse month names and
+            weekday names, if the <varname>$date</varname> is a string containing a date. If there
+            is no <varname>$date</varname> input parameter, then the <varname>$locale</varname>
+            parameter specifies the locale to use for localizing output (e.g. the date format for a
+            string representation). Note that the <varname>$date</varname> input parameter might
+            actually have a type name instead (e.g. <varname>$hour</varname> for
+            <methodname>addHour()</methodname>), although that does not prevent the use of
+            <classname>Zend_Date</classname> objects as arguments for that parameter. If no
+             <varname>$locale</varname> was specified, then the locale of the current object is used
+             to interpret <varname>$date</varname>, or select the localized format for output.
         </para>
 
         <para>
-            Since Zend Framework 1.7.0 <classname>Zend_Date</classname> does also support the usage of an application
-            wide locale. You can simply set a <classname>Zend_Locale</classname> instance to the registry like shown
-            below. With this notation you can forget about setting the locale manually with each instance when
-            you want to use the same locale multiple times.
+            Since Zend Framework 1.7.0 <classname>Zend_Date</classname> does also support the usage
+            of an application wide locale. You can simply set a <classname>Zend_Locale</classname>
+            instance to the registry like shown below. With this notation you can forget about
+            setting the locale manually with each instance when you want to use the same locale
+            multiple times.
         </para>
 
-         <programlisting language="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // in your bootstrap file
 $locale = new Zend_Locale('de_AT');
 Zend_Registry::set('Zend_Locale', $locale);
@@ -204,22 +223,27 @@ $date = new Zend_Date('31.Feb.2007');
 
     <sect2 id="id.date.basic">
 
-        <title>Basic <classname>Zend_Date</classname> Operations Common to Many Date Parts</title>
+        <title>Basic Zend_Date Operations Common to Many Date Parts</title>
 
         <para>
-            The methods <methodname>add(), sub(), compare(), get(), and set()</methodname> operate generically on dates. In each
-            case, the operation is performed on the date held in the instance object. The <methodname>$date</methodname> operand is
-            required for all of these methods, except <methodname>get()</methodname>, and may be a <classname>Zend_Date</classname> instance
-            object, a numeric string, or an integer. These methods assume <methodname>$date</methodname> is a timestamp, if it is
-            not an object. However, the <methodname>$part</methodname> operand controls which logical part of the two dates are
-            operated on, allowing operations on parts of the object's date, such as year or minute, even when
-            <methodname>$date</methodname> contains a long form date string, such as, "December 31, 2007 23:59:59". The result of
-            the operation changes the date in the object, except for <methodname>compare()</methodname>, and <methodname>get()</methodname>.
+            The methods <methodname>add()</methodname>, <methodname>sub()</methodname>,
+            <methodname>compare()</methodname>, <methodname>get()</methodname>, and
+            <methodname>set()</methodname> operate generically on dates. In each case, the
+            operation is performed on the date held in the instance object. The
+            <varname>$date</varname> operand is required for all of these methods, except
+            <methodname>get()</methodname>, and may be a <classname>Zend_Date</classname> instance
+            object, a numeric string, or an integer. These methods assume <varname>$date</varname>
+            is a timestamp, if it is not an object. However, the <varname>$part</varname> operand
+            controls which logical part of the two dates are operated on, allowing operations on
+            parts of the object's date, such as year or minute, even when <varname>$date</varname>
+            contains a long form date string, such as, "December 31, 2007 23:59:59". The result of
+            the operation changes the date in the object, except for
+            <methodname>compare()</methodname>, and <methodname>get()</methodname>.
         </para>
 
         <example id="zend.date.basic.example-1">
             <title>Operating on Parts of Dates</title>
-             <programlisting language="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date = new Zend_Date(); // $date's timestamp === time()
 
 // changes $date by adding 12 hours
@@ -229,20 +253,23 @@ print $date;
         </example>
 
         <para>
-            Convenience methods exist for each combination of the basic operations and several common date parts as
-            shown in the tables below. These convenience methods help us lazy programmers avoid having to type out the
-            <link linkend="zend.date.constants.list">date part constants</link>
-            when using the general methods above. Conveniently, they are named by combining a prefix (name of a basic
-            operation) with a suffix (type of date part), such as <methodname>addYear()</methodname>. In the list below, all
-            combinations of "Date Parts" and "Basic Operations" exist. For example, the operation "add" exists for each
-            of these date parts, including <methodname>addDay()</methodname>, <methodname>addYear()</methodname>, etc.
+            Convenience methods exist for each combination of the basic operations and several
+            common date parts as shown in the tables below. These convenience methods help us lazy
+            programmers avoid having to type out the <link linkend="zend.date.constants.list">date
+                part constants</link> when using the general methods above. Conveniently, they are
+            named by combining a prefix (name of a basic operation) with a suffix (type of date
+            part), such as <methodname>addYear()</methodname>. In the list below, all combinations
+            of "Date Parts" and "Basic Operations" exist. For example, the operation "add" exists
+            for each of these date parts, including <methodname>addDay()</methodname>,
+            <methodname>addYear()</methodname>, etc.
         </para>
 
         <para>
-            These convenience methods have the same equivalent functionality as the basic operation methods, but expect
-            string and integer <methodname>$date</methodname> operands containing only the values representing the type indicated by
-            the suffix of the convenience method. Thus, the names of these methods (e.g. "Year" or "Minute") identify
-            the units of the <methodname>$date</methodname> operand, when <methodname>$date</methodname> is a string or integer.
+            These convenience methods have the same equivalent functionality as the basic operation
+            methods, but expect string and integer <varname>$date</varname> operands containing only
+            the values representing the type indicated by the suffix of the convenience method.
+            Thus, the names of these methods (e.g. "Year" or "Minute") identify the units of the
+            <varname>$date</varname> operand, when <varname>$date</varname> is a string or integer.
         </para>
 
         <sect3 id="id.date.basic.parts">
@@ -261,86 +288,165 @@ print $date;
                     <tbody>
                         <row>
                             <entry>
-                                <ulink url="http://en.wikipedia.org/wiki/Unix_Time">Timestamp</ulink>
+                                <ulink
+                                    url="http://en.wikipedia.org/wiki/Unix_Time">Timestamp</ulink>
                             </entry>
                             <entry>
-                            UNIX timestamp, expressed in seconds elapsed since January 1st, 1970 00:00:00 GMT/UTC.
-                        </entry>
+                                UNIX timestamp, expressed in seconds elapsed since January 1st, 1970
+                                00:00:00 <acronym>GMT</acronym>/UTC.
+                            </entry>
                         </row>
                         <row>
                             <entry>
-                                <ulink url="http://en.wikipedia.org/wiki/Gregorian_calendar">Year</ulink>
+                                <ulink
+                                    url="http://en.wikipedia.org/wiki/Gregorian_calendar">Year</ulink>
                             </entry>
                             <entry>Gregorian calendar year (e.g. 2006)</entry>
                         </row>
                         <row>
                             <entry>
-                                <ulink url="http://en.wikipedia.org/wiki/Month#Julian_and_Gregorian_calendars">Month</ulink>
+                                <ulink
+                                    url="http://en.wikipedia.org/wiki/Month#Julian_and_Gregorian_calendars">Month</ulink>
+                            </entry>
+                            <entry>
+                                Gregorian calendar month (1-12, localized names supported)
                             </entry>
-                            <entry>Gregorian calendar month (1-12, localized names supported)</entry>
                         </row>
                         <row>
                             <entry>
-                                <ulink url="http://en.wikipedia.org/wiki/24-hour_clock">24 hour clock</ulink>
+                                <ulink
+                                    url="http://en.wikipedia.org/wiki/24-hour_clock">24 hour
+                                    clock</ulink>
+                            </entry>
+                            <entry>
+                                Hours of the day (0-23) denote the hours elapsed, since the start of
+                                the day.
                             </entry>
-                            <entry>Hours of the day (0-23) denote the hours elapsed, since the start of the day.</entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://en.wikipedia.org/wiki/Minute">minute</ulink>
                             </entry>
-                            <entry>Minutes of the hour (0-59) denote minutes elapsed, since the start of the hour.</entry>
+                            <entry>
+                                Minutes of the hour (0-59) denote minutes elapsed, since the start
+                                of the hour.
+                            </entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://en.wikipedia.org/wiki/Second">Second</ulink>
                             </entry>
-                            <entry>Seconds of the minute (0-59) denote the elapsed seconds, since the start of the minute.</entry>
+                            <entry>
+                                Seconds of the minute (0-59) denote the elapsed seconds, since the
+                                start of the minute.
+                            </entry>
                         </row>
                         <row>
                             <entry>
-                                <ulink url="http://en.wikipedia.org/wiki/Millisecond">millisecond</ulink>
+                                <ulink
+                                    url="http://en.wikipedia.org/wiki/Millisecond">millisecond</ulink>
+                            </entry>
+                            <entry>
+                                Milliseconds denote thousandths of a second (0-999).
+                                <classname>Zend_Date</classname> supports two additional methods
+                                for working with time units smaller than seconds. By default,
+                                <classname>Zend_Date</classname> instances use a precision
+                                defaulting to milliseconds, as seen using
+                                <methodname>getFractionalPrecision()</methodname>. To change the
+                                precision use
+                                <methodname>setFractionalPrecision($precision)</methodname>.
+                                However, precision is limited practically to microseconds, since
+                                <classname>Zend_Date</classname> uses <code><ulink
+                                    url="http://php.net/microtime">microtime()</ulink></code>.
                             </entry>
-                            <entry>Milliseconds denote thousandths of a second (0-999). <classname>Zend_Date</classname> supports two additional methods for working with time units smaller than seconds. By default, <classname>Zend_Date</classname> instances use a precision defaulting to milliseconds, as seen using <methodname>getFractionalPrecision()</methodname>. To change the precision use <methodname>setFractionalPrecision($precision)</methodname>.  However, precision is limited practically to microseconds, since <classname>Zend_Date</classname> uses <methodname>
-                                <ulink url="http://php.net/microtime">microtime()</ulink></methodname>.</entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://en.wikipedia.org/wiki/Day">Day</ulink>
                             </entry>
-                            <entry><classname>Zend_Date::DAY_SHORT</classname> is extracted from <methodname>$date</methodname> if the <methodname>$date</methodname> operand is an instance of <classname>Zend_Date</classname> or a numeric string.  Otherwise, an attempt is made to extract the day according to the conventions documented for these constants: <classname>Zend_Date::WEEKDAY_NARROW</classname>, <classname>Zend_Date::WEEKDAY_NAME</classname>, <classname>Zend_Date::WEEKDAY_SHORT</classname>, <classname>Zend_Date::WEEKDAY</classname> (Gregorian calendar assumed)</entry>
+                            <entry>
+                                <constant>Zend_Date::DAY_SHORT</constant> is extracted from
+                                <varname>$date</varname> if the <varname>$date</varname> operand is
+                                an instance of <classname>Zend_Date</classname> or a numeric string.
+                                Otherwise, an attempt is made to extract the day according to the
+                                conventions documented for these constants:
+                                <constant>Zend_Date::WEEKDAY_NARROW</constant>,
+                                <constant>Zend_Date::WEEKDAY_NAME</constant>,
+                                <constant>Zend_Date::WEEKDAY_SHORT</constant>,
+                                <constant>Zend_Date::WEEKDAY</constant> (Gregorian calendar
+                                assumed)
+                            </entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://en.wikipedia.org/wiki/Week">Week</ulink>
                             </entry>
-                            <entry><classname>Zend_Date::WEEK</classname> is extracted from <methodname>$date</methodname> if the <methodname>$date</methodname> operand is an instance of <classname>Zend_Date</classname> or a numeric string. Otherwise an exception is raised. (Gregorian calendar assumed)</entry>
+                            <entry>
+                                <constant>Zend_Date::WEEK</constant> is extracted from
+                                <varname>$date</varname> if the <varname>$date</varname> operand is
+                                an instance of <classname>Zend_Date</classname> or a numeric string.
+                                Otherwise an exception is raised. (Gregorian calendar assumed)
+                            </entry>
                         </row>
                         <row>
                             <entry>Date</entry>
-                            <entry><classname>Zend_Date::DAY_MEDIUM</classname> is extracted from <methodname>$date</methodname> if the <methodname>$date</methodname> operand is an instance of <classname>Zend_Date</classname>.  Otherwise, an attempt is made to normalize the <methodname>$date</methodname> string into a Zend_Date::DATE_MEDIUM formatted date. The format of <classname>Zend_Date::DAY_MEDIUM</classname> depends on the object's locale.</entry>
+                            <entry>
+                                <constant>Zend_Date::DAY_MEDIUM</constant> is extracted from
+                                <varname>$date</varname> if the <varname>$date</varname> operand is
+                                an instance of <classname>Zend_Date</classname>. Otherwise, an
+                                attempt is made to normalize the <varname>$date</varname> string
+                                into a Zend_Date::DATE_MEDIUM formatted date. The format of
+                                <constant>Zend_Date::DAY_MEDIUM</constant> depends on the object's
+                                locale.
+                            </entry>
                         </row>
                         <row>
                             <entry>Weekday</entry>
-                            <entry>Weekdays are represented numerically as 0 (for Sunday) through 6 (for Saturday).  <classname>Zend_Date::WEEKDAY_DIGIT</classname> is extracted from <methodname>$date</methodname>, if the <methodname>$date</methodname> operand is an instance of <classname>Zend_Date</classname> or a numeric string.  Otherwise, an attempt is made to extract the day according to the conventions documented for these constants: <classname>Zend_Date::WEEKDAY_NARROW</classname>, <classname>Zend_Date::WEEKDAY_NAME</classname>, <classname>Zend_Date::WEEKDAY_SHORT</classname>, <classname>Zend_Date::WEEKDAY</classname> (Gregorian calendar assumed)</entry>
+                            <entry>
+                                Weekdays are represented numerically as 0 (for Sunday) through 6
+                                (for Saturday). <constant>Zend_Date::WEEKDAY_DIGIT</constant> is
+                                extracted from <varname>$date</varname>, if the
+                                <varname>$date</varname> operand is an instance of
+                                <classname>Zend_Date</classname> or a numeric string. Otherwise, an
+                                attempt is made to extract the day according to the conventions
+                                documented for these constants:
+                                <constant>Zend_Date::WEEKDAY_NARROW</constant>,
+                                <constant>Zend_Date::WEEKDAY_NAME</constant>,
+                                <constant>Zend_Date::WEEKDAY_SHORT</constant>,
+                                <constant>Zend_Date::WEEKDAY</constant> (Gregorian calendar
+                                assumed)
+                            </entry>
                         </row>
                         <row>
                             <entry>DayOfYear</entry>
-                            <entry>In <classname>Zend_Date</classname>, the day of the year represents the number of calendar days elapsed since the start of the year (0-365).  As with other units above, fractions are rounded down to the nearest whole number. (Gregorian calendar assumed)
-                        </entry>
+                            <entry>
+                                In <classname>Zend_Date</classname>, the day of the year represents
+                                the number of calendar days elapsed since the start of the year
+                                (0-365). As with other units above, fractions are rounded down to
+                                the nearest whole number. (Gregorian calendar assumed)
+                            </entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://www.faqs.org/rfcs/rfc822.html">Arpa</ulink>
                             </entry>
-                            <entry>Arpa dates (i.e. RFC 822 formatted dates) are supported. Output uses either a "GMT" or "Local differential hours+min" format (see section 5 of RFC 822).  Before PHP 5.2.2, using the DATE_RFC822 constant with PHP date functions sometimes produces <ulink url="http://bugs.php.net/bug.php?id=40308">incorrect results</ulink>.  Zend_Date's results are correct.  Example: <methodname>Mon, 31 Dec 06 23:59:59 GMT</methodname>
+                            <entry>
+                                Arpa dates (i.e. <acronym>RFC</acronym> 822 formatted dates) are supported. Output uses
+                                either a "GMT" or "Local differential hours+min" format (see section
+                                5 of <acronym>RFC</acronym> 822). Before <acronym>PHP</acronym> 5.2.2, using the DATE_RFC822 constant with
+                                <acronym>PHP</acronym> date functions sometimes produces <ulink
+                                    url="http://bugs.php.net/bug.php?id=40308">incorrect
+                                    results</ulink>. Zend_Date's results are correct. Example:
+                                <code>Mon, 31 Dec 06 23:59:59 GMT</code>
                             </entry>
                         </row>
                         <row>
                             <entry>
                                 <ulink url="http://en.wikipedia.org/wiki/ISO_8601">Iso</ulink>
                             </entry>
-                            <entry>Only complete ISO 8601 dates are supported for output. Example: <methodname>2009-02-14T00:31:30+01:00</methodname>
+                            <entry>
+                                Only complete <acronym>ISO</acronym> 8601 dates are supported for output. Example:
+                                <code>2009-02-14T00:31:30+01:00</code>
                             </entry>
                         </row>
                     </tbody>
@@ -354,10 +460,10 @@ print $date;
             <title>List of Date Operations</title>
 
             <para>
-                The basic operations below can be used instead of the convenience operations for specific date parts, if
-                the
+                The basic operations below can be used instead of the convenience operations for
+                specific date parts, if the
                 <link linkend="zend.date.constants.list">appropriate constant</link>
-                is used for the <methodname>$part</methodname> parameter.
+                is used for the <varname>$part</varname> parameter.
             </para>
 
             <table id="id.date.basic.operations.table">
@@ -377,12 +483,16 @@ print $date;
                                     <emphasis>get($part = null, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    Use <methodname>get($part)</methodname> to retrieve the date <methodname>$part</methodname> of this object's
-                                    date localized to <methodname>$locale</methodname> as a formatted string or integer. When using
-                                    the BCMath extension, numeric strings might be returned instead of integers for
-                                    large values. <emphasis>NOTE:</emphasis> Unlike <methodname>get()</methodname>,
-                                    the other get*() convenience methods only return instances of <classname>Zend_Date</classname>
-                                    containing a date representing the selected or computed date/time.
+                                    Use <methodname>get($part)</methodname> to retrieve the date
+                                    <varname>$part</varname> of this object's date localized to
+                                    <varname>$locale</varname> as a formatted string or integer.
+                                    When using the BCMath extension, numeric strings might be
+                                    returned instead of integers for large values.
+                                    <emphasis>NOTE:</emphasis> Unlike
+                                    <methodname>get()</methodname>, the other
+                                    get*() convenience methods only return instances of
+                                    <classname>Zend_Date</classname> containing a date representing
+                                    the selected or computed date/time.
                                 </para>
                             </entry>
                         </row>
@@ -393,9 +503,10 @@ print $date;
                                     <emphasis>set($date, $part = null, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    Sets the <methodname>$part</methodname> of the current object to the corresponding value for
-                                    that part found in the input <methodname>$date</methodname> having a locale
-                                    <methodname>$locale</methodname>.
+                                    Sets the <varname>$part</varname> of the current object to the
+                                    corresponding value for that part found in the input
+                                    <varname>$date</varname> having a locale
+                                    <varname>$locale</varname>.
                                 </para>
                             </entry>
                         </row>
@@ -406,8 +517,9 @@ print $date;
                                     <emphasis>add($date, $part = null, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    Adds the <methodname>$part</methodname> of <methodname>$date</methodname> having a locale
-                                    <methodname>$locale</methodname> to the current object's date.
+                                    Adds the <varname>$part</varname> of <varname>$date</varname>
+                                    having a locale <varname>$locale</varname> to the current
+                                    object's date.
                                 </para>
                             </entry>
                         </row>
@@ -418,8 +530,9 @@ print $date;
                                     <emphasis>sub($date, $part = null, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    Subtracts the <methodname>$part</methodname> of <methodname>$date</methodname> having a locale
-                                    <methodname>$locale</methodname> from the current object's date.
+                                    Subtracts the <varname>$part</varname> of
+                                    <varname>$date</varname> having a locale
+                                    <varname>$locale</varname> from the current object's date.
                                 </para>
                             </entry>
                         </row>
@@ -430,9 +543,10 @@ print $date;
                                     <emphasis>copyPart($part, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    Returns a cloned object, with only <methodname>$part</methodname> of the object's date copied to
-                                    the clone, with the clone have its locale arbitrarily set to <methodname>$locale</methodname>
-                                    (if specified).
+                                    Returns a cloned object, with only <varname>$part</varname> of
+                                    the object's date copied to the clone, with the clone have its
+                                    locale arbitrarily set to <varname>$locale</varname> (if
+                                    specified).
                                 </para>
                             </entry>
                         </row>
@@ -443,9 +557,10 @@ print $date;
                                     <emphasis>compare($date, $part = null, $locale = null)</emphasis>
                                 </para>
                                 <para>
-                                    compares <methodname>$part</methodname> of <methodname>$date</methodname> to this object's timestamp,
-                                    returning 0 if they are equal, 1 if this object's part was more recent than $date's
-                                    part, otherwise -1.
+                                    compares <varname>$part</varname> of <varname>$date</varname> to
+                                    this object's timestamp, returning 0 if they are equal, 1 if
+                                    this object's part was more recent than $date's part, otherwise
+                                    -1.
                                 </para>
                             </entry>
                         </row>
@@ -462,8 +577,8 @@ print $date;
         <title>Comparing Dates</title>
 
         <para>
-            The following basic operations do not have corresponding convenience methods for the date parts listed in
-            <xref linkend="zend.date.overview" />
+            The following basic operations do not have corresponding convenience methods for the
+            date parts listed in <xref linkend="zend.date.overview" />
             .
         </para>
 
@@ -484,9 +599,10 @@ print $date;
                                 <emphasis>equals($date, $part = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                returns true, if <methodname>$part</methodname> of <methodname>$date</methodname> having locale
-                                <methodname>$locale</methodname> is the same as this object's date <methodname>$part</methodname>, otherwise
-                                false
+                                returns <constant>TRUE</constant>, if <varname>$part</varname> of
+                                <varname>$date</varname> having locale <varname>$locale</varname> is
+                                the same as this object's date <varname>$part</varname>, otherwise
+                                <constant>FALSE</constant>
                             </para>
                         </entry>
                     </row>
@@ -497,8 +613,9 @@ print $date;
                                 <emphasis>isEarlier($date, $part = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                returns true, if <methodname>$part</methodname> of this object's date is earlier than
-                                <methodname>$part</methodname> of <methodname>$date</methodname> having a locale <methodname>$locale</methodname>
+                                returns <constant>TRUE</constant>, if <varname>$part</varname> of this object's date is
+                                earlier than <varname>$part</varname> of <varname>$date</varname>
+                                having a locale <varname>$locale</varname>
                             </para>
                         </entry>
                     </row>
@@ -509,8 +626,9 @@ print $date;
                                 <emphasis>isLater($date, $part = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                returns true, if <methodname>$part</methodname> of this object's date is later than
-                                <methodname>$part</methodname> of <methodname>$date</methodname> having a locale <methodname>$locale</methodname>
+                                returns <constant>TRUE</constant>, if <varname>$part</varname> of this object's date is
+                                later than <varname>$part</varname> of <varname>$date</varname>
+                                having a locale <varname>$locale</varname>
                             </para>
                         </entry>
                     </row>
@@ -521,8 +639,8 @@ print $date;
                                 <emphasis>isToday()</emphasis>
                             </para>
                             <para>
-                                Tests if today's year, month, and day match this object's date value, using this
-                                object's timezone.
+                                Tests if today's year, month, and day match this object's date
+                                value, using this object's timezone.
                             </para>
                         </entry>
                     </row>
@@ -533,8 +651,8 @@ print $date;
                                 <emphasis>isTomorrow()</emphasis>
                             </para>
                             <para>
-                                Tests if tomorrow's year, month, and day match this object's date value, using this
-                                object's timezone.
+                                Tests if tomorrow's year, month, and day match this object's date
+                                value, using this object's timezone.
                             </para>
                         </entry>
                     </row>
@@ -545,8 +663,8 @@ print $date;
                                 <emphasis>isYesterday()</emphasis>
                             </para>
                             <para>
-                                Tests if yesterday's year, month, and day match this object's date value, using this
-                                object's timezone.
+                                Tests if yesterday's year, month, and day match this object's date
+                                value, using this object's timezone.
                             </para>
                         </entry>
                     </row>
@@ -557,9 +675,12 @@ print $date;
                                 <emphasis>isLeapYear()</emphasis>
                             </para>
                             <para>
-                                Use <methodname>isLeapYear()</methodname> to determine if the current object is a leap year, or use
-                                Zend_Date::checkLeapYear($year) to check $year, which can be a string, integer, or
-                                instance of <classname>Zend_Date</classname>. Is the year a leap year?
+                                Use <methodname>isLeapYear()</methodname> to determine if the
+                                current object is a leap year, or use
+                                <methodname>Zend_Date::checkLeapYear($year)</methodname> to check
+                                <varname>$year</varname>, which can be a string, integer, or
+                                instance of <classname>Zend_Date</classname>. Is the year a leap
+                                year?
                             </para>
                         </entry>
                     </row>
@@ -570,10 +691,10 @@ print $date;
                                 <emphasis>isDate($date, $format = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                This method checks if a given date is a real date and returns true if all checks are ok.
-                                It works like PHP's checkdate() function but can also check for localized month names and
-                                for dates extending the range of checkdate()
-                                false
+                                This method checks if a given date is a real date and returns <constant>TRUE</constant>
+                                if all checks are ok. It works like <acronym>PHP</acronym>'s checkdate() function but
+                                can also check for localized month names and for dates extending the
+                                range of checkdate()
                             </para>
                         </entry>
                     </row>
@@ -588,7 +709,8 @@ print $date;
         <title>Getting Dates and Date Parts</title>
 
         <para>
-            Several methods support retrieving values related to a <classname>Zend_Date</classname> instance.
+            Several methods support retrieving values related to a <classname>Zend_Date</classname>
+            instance.
         </para>
 
         <table id="zend.date.others.gettingparts.table">
@@ -608,12 +730,13 @@ print $date;
                                 <emphasis>toString($format = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                Invoke directly or via the magic method <methodname>__toString()</methodname>. The
-                                <methodname>toString()</methodname> method automatically formats the date object's value according
-                                to the conventions of the object's locale, or an optionally specified
-                                <methodname>$locale</methodname>. For a list of supported format codes, see
-                                <xref linkend="zend.date.constants.selfdefinedformats" />
-                                .
+                                Invoke directly or via the magic method
+                                <methodname>__toString()</methodname>. The
+                                <methodname>toString()</methodname> method automatically formats
+                                the date object's value according to the conventions of the
+                                object's locale, or an optionally specified
+                                <varname>$locale</varname>. For a list of supported format codes,
+                                see <xref linkend="zend.date.constants.selfdefinedformats" />.
                             </para>
                         </entry>
                     </row>
@@ -625,82 +748,84 @@ print $date;
                             </para>
                             <para>
                                 Returns an array representation of the selected date according to
-                                the conventions of the object's locale. The returned array is equivalent to
-                                PHP's <ulink url="http://php.net/getdate">getdate()</ulink> function and includes:
+                                the conventions of the object's locale. The returned array is
+                                equivalent to <acronym>PHP</acronym>'s <ulink
+                                    url="http://php.net/getdate">getdate()</ulink> function and
+                                includes:
                             </para>
                             <para>
                                 <itemizedlist>
                                     <listitem>
                                         <para>
                                             Number of day as '<emphasis>day</emphasis>'
-                                            (<classname>Zend_Date::DAY_SHORT</classname>)
+                                            (<constant>Zend_Date::DAY_SHORT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Number of month as '<emphasis>month</emphasis>'
-                                            (<classname>Zend_Date::MONTH_SHORT</classname>)
+                                            (<constant>Zend_Date::MONTH_SHORT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Year as '<emphasis>year</emphasis>'
-                                            (<classname>Zend_Date::YEAR</classname>)
+                                            (<constant>Zend_Date::YEAR</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Hour as '<emphasis>hour</emphasis>'
-                                            (<classname>Zend_Date::HOUR_SHORT</classname>)
+                                            (<constant>Zend_Date::HOUR_SHORT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Minute as '<emphasis>minute</emphasis>'
-                                            (<classname>Zend_Date::MINUTE_SHORT</classname>)
+                                            (<constant>Zend_Date::MINUTE_SHORT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Second as '<emphasis>second</emphasis>'
-                                            (<classname>Zend_Date::SECOND_SHORT</classname>)
+                                            (<constant>Zend_Date::SECOND_SHORT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Abbreviated timezone as '<emphasis>timezone</emphasis>'
-                                            (<classname>Zend_Date::TIMEZONE</classname>)
+                                            (<constant>Zend_Date::TIMEZONE</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Unix timestamp as '<emphasis>timestamp</emphasis>'
-                                            (<classname>Zend_Date::TIMESTAMP</classname>)
+                                            (<constant>Zend_Date::TIMESTAMP</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Number of weekday as '<emphasis>weekday</emphasis>'
-                                            (<classname>Zend_Date::WEEKDAY_DIGIT</classname>)
+                                            (<constant>Zend_Date::WEEKDAY_DIGIT</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Day of year as '<emphasis>dayofyear</emphasis>'
-                                            (<classname>Zend_Date::DAY_OF_YEAR</classname>)
+                                            (<constant>Zend_Date::DAY_OF_YEAR</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
                                             Week as '<emphasis>week</emphasis>'
-                                            (<classname>Zend_Date::WEEK</classname>)
+                                            (<constant>Zend_Date::WEEK</constant>)
                                         </para>
                                     </listitem>
                                     <listitem>
                                         <para>
-                                            Delay of timezone to GMT as
+                                            Delay of timezone to <acronym>GMT</acronym> as
                                             '<emphasis>gmtsecs</emphasis>'
-                                            (<classname>Zend_Date::GMT_SECS</classname>)
+                                            (<constant>Zend_Date::GMT_SECS</constant>)
                                         </para>
                                     </listitem>
                                 </itemizedlist>
@@ -714,16 +839,17 @@ print $date;
                                 <emphasis>toValue($part = null)</emphasis>
                             </para>
                             <para>
-                                Returns an integer representation of the selected date <methodname>$part</methodname> according to
-                                the conventions of the object's locale. Returns <methodname>false</methodname> when
-                                <methodname>$part</methodname> selects a non-numeric value, such as
-                                <classname>Zend_Date::MONTH_NAME_SHORT</classname>. <emphasis>NOTE:</emphasis> This
-                                method calls
-                                <link linkend="id.date.basic.operations"><methodname>get()</methodname>
-                                </link>
-                                and casts the result to a PHP integer, which will give unpredictable results, if
-                                <methodname>get()</methodname> returns a numeric string containing a number too large for a PHP
-                                integer on your system. Use <methodname>get()</methodname> instead.
+                                Returns an integer representation of the selected date
+                                <varname>$part</varname> according to the conventions of the
+                                object's locale. Returns <constant>FALSE</constant> when
+                                <varname>$part</varname> selects a non-numeric value, such as
+                                <constant>Zend_Date::MONTH_NAME_SHORT</constant>.
+                                <emphasis>NOTE:</emphasis> This method calls <link
+                                    linkend="id.date.basic.operations"><methodname>get()</methodname></link>
+                                and casts the result to a <acronym>PHP</acronym> integer, which will give
+                                unpredictable results, if <methodname>get()</methodname> returns a
+                                numeric string containing a number too large for a <acronym>PHP</acronym> integer on
+                                your system. Use <methodname>get()</methodname> instead.
                             </para>
                         </entry>
                     </row>
@@ -736,9 +862,9 @@ print $date;
                                 <emphasis>get($part = null, $locale = null)</emphasis>
                             </para>
                             <para>
-                                This method returns the <methodname>$part</methodname> of object's date localized to
-                                <methodname>$locale</methodname> as a formatted string or integer. See
-                                <xref linkend="id.date.basic.operations" />
+                                This method returns the <varname>$part</varname> of object's date
+                                localized to <varname>$locale</varname> as a formatted string or
+                                integer. See <xref linkend="id.date.basic.operations" />
                                 for more information.
                             </para>
                         </entry>
@@ -750,8 +876,10 @@ print $date;
                                 <emphasis>now($locale = null)</emphasis>
                             </para>
                             <para>
-                                This convenience function is equivalent to <methodname>new Zend_Date()</methodname>. It returns the
-                                current date as a <classname>Zend_Date</classname> object, having <methodname>$locale</methodname>
+                                This convenience function is equivalent to <command>new
+                                Zend_Date()</command>. It returns the current date as a
+                                <classname>Zend_Date</classname> object, having
+                                <varname>$locale</varname>
                             </para>
                         </entry>
                     </row>
@@ -766,7 +894,8 @@ print $date;
         <title>Working with Fractions of Seconds</title>
 
         <para>
-            Several methods support retrieving values related to a <classname>Zend_Date</classname> instance.
+            Several methods support retrieving values related to a <classname>Zend_Date</classname>
+            instance.
         </para>
 
         <table id="zend.date.others.fractions.table">
@@ -806,8 +935,8 @@ print $date;
         <title>Sunrise / Sunset</title>
 
         <para>
-            Three methods provide access to geographically localized information about the Sun, including the time of
-            sunrise and sunset.
+            Three methods provide access to geographically localized information about the Sun,
+            including the time of sunrise and sunset.
         </para>
 
         <table id="zend.date.other.sun.table">

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 550 - 414
documentation/manual/es/module_specs/Zend_Dojo-Form-Elements.xml


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 336 - 393
documentation/manual/es/module_specs/Zend_Pdf-Drawing.xml


+ 2 - 1
documentation/manual/es/ref/coding_standard.xml

@@ -176,7 +176,8 @@
             <para>
                 Vea los nombres de clase en las bibliotecas estandar y
                 adicionales (extras) como ejemplos de esta convención de nombres.
-			<pare>
+			</para>
+			    
 			<note>
 				<para>
                 <emphasis>IMPORTANTE:</emphasis> El código que deba distribuirse

+ 1 - 1
documentation/manual/es/ref/copyrights.xml

@@ -4,7 +4,7 @@
     <title>Copyright Information</title>
 
     <para>
-        The following copyrights are applicable to portions of Zend Framework.
+		Los siguientes son los derechos de autor aplicables a las porciones de Zend Framework.
     </para>
 
     <para>

+ 60 - 46
documentation/manual/es/ref/installation.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 17325 -->
 <sect1 id="introduction.installation">
 
     <title> Instalación</title>
@@ -10,61 +10,75 @@
     </para>
 
     <para>
-        La instalación del Zend Framework es muy simple. Una vez que haya descargado y descomprimido el framework, deberá añadir la carpeta "/library" de la distribución al principio de su "include path". También puede mover la carpeta "library" a cualquier otra posición (compartida o no) de su sistema de archivos.
-
+        La instalación del Zend Framework es muy simple. Una vez que haya descargado y descomprimido el framework, deberá añadir la carpeta <filename>/library</filename> de la distribución al principio de su "include path". También puede mover la carpeta "library" a cualquier otra posición (compartida o no) de su sistema de archivos.
+	</para>
+	
         <itemizedlist>
             <listitem>
                 <para>
-                      <ulink url="http://framework.zend.com/download">Descargar la última versión estable.</ulink> Esta versión esta disponible en formatos<methodname>.zip</methodname>. <methodname>.tar.gz</methodname>, es una buena opción para aquellos que comienzan o son nuevos en Zend Framework.
-                </para>
-            </listitem>
-            <listitem>
-                <para>
-                    <ulink url="http://framework.zend.com/download/snapshot">Download the latest nightly
-                    snapshot.</ulink> For those who would brave the cutting edge, the nightly snapshots represent the
-                    latest progress of Zend Framework development. Snapshots are bundled with documentation either in
-                    English only or in all available languages. If you anticipate working with the latest Zend
-                    Framework developments, consider using a Subversion (SVN) client.
+                      <ulink url="http://framework.zend.com/download">Descargar la última versión estable.</ulink> 
+					  Esta versión esta disponible en formatos<filename>.zip</filename>. <filename>.tar.gz</filename>, 
+					  es una buena opción para aquellos que comienzan o son nuevos en Zend Framework.
                 </para>
             </listitem>
-            <listitem>
-                <para>
-                    Using a <ulink url="http://subversion.tigris.org">Subversion</ulink> (SVN) client. Zend Framework
-                    is open source software, and the Subversion repository used for its development is publicly
-                    available. Consider using SVN to get the Zend Framework if you already use SVN for your
-                    application development, want to contribute back to the framework, or need to upgrade your
-                    framework version more often than releases occur.
-                </para>
-                <para>
-                    <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.export.html">Exporting</ulink> is
-                    useful if you want to get a particular framework revision without the <methodname>.svn</methodname>
-                    directories as created in a working copy.
-                </para>
-                <para>
-                    <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.checkout.html">Checking out a
-                    working copy</ulink> is good when you might contribute to Zend Framework, and a working copy can
-                    be updated any time with
-                    <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.update.html"><methodname>svn
-                    update</methodname></ulink>.
-                </para>
-                <para>
-                    <ulink url="http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html">An externals
-                    definition</ulink> is highly convenient for developers already using SVN to manage their
-                    application working copies.
-                </para>
-                <para>
-                    La URL del almacén del repository SVN de Zend Framework es:
-                    <ulink url="http://framework.zend.com/svn/framework/standard/trunk">http://framework.zend.com/svn/framework/standard/trunk</ulink>
-                </para>
-            </listitem>
-        </itemizedlist>
-    </para>
+            
+			<listitem>
+            <para>
+                <ulink url="http://framework.zend.com/download/snapshot">Download the latest
+                nightly snapshot.</ulink> For those who would brave the cutting edge, the
+                nightly snapshots represent the latest progress of Zend Framework development.
+                Snapshots are bundled with documentation either in English only or in all
+                available languages. If you anticipate working with the latest Zend Framework
+                developments, consider using a Subversion (<acronym>SVN</acronym>) client.
+            </para>
+        </listitem>
+        <listitem>
+            <para>
+                Using a <ulink url="http://subversion.tigris.org">Subversion</ulink>
+                (<acronym>SVN</acronym>) client. Zend Framework is open source software, and the
+                Subversion repository used for its development is publicly available. Consider
+                using <acronym>SVN</acronym> to get Zend Framework if you already use
+                <acronym>SVN</acronym> for your application development, want to
+                contribute back to the framework, or need to upgrade your framework version
+                more often than releases occur.
+            </para>
+            <para>
+                <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.export.html">
+                Exporting</ulink> is useful if you want to get a particular framework revision
+                without the <filename>.svn</filename> directories as created in a working copy.
+            </para>
+            <para>
+                <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.checkout.html">
+                Check out a working copy</ulink> if you want contribute to Zend Framework, a
+                working copy can be updated any time with
+                <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.update.html">
+                svn update</ulink> and changes can be commited to our <acronym>SVN</acronym>
+                repository with the
+                <ulink url="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.commit.html">
+                svn commit</ulink> command.
+            </para>
+            <para>
+                An
+                <ulink url="http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html">
+                externals definition</ulink> is quite convenient for developers already using
+                <acronym>SVN</acronym> to manage their application’s working copies.
+            </para>
+            <para>
+                The <acronym>URL</acronym> for the trunk of Zend Framework’s <acronym>SVN</acronym>
+                repository is: <ulink
+                    url="http://framework.zend.com/svn/framework/standard/trunk">
+                    http://framework.zend.com/svn/framework/standard/trunk</ulink>
+            </para>
+        </listitem>
+    </itemizedlist>
+
 
     <para>
         Una vez que tenga disponible una copia de Zend Framework, su aplicación necesita poder acceder a las clases del framework. Aunque hay
         <ulink url="http://www.php.net/manual/en/configuration.changes.php">
         diferentes maneras de lograr esto</ulink>, su
-        <ulink url="http://www.php.net/manual/en/ini.core.php#ini.include-path"><methodname>include_path</methodname></ulink> de PHP necesita contener una ruta a la librería de Zend Framework.
+        <ulink url="http://www.php.net/manual/en/ini.core.php#ini.include-path"><methodname>include_path</methodname></ulink> de 
+		<acronym>PHP</acronym> necesita contener una ruta a la librería de Zend Framework.
     </para>
 
     <para>

+ 47 - 46
documentation/manual/es/ref/performance-classloading.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- Reviewed: no -->
 <sect1 id="performance.classloading">
     <title>Class Loading</title>
 
@@ -8,10 +8,10 @@
         immediately recognize that class loading is relatively expensive in Zend
         Framework. Between the sheer number of class files that need to be
         loaded for many components, to the use of plugins that do not have a 1:1
-        relationship between their class name and the filesystem, the various
-        calls to <methodname>include_once</methodname> and <methodname>require_once</methodname> can be
-        problematic. This chapter intends to provide some concrete solutions to
-        these issues.
+        relationship between their class name and the file system, the various
+        calls to <methodname>include_once()</methodname> and
+        <methodname>require_once()</methodname> can be problematic. This chapter intends to provide
+        some concrete solutions to these issues.
     </para>
 
     <sect2 id="performance.classloading.includepath">
@@ -32,16 +32,17 @@
 
             <para>
                 While this may seem a micro-optimization, the fact is that if
-                you don't, you'll get very little benefit from PHP's realpath
+                you don't, you'll get very little benefit from <acronym>PHP</acronym>'s realpath
                 cache, and as a result, opcode caching will not perform nearly
                 as you may expect.
             </para>
 
             <para>
                 There are two easy ways to ensure this. First, you can hardcode
-                the paths in your php.ini, httpd.conf, or .htaccess. Second, you
-                can use PHP's <methodname>realpath()</methodname> function when setting your
-                include_path:
+                the paths in your <filename>php.ini</filename>, <filename>httpd.conf</filename>,
+                or <filename>.htaccess</filename>. Second, you
+                can use <acronym>PHP</acronym>'s <methodname>realpath()</methodname> function when
+                setting your include_path:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -88,9 +89,9 @@ set_include_path(implode(PATH_SEPARATOR, $paths);
 
             <para>
                 Another optimization is to combine paths. For instance, Zend
-                Framework follows PEAR naming conventions; thus, if you are
-                using PEAR libraries (or libraries from another framework or
-                component library that follows PEAR CS), try to put all of these
+                Framework follows <acronym>PEAR</acronym> naming conventions; thus, if you are
+                using <acronym>PEAR</acronym> libraries (or libraries from another framework or
+                component library that follows <acronym>PEAR</acronym> CS), try to put all of these
                 libraries on the same include_path. This can often be achieved
                 by something as simple as symlinking one or more libraries into
                 a common directory.
@@ -128,16 +129,16 @@ set_include_path(implode(PATH_SEPARATOR, $paths);
 
             <para>
                 Let's put all of these suggestions together. Our assumption will
-                be that you are using one or more PEAR libraries in conjunction
-                with Zend Framework -- perhaps the PHPUnit and Archive_Tar
+                be that you are using one or more <acronym>PEAR</acronym> libraries in conjunction
+                with Zend Framework -- perhaps the PHPUnit and <classname>Archive_Tar</classname>
                 libraries -- and that you occasionally need to include
                 files relative to the current file.
             </para>
 
             <para>
                 First, we'll create a library directory in our project. Inside
-                that directory, we'll symlink our Zend Framework's library/Zend
-                directory, as well as the necessary directories from our PEAR
+                that directory, we'll symlink our Zend Framework's <filename>library/Zend</filename>
+                directory, as well as the necessary directories from our <acronym>PEAR</acronym>
                 installation:
             </para>
 
@@ -156,15 +157,15 @@ library
 
             <para>
                 Next, we'll opt to create our include_path programmatically
-                within our public/index.php file. This allows us to move our
-                code around on the filesystem, without needing to edit the
+                within our <filename>public/index.php</filename> file. This allows us to move our
+                code around on the file system, without needing to edit the
                 include_path every time.
             </para>
 
             <para>
                 We'll borrow ideas from each of the suggestions above: we'll use
                 absolute paths, as determined using <methodname>realpath()</methodname>;
-                we'll include the Zend Framework include path early; we've
+                we'll include Zend Framework's include path early; we've
                 already consolidated include_paths; and we'll put the current
                 directory as the last path. In fact, we're doing really well
                 here -- we're going to end up with only two paths.
@@ -189,16 +190,16 @@ set_include_path(implode(PATH_SEPARATOR, $paths));
             expensive operation of loading a class file until the last possible
             moment -- i.e., when instantiating an object of that class, calling
             a static class method, or referencing a class constant or static
-            property. PHP supports this via autoloading, which allows you to
+            property. <acronym>PHP</acronym> supports this via autoloading, which allows you to
             define one or more callbacks to execute in order to map a class name
             to a file.
         </para>
 
         <para>
             However, most benefits you may reap from autoloading are negated if
-            your library code is still performing require_once calls -- which is
-            precisely the case with Zend Framework. So, the question is: how can
-            you eliminate those require_once calls in order to maximize
+            your library code is still performing <methodname>require_once()</methodname> calls --
+            which is precisely the case with Zend Framework. So, the question is: how can
+            you eliminate those <methodname>require_once()</methodname> calls in order to maximize
             autoloader performance?
         </para>
 
@@ -206,21 +207,21 @@ set_include_path(implode(PATH_SEPARATOR, $paths));
             <title>Strip require_once calls with find and sed</title>
 
             <para>
-                An easy way to strip require_once calls is to use the unix
-                utilities 'find' and 'sed' in conjunction to comment out each
-                call. Try executing the following statements (where '%'
+                An easy way to strip <methodname>require_once()</methodname> calls is to use the
+                <acronym>UNIX</acronym> utilities 'find' and 'sed' in conjunction to comment out
+                each call. Try executing the following statements (where '%'
                 indicates the shell prompt):
             </para>
 
             <programlisting language="shell"><![CDATA[
 % cd path/to/ZendFramework/library
-% find . -name '*.php' -print0 | xargs -0 \
-  sed --regexp-extended --in-place 's/(require_once)/\/\/ \1/g'
+% find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' -print0 | \
+  xargs -0 sed --regexp-extended --in-place 's/(require_once)/\/\/ \1/g'
 ]]></programlisting>
 
             <para>
                 This one-liner (broken into two lines for readability) iterates
-                through each PHP file and tells it to replace each instance of
+                through each <acronym>PHP</acronym> file and tells it to replace each instance of
                 'require_once' with '// require_once', effectively commenting
                 out each such statement.
             </para>
@@ -230,13 +231,13 @@ set_include_path(implode(PATH_SEPARATOR, $paths));
                 process trivially, helping boost performance in your production
                 application. It should be noted, however, that if you use this
                 technique, you <emphasis>must</emphasis> utilize autoloading;
-                you can do that from your "public/index.php" file with the
+                you can do that from your "<filename>public/index.php</filename>" file with the
                 following code:
             </para>
 
             <programlisting language="php"><![CDATA[
-require_once 'Zend/Loader.php'; // one require_once is still necessary
-Zend_Loader::registerAutoload();
+require_once 'Zend/Loader/Autoloader.php';
+Zend_Loader_Autoloader::getInstance();
 ]]></programlisting>
         </sect3>
     </sect2>
@@ -260,7 +261,7 @@ Zend_Loader::registerAutoload();
             through each path attached to it, testing to see if the file exists
             and is readable on that path. It then loads it, and tests to see
             that the class it is looking for is available. As you might imagine,
-            this can lead to many stat calls on the filesystem.
+            this can lead to many stat calls on the file system.
         </para>
 
         <para>
@@ -271,37 +272,37 @@ Zend_Loader::registerAutoload();
 
         <itemizedlist>
             <listitem><para>
-                <methodname>Zend_Controller_Action_HelperBroker</methodname>: helpers
+                <classname>Zend_Controller_Action_HelperBroker</classname>: helpers
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_Dojo</methodname>: view helpers, form elements and decorators
+                <classname>Zend_Dojo</classname>: view helpers, form elements and decorators
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_File_Transfer</methodname>: adapters
+                <classname>Zend_File_Transfer</classname>: adapters
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_Filter_Inflector</methodname>: filters (used by the
-                ViewRenderer action helper and Zend_Layout)
+                <classname>Zend_Filter_Inflector</classname>: filters (used by the
+                ViewRenderer action helper and <classname>Zend_Layout</classname>)
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_Filter_Input</methodname>: filters and validators
+                <classname>Zend_Filter_Input</classname>: filters and validators
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_Form</methodname>: elements, validators, filters,
+                <classname>Zend_Form</classname>: elements, validators, filters,
                 decorators, captcha and file transfer adapters
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_Paginator</methodname>: adapters
+                <classname>Zend_Paginator</classname>: adapters
             </para></listitem>
 
             <listitem><para>
-                <methodname>Zend_View</methodname>: helpers, filters
+                <classname>Zend_View</classname>: helpers, filters
             </para></listitem>
         </itemizedlist>
 
@@ -315,10 +316,10 @@ Zend_Loader::registerAutoload();
 
             <para>
                 Zend Framework 1.7.0 adds an include file cache to the
-                PluginLoader. This functionality writes "include_once" calls to
-                a file, which you can then include in your bootstrap. While this
-                introduces extra include_once calls to your code, it also
-                ensures that the PluginLoader returns as early as possible.
+                PluginLoader. This functionality writes "<methodname>include_once()</methodname>"
+                calls to a file, which you can then include in your bootstrap. While this
+                introduces extra <methodname>include_once()</methodname> calls to your code, it
+                also ensures that the PluginLoader returns as early as possible.
             </para>
 
             <para>

+ 2 - 2
documentation/manual/es/ref/performance-introduction.xml

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- Reviewed: no -->
 <sect1 id="performance.introduction">
     <title>Introduction</title>
 
     <para>
         The purpose of this appendix is to provide some concrete strategies for
         improving the performance of your Zend Framework applications. The guide
-        is presented in a "Question:Answer" format, and broken into areas of
+        is presented in a "Question and Answer" format, and broken into areas of
         concern.
     </para>
 </sect1>

+ 21 - 20
documentation/manual/es/ref/performance-localization.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- Reviewed: no -->
 <sect1 id="performance.localization">
     <title>Internationalization (i18n) and Localization (l10n)</title>
 
@@ -16,7 +16,7 @@
 
         <para>
             Not all translation adapters are made equal. Some have more
-            features than others, and some are more performant than others.
+            features than others, and some perform better than others.
             Additionally, you may have business requirements that force you to
             use a particular adapter. However, if you have a choice, which
             adapters are fastest?
@@ -27,7 +27,7 @@
 
             <para>
                 Zend Framework ships with a variety of translation adapters.
-                Fully half of them utilize an XML format, incurring memory and
+                Fully half of them utilize an <acronym>XML</acronym> format, incurring memory and
                 performance overhead. Fortunately, there are several adapters
                 that utilize other formats that can be parsed much more
                 quickly. In order of speed, from fastest to slowest, they are:
@@ -36,30 +36,31 @@
             <itemizedlist>
                 <listitem><para>
                     <emphasis>Array</emphasis>: this is the fastest, as it is,
-                    by definition, parsed into a native PHP format immediately
+                    by definition, parsed into a native <acronym>PHP</acronym> format immediately
                     on inclusion.
                 </para></listitem>
 
                 <listitem><para>
-                    <emphasis>CSV</emphasis>: uses <methodname>fgetcsv()</methodname> to
-                    parse a CSV file and transform it into a native PHP format.
+                    <emphasis><acronym>CSV</acronym></emphasis>: uses
+                    <methodname>fgetcsv()</methodname> to parse a <acronym>CSV</acronym> file and
+                    transform it into a native <acronym>PHP</acronym> format.
                 </para></listitem>
 
                 <listitem><para>
-                    <emphasis>INI</emphasis>: uses
-                    <methodname>parse_ini_file()</methodname> to parse an INI file and
-                    transform it into a native PHP format. This and the CSV
-                    adapter are roughly equivalent performance-wise.
+                    <emphasis><acronym>INI</acronym></emphasis>: uses
+                    <methodname>parse_ini_file()</methodname> to parse an <acronym>INI</acronym>
+                    file and transform it into a native <acronym>PHP</acronym> format. This and the
+                    <acronym>CSV</acronym> adapter are roughly equivalent performance-wise.
                 </para></listitem>
 
                 <listitem><para>
-                    <emphasis>Gettext</emphasis>: the Zend Framework gettext
-                    adapter does <emphasis>not</emphasis> use the gettext
-                    extension as it is not threadsafe and does not allow
+                    <emphasis>Gettext</emphasis>: The gettext adapter from Zend Framework
+                    does <emphasis>not</emphasis> use the gettext
+                    extension as it is not thread safe and does not allow
                     specifying more than one locale per server. As a result, it
                     is slower than using the gettext extension directly, but,
                     because the gettext format is binary, it's faster to parse
-                    than XML.
+                    than <acronym>XML</acronym>.
                 </para></listitem>
             </itemizedlist>
 
@@ -74,7 +75,7 @@
         <title>How can I make translation and localization even faster?</title>
 
         <para>
-            Maybe, for business reasons, you're limited to an XML-based
+            Maybe, for business reasons, you're limited to an <acronym>XML</acronym>-based
             translation adapter. Or perhaps you'd like to speed things up even
             more. Or perhaps you want to make l10n operations faster. How can
             you do this?
@@ -84,7 +85,7 @@
             <title>Use translation and localization caches</title>
 
             <para>
-                Both <methodname>Zend_Translate</methodname> and <methodname>Zend_Locale</methodname>
+                Both <classname>Zend_Translate</classname> and <classname>Zend_Locale</classname>
                 implement caching functionality that can greatly affect
                 performance. In the case of each, the major bottleneck is
                 typically reading the files, not the actual lookups; using a
@@ -100,15 +101,15 @@
             <itemizedlist>
                 <listitem>
                     <para>
-                        <link linkend="zend.translate.adapter.caching"><methodname>Zend_Translate</methodname>
-                            adapter caching</link>
+                        <link linkend="zend.translate.adapter.caching"><classname>
+                        Zend_Translate</classname> adapter caching</link>
                     </para>
                 </listitem>
 
                 <listitem>
                     <para>
-                        <link linkend="zend.locale.cache"><methodname>Zend_Locale</methodname>
-                            caching</link>
+                        <link linkend="zend.locale.cache"><classname>Zend_Locale</classname>
+                        caching</link>
                     </para>
                 </listitem>
             </itemizedlist>

+ 49 - 43
documentation/manual/es/ref/performance-view.xml

@@ -1,16 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15103 -->
+<!-- Reviewed: no -->
 <sect1 id="performance.view">
     <title>View Rendering</title>
 
     <para>
-        When using Zend Framework's MVC layer, chances are you will be using
-        <methodname>Zend_View</methodname>. <methodname>Zend_View</methodname> is relatively performant
-        when compared to other view or templating engines; since view scripts
-        are written in PHP, you do not incur the overhead of compiling custom
-        markup to PHP, nor do you need to worry that the compiled PHP is
-        unoptimized. However, <methodname>Zend_View</methodname> presents its own issues:
-        extension is done via overloading (view helpers), and a number of view
+        When using Zend Framework's <acronym>MVC</acronym> layer, chances are you will be using
+        <classname>Zend_View</classname>. <classname>Zend_View</classname> is performs well
+        compared to other view or templating engines; since view scripts
+        are written in <acronym>PHP</acronym>, you do not incur the overhead of compiling custom
+        markup to <acronym>PHP</acronym>, nor do you need to worry that the compiled
+        <acronym>PHP</acronym> is not optimized. However, <classname>Zend_View</classname> presents
+        its own issues: extension is done via overloading (view helpers), and a number of view
         helpers, while carrying out key functionality do so with a performance
         cost.
     </para>
@@ -19,25 +19,25 @@
         <title>How can I speed up resolution of view helpers?</title>
 
         <para>
-            Most <methodname>Zend_View</methodname> "methods" are actually provided via
-            overloading to the helper system. This provides important
-            flexibility to Zend_View; instead of needing to extend Zend_View and
-            provide all the helper methods you may utilize in your application,
-            you can define your helper methods in separate classes and consume
-            them at will as if they were direct methods of Zend_View. This keeps
-            the view object itself relatively thin, and ensures that objects are
-            created only when needed.
+            Most <classname>Zend_View</classname> "methods" are actually provided via
+            overloading to the helper system. This provides important flexibility to
+            <classname>Zend_View</classname>; instead of needing to extend
+            <classname>Zend_View</classname> and provide all the helper methods you may
+            utilize in your application, you can define your helper methods in separate
+            classes and consume them at will as if they were direct methods of
+            <classname>Zend_View</classname>. This keeps the view object itself relatively
+            thin, and ensures that objects are created only when needed.
         </para>
 
         <para>
-            Internally, <methodname>Zend_View</methodname> uses the <link
+            Internally, <classname>Zend_View</classname> uses the <link
                 linkend="zend.loader.pluginloader">PluginLoader</link> to look
             up helper classes. This means that for each helper you call,
-            <methodname>Zend_View</methodname> needs to pass the helper name to the
+            <classname>Zend_View</classname> needs to pass the helper name to the
             PluginLoader, which then needs to determine the class name, load the
             class file if necessary, and then return the class name so it may be
             instantiated. Subsequent uses of the helper are much faster, as
-            <methodname>Zend_View</methodname> keeps an internal registry of loaded helpers,
+            <classname>Zend_View</classname> keeps an internal registry of loaded helpers,
             but if you use many helpers, the calls add up.
         </para>
 
@@ -65,7 +65,7 @@
 
             <para>
                 Another solution for those seeking to tune performance even
-                further is to extend <methodname>Zend_View</methodname> to manually add the
+                further is to extend <classname>Zend_View</classname> to manually add the
                 helper methods they most use in their application. Such helper
                 methods may simply manually instantiate the appropriate helper
                 class and proxy to it, or stuff the full helper implementation
@@ -83,9 +83,12 @@ class My_View extends Zend_View
     /**
      * Proxy to url view helper
      *
-     * @param  array $urlOptions Options passed to the assemble method of the Route object.
-     * @param  mixed $name The name of a Route to use. If null it will use the current Route
-     * @param  bool $reset Whether or not to reset the route defaults with those provided
+     * @param  array $urlOptions Options passed to the assemble method
+     *                           of the Route object.
+     * @param  mixed $name The name of a Route to use. If null it will
+     *                     use the current Route
+     * @param  bool $reset Whether or not to reset the route defaults
+     *                     with those provided
      * @return string Url for the link href attribute.
      */
     public function url(array $urlOptions = array(), $name = null,
@@ -142,28 +145,28 @@ class My_View extends Zend_View
 
             <itemizedlist>
                 <listitem><para>
-                    <methodname>$name</methodname>: the name of the view script to render
+                    <varname>$name</varname>: the name of the view script to render
                 </para></listitem>
 
                 <listitem><para>
-                    <methodname>$module</methodname>: the name of the module in which the
+                    <varname>$module</varname>: the name of the module in which the
                     view script resides; or, if no third argument is provided
                     and this is an array or object, it will be the
-                    <methodname>$model</methodname> argument.
+                    <varname>$model</varname> argument.
                 </para></listitem>
 
                 <listitem><para>
-                    <methodname>$model</methodname>: an array or object to pass to the
+                    <varname>$model</varname>: an array or object to pass to the
                     partial representing the clean data to assign to the view.
                 </para></listitem>
             </itemizedlist>
 
             <para>
                 The power and use of <methodname>partial()</methodname> come from the second
-                and third arguments. The <methodname>$module</methodname> argument allows
+                and third arguments. The <varname>$module</varname> argument allows
                 <methodname>partial()</methodname> to temporarily add a script path for the
                 given module so that the partial view script will resolve to
-                that module; the <methodname>$model</methodname> argument allows you to
+                that module; the <varname>$model</varname> argument allows you to
                 explicitly pass variables for use with the partial view.
                 If you're not passing either argument, <emphasis>use
                     <methodname>render()</methodname> instead</emphasis>!
@@ -172,10 +175,10 @@ class My_View extends Zend_View
             <para>
                 Basically, unless you are actually passing variables to the
                 partial and need the clean variable scope, or rendering a view
-                script from another MVC module, there is no reason to incur the
+                script from another <acronym>MVC</acronym> module, there is no reason to incur the
                 overhead of <methodname>partial()</methodname>; instead, use
-                <methodname>Zend_View</methodname>'s built-in <methodname>render()</methodname> method
-                to render the view script.
+                <classname>Zend_View</classname>'s built-in <methodname>render()</methodname>
+                method to render the view script.
             </para>
         </sect3>
     </sect2>
@@ -185,8 +188,8 @@ class My_View extends Zend_View
 
         <para>
             Version 1.5.0 introduced the <methodname>action()</methodname> view helper,
-            which allows you to dispatch an MVC action and capture its rendered
-            content. This provides an important step towards the DRY principle,
+            which allows you to dispatch an <acronym>MVC</acronym> action and capture its rendered
+            content. This provides an important step towards the <acronym>DRY</acronym> principle,
             and promotes code reuse. However, as those who profile their
             applications will quickly realize, it, too, is an expensive
             operation. Internally, the <methodname>action()</methodname> view helper needs
@@ -250,22 +253,22 @@ class LoginPlugin extends Zend_Controller_Plugin_Abstract
 
             <para>
                 The <methodname>UserController::indexAction()</methodname> method might then
-                use the <methodname>responseSegment</methodname> parameter to indicate which
+                use the <varname>$responseSegment</varname> parameter to indicate which
                 response segment to render to. In the layout script, you would
                 then simply render that response segment:
             </para>
 
             <programlisting language="php"><![CDATA[
-<?= $this->layout()->login ?>
+<?php $this->layout()->login ?>
 ]]></programlisting>
 
             <para>
                 While the ActionStack still requires a dispatch cycle, this is
                 still cheaper than the <methodname>action()</methodname> view helper as it
                 does not need to clone objects and reset internal state.
-                Additionally, it ensures that all pre/post dispatch plugins are
+                Additionally, it ensures that all pre and post dispatch plugins are
                 invoked, which may be of particular concern if you are using
-                front controller plugins for handling ACLs to particular
+                front controller plugins for handling <acronym>ACL</acronym>'s to particular
                 actions.
             </para>
         </sect3>
@@ -300,7 +303,10 @@ class BugController extends Zend_Controller_Action
 // bug/list.phtml:
 echo "<ul>\n";
 foreach ($this->bugs as $bug) {
-    printf("<li><b>%s</b>: %s</li>\n", $this->escape($bug->id), $this->escape($bug->summary));
+    printf("<li><b>%s</b>: %s</li>\n",
+        $this->escape($bug->id),
+        $this->escape($bug->summary)
+    );
 }
 echo "</ul>\n";
 ]]></programlisting>
@@ -311,7 +317,7 @@ echo "</ul>\n";
             </para>
 
             <programlisting language="php"><![CDATA[
-<?= $this->action('list', 'bug') ?>
+<?php $this->action('list', 'bug') ?>
 ]]></programlisting>
 
             <para>
@@ -322,7 +328,7 @@ echo "</ul>\n";
             <programlisting language="php"><![CDATA[
 class My_View_Helper_BugList extends Zend_View_Helper_Abstract
 {
-    public function direct()
+    public function bugList()
     {
         $model = new Bug();
         $html  = "<ul>\n";
@@ -344,13 +350,13 @@ class My_View_Helper_BugList extends Zend_View_Helper_Abstract
             </para>
 
             <programlisting language="php"><![CDATA[
-<?= $this->bugList() ?>
+<?php $this->bugList() ?>
 ]]></programlisting>
 
             <para>
                 This has two benefits: it no longer incurs the overhead of the
                 <methodname>action()</methodname> view helper, and also presents a more
-                semantically understandable API.
+                semantically understandable <acronym>API</acronym>.
             </para>
         </sect3>
     </sect2>

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio