mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
Fix white-space (#312)
This commit is contained in:
committed by
GitHub
parent
ab26a0a722
commit
668fe72be5
16
LEEME.txt
16
LEEME.txt
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
********************************************
|
||||
Manual de PHP en castellano
|
||||
2009-2010
|
||||
|
||||
Yago Ferrer
|
||||
yago@php.net
|
||||
********************************************
|
||||
Manual de PHP en castellano
|
||||
2009-2010
|
||||
|
||||
Yago Ferrer
|
||||
yago@php.net
|
||||
********************************************
|
||||
********************************************
|
||||
|
||||
Información de interés para todos los usuarios.
|
||||
Información de interés para todos los usuarios.
|
||||
------------------------------------
|
||||
|
||||
Por favor date de alta en la lista de correo oficial: doc-es-subscribe@lists.php.net
|
||||
Por favor date de alta en la lista de correo oficial: doc-es-subscribe@lists.php.net
|
||||
|
||||
Lee la guia.pdf para ayuda de como traducir el manual de PHP.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!-- Reviewed: no Maintainer: seros -->
|
||||
<appendix xml:id="configure" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Opciones de configuración</title>
|
||||
|
||||
|
||||
<sect1 xml:id="configure.about">
|
||||
<title>Listado de opciones de configuración del núcleo</title>
|
||||
<para>
|
||||
@@ -17,18 +17,18 @@
|
||||
(véase también el capítulo de <link linkend="install">Instalación</link>).
|
||||
Podría ser interesante también consultar la documentación de
|
||||
<link xlink:href="&url.gnu.configure;">GNU configure</link> para mayor
|
||||
información en otras opciones de <command>configure</command>
|
||||
información en otras opciones de <command>configure</command>
|
||||
como <literal>--prefix=PREFIJO</literal>.
|
||||
</para>
|
||||
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Estas opciones se utilizan únicamente durante la compilación. Si desea alterar la
|
||||
configuración en tiempo de ejecución de PHP, por favor vea el capítulo sobre <link
|
||||
linkend="configuration">Configuración en tiempo de ejecución</link>.
|
||||
linkend="configuration">Configuración en tiempo de ejecución</link>.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
@@ -46,7 +46,7 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
|
||||
<sect2 xml:id="configure.options">
|
||||
<title>Opciones de configuración en PHP</title>
|
||||
&appendices.configure.misc;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 91da56315cff97da3020dd2934040e5035a6d1c6 Maintainer: aeoris Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
@@ -60,7 +60,7 @@
|
||||
<option role="configure">--enable-maintainer-zts</option>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect3>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>Opciones SAPI</title>
|
||||
<para>
|
||||
La siguiente lista contiene los SAPI&s disponibles (<literal>
|
||||
Server Application Programming Interface</literal>) para PHP.
|
||||
Server Application Programming Interface</literal>) para PHP.
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="configure.with-apxs">
|
||||
@@ -15,10 +15,10 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Crea un módulo compartido de Apache. FILE es la ruta opcional de la
|
||||
herramienta Apache apxs, por defecto a apxs. Asegúrese de especificar
|
||||
la versión de apxs que está instalada en su sistema y NO la que está
|
||||
en los fuentes de Apache.
|
||||
Crea un módulo compartido de Apache. FILE es la ruta opcional de la
|
||||
herramienta Apache apxs, por defecto a apxs. Asegúrese de especificar
|
||||
la versión de apxs que está instalada en su sistema y NO la que está
|
||||
en los fuentes de Apache.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -29,7 +29,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Crea un módulo estático de Apache. DIR es el directorio de Apache,
|
||||
por defecto es <filename>/usr/local/apache</filename>.
|
||||
por defecto es <filename>/usr/local/apache</filename>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -50,11 +50,11 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Crea un módulo compartido de Apache 2.0. FILE es la ruta opcional a la
|
||||
herramienta apxs, por defecto a apxs.
|
||||
herramienta apxs, por defecto a apxs.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry xml:id="configure.disable-cli">
|
||||
<term>
|
||||
<option role="configure">--disable-cli</option>
|
||||
@@ -64,11 +64,11 @@
|
||||
Deshabilita la versión CLI de PHP (esto
|
||||
fuerza<link linkend="configure.without-pear">--without-pear</link>).
|
||||
Para mayor información, vea la sección acerca de
|
||||
<link linkend="features.commandline">Usando PHP desde la línea de comando</link>.
|
||||
<link linkend="features.commandline">Usando PHP desde la línea de comando</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry xml:id="configure.enable-phpdbg">
|
||||
<term>
|
||||
<option role="configure">--enable-phpdbg</option>
|
||||
@@ -79,20 +79,20 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry xml:id="configure.enable-embed">
|
||||
<term>
|
||||
<option role="configure">--enable-embed[=TYPE]</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Habilita la creación de la librería SAPI. TYPE es
|
||||
<literal>shared</literal> o <literal>static</literal>,
|
||||
el valor por defecto es <literal>shared</literal>.
|
||||
Habilita la creación de la librería SAPI. TYPE es
|
||||
<literal>shared</literal> o <literal>static</literal>,
|
||||
el valor por defecto es <literal>shared</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry xml:id="configure.with-servlet">
|
||||
<term>
|
||||
<option role="configure">--with-servlet[=DIR]</option>
|
||||
@@ -100,7 +100,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Incluye soporte para servlet. DIR es el directorio base de instalación de JSDK.
|
||||
Este SAPI requiere que la extensión de java sea creada como un dl compartido.
|
||||
Este SAPI requiere que la extensión de java sea creada como un dl compartido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -115,7 +115,7 @@
|
||||
</para>
|
||||
<para>
|
||||
Este argumento también habilita FastCGI.
|
||||
</para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
<appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Directivas de &php.ini;</title>
|
||||
|
||||
|
||||
&appendices.ini.list;
|
||||
&appendices.ini.sections;
|
||||
&appendices.ini.core;
|
||||
|
||||
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
es importante tener en cuenta los siguientes lineamientos para evitar que en
|
||||
futuras versiones de PHP estos choquen con los símbolos elegidos.
|
||||
</para>
|
||||
|
||||
|
||||
<section xml:id="userlandnaming.globalnamespace">
|
||||
<title>Global Namespace</title>
|
||||
<para>
|
||||
Aquí hay una visión general de las construcciones de código que van al espacio de nombres global:
|
||||
</para>
|
||||
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>funciones</para></listitem>
|
||||
<listitem><para>clases</para></listitem>
|
||||
@@ -26,7 +26,7 @@
|
||||
<listitem><para>variables definidas fuera de funciones/métodos</para></listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
|
||||
<section xml:id="userlandnaming.rules">
|
||||
<title>Reglas</title>
|
||||
<para>
|
||||
@@ -36,11 +36,11 @@
|
||||
La guía definitiva son los
|
||||
<link xlink:href="&url.userlandnaming.cs;">ESTÁNDARES DE CODIFICACION</link> oficiales:
|
||||
</para>
|
||||
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
PHP es el propietario de el namespace de nivel superior, pero trata de
|
||||
PHP es el propietario de el namespace de nivel superior, pero trata de
|
||||
encontrar una descripción decente de nombres y evitar así futuros choques.
|
||||
</para>
|
||||
</listitem>
|
||||
@@ -56,7 +56,7 @@
|
||||
de la extensión. (En el pasado, han habido numerosas excepciones a esta regla).
|
||||
Ejemplos:
|
||||
</para>
|
||||
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para><function>curl_close</function></para></listitem>
|
||||
<listitem><para><function>mysql_query</function></para></listitem>
|
||||
@@ -95,7 +95,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
|
||||
<section xml:id="userlandnaming.tips">
|
||||
<title>Tips</title>
|
||||
<para>
|
||||
@@ -143,7 +143,7 @@ function mi_función() {
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
|
||||
</appendix>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
||||
@@ -16,31 +16,31 @@
|
||||
usamos para generar éste formato y por otros contribuyentes
|
||||
en forma de skins.
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
Esta distribución del manual de PHP contiene varios archivos, incluyendo el
|
||||
archivo principal del manual, <filename>php_manual_en.chm</filename>. Puede ver
|
||||
el manual haciendo doble clic sobre éste archivo (tal y como ya lo habrá adivinado).
|
||||
Esta distribución del manual de PHP contiene varios archivos, incluyendo el
|
||||
archivo principal del manual, <filename>php_manual_en.chm</filename>. Puede ver
|
||||
el manual haciendo doble clic sobre éste archivo (tal y como ya lo habrá adivinado).
|
||||
<!--
|
||||
Las notas de usuario se encuentran en <filename>php_manual_notes.chm</filename>. Solo
|
||||
Las notas de usuario se encuentran en <filename>php_manual_notes.chm</filename>. Solo
|
||||
necesita tener una copia de éste archivo en su equipo, independientemente
|
||||
de cuántos lenguajes usa para leer el Manual de PHP. El único
|
||||
requerimiento es que necesita tener todos los archivos <filename>php_manual_LANG.chm</filename>
|
||||
en un directorio junto con <filename>php_manual_notes.chm</filename>.
|
||||
de cuántos lenguajes usa para leer el Manual de PHP. El único
|
||||
requerimiento es que necesita tener todos los archivos <filename>php_manual_LANG.chm</filename>
|
||||
en un directorio junto con <filename>php_manual_notes.chm</filename>.
|
||||
//-->
|
||||
También puede ver un archivo <filename>php_manual_en.chw</filename> en el
|
||||
directorio, éste es generado la primera vez que usa la pestaña del índice,
|
||||
directorio, éste es generado la primera vez que usa la pestaña del índice,
|
||||
y contiene un índice con las páginas del manual.
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
Para aquellos interesados en los detalles técnicos del formato Microsoft HTML Help,
|
||||
<link xlink:href="&url.chm.helpware;">&url.chm.helpware;</link> constituye un
|
||||
excelente recurso. Para más información, y saber del lugar de Windows HTML Help
|
||||
entre los formatos de ayuda de Microsoft y su historia de servicios, consulte este
|
||||
excelente recurso. Para más información, y saber del lugar de Windows HTML Help
|
||||
entre los formatos de ayuda de Microsoft y su historia de servicios, consulte este
|
||||
<link xlink:href="&url.chm.history;">artículo de WinWriters</link>.
|
||||
</para>
|
||||
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,50 +7,50 @@
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
La información ofrecida aquí está dirigida principalmente a autores de IDEs,
|
||||
o usuarios avanzados que quisieran integrar éste archivo CHM con sus
|
||||
La información ofrecida aquí está dirigida principalmente a autores de IDEs,
|
||||
o usuarios avanzados que quisieran integrar éste archivo CHM con sus
|
||||
IDEs favoritos u otros componentes de entornos de producción.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<para>
|
||||
Existen varios editores en la actualidad que ofrecen integración con CHM,
|
||||
pero puede que necesite saber algunas cosas sobre los contenidos CHM para integrar
|
||||
Existen varios editores en la actualidad que ofrecen integración con CHM,
|
||||
pero puede que necesite saber algunas cosas sobre los contenidos CHM para integrar
|
||||
satisfactoriamente el manual a su entorno.
|
||||
</para>
|
||||
<para>
|
||||
El documento CHM es construido usando tablas de estilos XSL a partir de fuentes XML. Este hecho es
|
||||
El documento CHM es construido usando tablas de estilos XSL a partir de fuentes XML. Este hecho es
|
||||
único actualmente en la familia del Manual de PHP, ya que todas las otras versiones son
|
||||
generadas usando tablas de estilo DSSSL. Esto también quiere decir que
|
||||
pueden surgir algunas diferencias de visualización no intencionales. Un script especial
|
||||
de conversión es ejecutado sobre la salida XSLT, agregando varias
|
||||
características interesantes, y empaquetando el manual con los archivos de preferencias y
|
||||
generadas usando tablas de estilo DSSSL. Esto también quiere decir que
|
||||
pueden surgir algunas diferencias de visualización no intencionales. Un script especial
|
||||
de conversión es ejecutado sobre la salida XSLT, agregando varias
|
||||
características interesantes, y empaquetando el manual con los archivos de preferencias y
|
||||
muestras de skins.
|
||||
</para>
|
||||
<para>
|
||||
Si nunca ha trabajado con CHMs, puede pensar en ellos como archivos comprimidos
|
||||
con soporte integrado del SO para el acceso a archivos y soporte adicional para búsquedas
|
||||
e índices. Aunque los archivos CHM sólo pueden consultarse usando el Visor de Ayuda HTML,
|
||||
se puede acceder directamente a archivos al interior de documentos CHM usando un prefijo de URL especial,
|
||||
Si nunca ha trabajado con CHMs, puede pensar en ellos como archivos comprimidos
|
||||
con soporte integrado del SO para el acceso a archivos y soporte adicional para búsquedas
|
||||
e índices. Aunque los archivos CHM sólo pueden consultarse usando el Visor de Ayuda HTML,
|
||||
se puede acceder directamente a archivos al interior de documentos CHM usando un prefijo de URL especial,
|
||||
el nombre del archivo CHM y el archivo que desea en el interior. Ya que todo el
|
||||
contenido de la ayuda es almacenado en archivos HTML, puede desplegar páginas del CHM
|
||||
contenido de la ayuda es almacenado en archivos HTML, puede desplegar páginas del CHM
|
||||
en Internet Explorer.
|
||||
</para>
|
||||
<para>
|
||||
Asumiendo que usted colocó su archivo <filename>php_manual_en.chm</filename> en
|
||||
<filename>c:\phpmanual</filename>, el archivo índice del manual (aquel
|
||||
Asumiendo que usted colocó su archivo <filename>php_manual_en.chm</filename> en
|
||||
<filename>c:\phpmanual</filename>, el archivo índice del manual (aquel
|
||||
que ve la primera vez) puede ser consultado con la siguiente URL:
|
||||
<literal>mk:@MSITStore:C:\phpmanual\php_manual_en.chm::/_index.html</literal>.
|
||||
<literal>mk:@MSITStore:C:\phpmanual\php_manual_en.chm::/_index.html</literal>.
|
||||
Aquí, <literal>mk:@MSITStore:</literal> es el "protocolo" especial,
|
||||
<filename>C:\phpmanual\php_manual_en.chm</filename> es el documento CHM con su
|
||||
ruta completa. La parte <filename>/_index.html</filename> es la ruta al
|
||||
<filename>C:\phpmanual\php_manual_en.chm</filename> es el documento CHM con su
|
||||
ruta completa. La parte <filename>/_index.html</filename> es la ruta al
|
||||
archivo índice dentro del CHM y <literal>::</literal> es simplemente lo que necesita
|
||||
colocar entre la ruta CHM y ésta ruta de archivo.
|
||||
</para>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
Todos los archivos se encuentran en el directorio raíz del CHM, a diferencia de versiones previas
|
||||
Todos los archivos se encuentran en el directorio raíz del CHM, a diferencia de versiones previas
|
||||
de CHM que incluían un directorio de lenguaje. Las imágenes, tables de estilos
|
||||
y otros archivos suplementarios tienen nombres que inician con un caracter de subrayado
|
||||
(como ocurre con el índice principal mostrado anteriormente), para evitar colisiones de nombres.
|
||||
@@ -59,20 +59,20 @@
|
||||
</para>
|
||||
<para>
|
||||
Los nombres de los archivos generados siguen las mismas reglas que
|
||||
el manual en línea, excepto que la extensión es <literal>.html</literal> y
|
||||
no <literal>.php</literal>. La más importante es que los archivos de
|
||||
documentación de funciones reciben nombres de la forma <filename>function.FUNCNAME.html</filename>,
|
||||
en donde <literal>FUNCNAME</literal> es el nombre de la función, con todos
|
||||
el manual en línea, excepto que la extensión es <literal>.html</literal> y
|
||||
no <literal>.php</literal>. La más importante es que los archivos de
|
||||
documentación de funciones reciben nombres de la forma <filename>function.FUNCNAME.html</filename>,
|
||||
en donde <literal>FUNCNAME</literal> es el nombre de la función, con todos
|
||||
los signos de subrayado convertidos en guiones. Algunos ejemplos son
|
||||
<filename>function.echo.html</filename>,
|
||||
<filename>function.mysql-close.html</filename>,
|
||||
<filename>function.imagecopy.html</filename>.
|
||||
</para>
|
||||
<para>
|
||||
Usando toda esta información, usted puede mostrar una página del manual para una función solicitada
|
||||
Usando toda esta información, usted puede mostrar una página del manual para una función solicitada
|
||||
por un usuario. Un ejemplo simple es incluido en la distribución,
|
||||
llamado <filename>php_quickref.hta</filename>. ésta es una
|
||||
<link xlink:href="&url.chm.hta;">Aplicación HTML</link> parA demostrar el
|
||||
<link xlink:href="&url.chm.hta;">Aplicación HTML</link> parA demostrar el
|
||||
simple proceso de mostrar una página del manual que hace referencia a una función. La
|
||||
función <literal>quickRef()</literal> definida allí cumple con esta tarea.
|
||||
</para>
|
||||
@@ -80,12 +80,12 @@
|
||||
Si se quiere integrar el manual en un IDE sin soporte directo
|
||||
para el manual de PHP (en realidad, la conversión de signos de subrayado en guiones),
|
||||
puede usar el archivo <filename>_function.html</filename> incluido para acceder a
|
||||
una página de función, Este archivo es simplemente un enrutador, y puede ser parametrizado a través de
|
||||
la URL, como <filename>_function.html#mysql_close</filename>. Esta página
|
||||
una página de función, Este archivo es simplemente un enrutador, y puede ser parametrizado a través de
|
||||
la URL, como <filename>_function.html#mysql_close</filename>. Esta página
|
||||
le redireccionará a la página de la función mysql_close
|
||||
(<filename>function.mysql-close.html</filename>) automáticamente. Puede
|
||||
proveer la ruta completa de este archivo si su IDE soporta la ayuda sensible a contexto,
|
||||
y proveer la cadena especificada por el IDE como el parámetro. Un ejemplo
|
||||
(<filename>function.mysql-close.html</filename>) automáticamente. Puede
|
||||
proveer la ruta completa de este archivo si su IDE soporta la ayuda sensible a contexto,
|
||||
y proveer la cadena especificada por el IDE como el parámetro. Un ejemplo
|
||||
de esto es la integración de UltraEdit 9 (vea la página web de edición).
|
||||
</para>
|
||||
<para>
|
||||
@@ -95,10 +95,10 @@
|
||||
páginas de descripción de funciones).
|
||||
</para>
|
||||
<para>
|
||||
Si usted es un desarrollador de aplicaciones de escritorio y quiesiera
|
||||
integrar profundamente el CHM con su programa (como por ejemplo desplegando el árbol de la tabla de contenidos
|
||||
Si usted es un desarrollador de aplicaciones de escritorio y quiesiera
|
||||
integrar profundamente el CHM con su programa (como por ejemplo desplegando el árbol de la tabla de contenidos
|
||||
en el cuadro de ayuda de su IDE), puede encontrar más información en
|
||||
<link xlink:href="&url.chm.helpware;">&url.chm.helpware;</link>, así como en otros
|
||||
<link xlink:href="&url.chm.helpware;">&url.chm.helpware;</link>, así como en otros
|
||||
recursos útiles. El sitio oficial del formato HTML Help se encuentra en
|
||||
<link xlink:href="&url.chm;">&url.chm;</link>.
|
||||
</para>
|
||||
|
||||
@@ -5,43 +5,43 @@
|
||||
<title>CGI y configuraciones de línea de comandos</title>
|
||||
<para>
|
||||
Por defecto, PHP se construye como un programa <acronym>CLI</acronym> y
|
||||
<acronym>CGI</acronym>, que puede ser utilizado para el procesamiento de CGI.
|
||||
Si está ejecutando un servidor web PHP tiene soporte para los módulos,
|
||||
<acronym>CGI</acronym>, que puede ser utilizado para el procesamiento de CGI.
|
||||
Si está ejecutando un servidor web PHP tiene soporte para los módulos,
|
||||
por lo general debe irse por esta solución por razones de rendimiento.
|
||||
Sin embargo, la versión CGI permite a los usuarios ejecutar diferentes páginas con PHP bajo
|
||||
Sin embargo, la versión CGI permite a los usuarios ejecutar diferentes páginas con PHP bajo
|
||||
diferentes identificadores de usuarios.
|
||||
</para>
|
||||
</para>
|
||||
&warn.install.cgi;
|
||||
|
||||
|
||||
<sect2 xml:id="install.unix.commandline.testing">
|
||||
<title>Pruebas</title>
|
||||
<simpara>
|
||||
Si has construido PHP como un programa CGI, puede probar su construcción
|
||||
Si has construido PHP como un programa CGI, puede probar su construcción
|
||||
escribiendo <command>make test</command>. Siempre es una buena idea
|
||||
probar su construcción. De esta manera usted puede encontrar un problema al principio con PHP en
|
||||
la plataforma, en lugar de tener que luchar con él más adelante.
|
||||
</simpara>
|
||||
probar su construcción. De esta manera usted puede encontrar un problema al principio con PHP en
|
||||
la plataforma, en lugar de tener que luchar con él más adelante.
|
||||
</simpara>
|
||||
</sect2>
|
||||
|
||||
|
||||
<sect2 xml:id="install.unix.commandline.using-variables">
|
||||
<title>Utilización de variables</title>
|
||||
<simpara>
|
||||
Algunos <link linkend="reserved.variables.server">servidores suministrando
|
||||
variables de entorno</link> no se definen en las actuales
|
||||
<link xlink:href="&url.rfc;3875">CGI/1.1 specification</link>.
|
||||
Sólo las siguientes variables no se definen: <varname>AUTH_TYPE</varname>,
|
||||
Sólo las siguientes variables no se definen: <varname>AUTH_TYPE</varname>,
|
||||
<varname>CONTENT_LENGTH</varname>, <varname>CONTENT_TYPE</varname>,
|
||||
<varname>GATEWAY_INTERFACE</varname>, <varname>PATH_INFO</varname>,
|
||||
<varname>GATEWAY_INTERFACE</varname>, <varname>PATH_INFO</varname>,
|
||||
<varname>PATH_TRANSLATED</varname>, <varname>QUERY_STRING</varname>,
|
||||
<varname>REMOTE_ADDR</varname>, <varname>REMOTE_HOST</varname>,
|
||||
<varname>REMOTE_ADDR</varname>, <varname>REMOTE_HOST</varname>,
|
||||
<varname>REMOTE_IDENT</varname>, <varname>REMOTE_USER</varname>,
|
||||
<varname>REQUEST_METHOD</varname>, <varname>SCRIPT_NAME</varname>,
|
||||
<varname>REQUEST_METHOD</varname>, <varname>SCRIPT_NAME</varname>,
|
||||
<varname>SERVER_NAME</varname>, <varname>SERVER_PORT</varname>,
|
||||
<varname>SERVER_PROTOCOL</varname>, and <varname>SERVER_SOFTWARE</varname>.
|
||||
Todo lo demás debe ser tratado como "extensiones de proveedor".
|
||||
</simpara>
|
||||
</sect2>
|
||||
|
||||
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -126,7 +126,7 @@ PHPIniDir "C:/php"
|
||||
<para>
|
||||
Configure su servidor web como se muestra a continuación, teniendo cuidado de ajustar cualquier ruta
|
||||
que reflejen la forma en que ha instalado las cosas en su sistema particular:
|
||||
|
||||
|
||||
<example>
|
||||
<title>Configurar Apache para ejecutar PHP como FastCGI</title>
|
||||
<programlisting>
|
||||
|
||||
@@ -329,7 +329,7 @@ class MyAttribute
|
||||
</example>
|
||||
|
||||
<para>Los siguientes destinos se pueden especificar:</para>
|
||||
|
||||
|
||||
<simplelist>
|
||||
<member><constant>Attribute::TARGET_CLASS</constant></member>
|
||||
<member><constant>Attribute::TARGET_FUNCTION</constant></member>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<link linkend="language.oop5.decon.destructor">destructor</link>
|
||||
de objeto.
|
||||
</simpara>
|
||||
</note>
|
||||
</note>
|
||||
|
||||
<example xml:id="language.fiber.example.basic"><!-- {{{ -->
|
||||
<title>Uso básico</title>
|
||||
@@ -76,7 +76,7 @@ Valor utilizado para reanudar el Fiber: test
|
||||
</simplesect>
|
||||
|
||||
</chapter>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -180,7 +180,7 @@ function recursion($a)
|
||||
<note>
|
||||
<simpara>
|
||||
Las llamadas de métodos/funciones recursivas con 100-200 niveles de
|
||||
recursividad pueden llenar la pila y así, terminar el script actual.
|
||||
recursividad pueden llenar la pila y así, terminar el script actual.
|
||||
Se debe notar que una recursión infinita es considerada un error de
|
||||
programación.
|
||||
</simpara>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>$argc</refname>
|
||||
<refpurpose>El número de argumentos pasados a un script</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
@@ -17,7 +17,7 @@
|
||||
<note>
|
||||
<simpara>
|
||||
El nombre del script es pasado siempre como argumento del script, por lo tanto,
|
||||
el valor mínimo de <varname>$argc</varname> es <literal>1</literal>.
|
||||
el valor mínimo de <varname>$argc</varname> es <literal>1</literal>.
|
||||
</simpara>
|
||||
</note>
|
||||
<note>
|
||||
@@ -27,7 +27,7 @@
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -57,7 +57,7 @@ int(4)
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
Esto también está disponible como <varname>$_SERVER['argc']</varname>.
|
||||
Esto también está disponible como <varname>$_SERVER['argc']</varname>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
@@ -71,9 +71,9 @@ int(4)
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<title>Liberación de recursos</title>
|
||||
|
||||
<para>
|
||||
Gracias al sistema de conteo de referencias introducido con el Motor
|
||||
Gracias al sistema de conteo de referencias introducido con el Motor
|
||||
Zend, un recurso que ya no es referenciado es detectado
|
||||
automáticamente, y es liberado por el recolector de basura. Por esta
|
||||
razón, rara vez se necesita liberar la memoria manualmente.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
Un nombre de variable válido tiene que empezar con una letra
|
||||
(<literal>A-Z</literal>, <literal>a-z</literal>, o los bytes del 128 al 255)
|
||||
o un carácter de subrayado (underscore), seguido
|
||||
de cualquier número de letras, números y caracteres de subrayado. Como
|
||||
de cualquier número de letras, números y caracteres de subrayado. Como
|
||||
expresión regular se podría expresar como:
|
||||
<code>^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$</code>
|
||||
</para>
|
||||
@@ -155,7 +155,7 @@ $bar = &test(); // Inválido porque test() no devuelve una variable por refer
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
No es necesario inicializar variables en PHP, sin embargo, es una muy buena práctica.
|
||||
El acceso a una variable no definida generará un <constant>E_WARNING</constant>
|
||||
@@ -232,7 +232,7 @@ $unset_array[] = 'valor'; // No producirá ninguna advertencia.
|
||||
usuario. Estos arrays están automáticamente disponibles en cualquier
|
||||
entorno. Por esa razón, a veces son conocidas como "superglobales".
|
||||
(No existe mecanismo en PHP para crear superglobales definidas por el
|
||||
usuario). Referencia de la
|
||||
usuario). Referencia de la
|
||||
<link linkend="language.variables.superglobals">lista de superglobales</link>
|
||||
para más detalles.
|
||||
</para>
|
||||
@@ -288,10 +288,10 @@ include 'b.inc'; // La variable $a estará disponible en el interior de b.inc
|
||||
contenidas en el archivo llamado estarán disponibles como si
|
||||
se hubieran definido dentro de la función que realiza la llamada.
|
||||
</simpara>
|
||||
|
||||
|
||||
<example>
|
||||
<title>Ejemplo de una variable de ámbito local</title>
|
||||
<programlisting role="php">
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$a = 1; // ámbito global
|
||||
@@ -601,7 +601,7 @@ var_dump(Foo::counter()); // int(1)
|
||||
var_dump(Foo::counter()); // int(2)
|
||||
var_dump(Bar::counter()); // int(3), antes de PHP 8.1.0 int(1)
|
||||
var_dump(Bar::counter()); // int(4), antes de PHP 8.1.0 int(2)
|
||||
?>
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
@@ -988,7 +988,7 @@ if ($_POST) {
|
||||
<note>
|
||||
<simpara>
|
||||
Si una variable externa comienza con una sintaxis de array válida,
|
||||
Los caracteres finales se ignoran en silencio. Por ejemplo,
|
||||
Los caracteres finales se ignoran en silencio. Por ejemplo,
|
||||
<literal><input name="foo[bar]baz"></literal>
|
||||
se convierte en <literal>$_REQUEST['foo']['bar']</literal>.
|
||||
</simpara>
|
||||
@@ -1143,7 +1143,7 @@ $varname.ext; /* nombre de variable inválido */
|
||||
</para>
|
||||
<para>
|
||||
HTTP being a text protocol, most, if not all, content that comes in
|
||||
<link linkend="language.variables.superglobals">Superglobal arrays</link>,
|
||||
<link linkend="language.variables.superglobals">Superglobal arrays</link>,
|
||||
like <varname>$_POST</varname> and <varname>$_GET</varname> will remain
|
||||
as strings. PHP will not try to convert values to a specific type.
|
||||
In the example below, <varname>$_GET["var1"]</varname> will contain the
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</simpara>
|
||||
</note>
|
||||
</partintro>
|
||||
|
||||
|
||||
&language.wrappers.file;
|
||||
&language.wrappers.http;
|
||||
&language.wrappers.ftp;
|
||||
@@ -35,7 +35,7 @@
|
||||
&language.wrappers.rar;
|
||||
&language.wrappers.audio;
|
||||
&language.wrappers.expect;
|
||||
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
<methodparam choice="opt"><type>bool</type><parameter>walk_to_top</parameter><initializer>&false;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>apache_setenv</function> establece el valor de la variable de entorno de Apache especificado por
|
||||
<function>apache_setenv</function> establece el valor de la variable de entorno de Apache especificado por
|
||||
<parameter>variable</parameter>.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Al establecer una variable de entorno de Apache, la correspondiente variable
|
||||
Al establecer una variable de entorno de Apache, la correspondiente variable
|
||||
<varname>$_SERVER</varname>
|
||||
no se modifica.
|
||||
</para>
|
||||
@@ -89,8 +89,8 @@ apache_setenv("VARIABLE_EJEMPLO", "Valor de ejemplo");
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<function>apache_setenv</function> puede ser utilizado con
|
||||
<function>apache_getenv</function> en páginas separadas o para establecer variables para pasar Server Side Includes (.shtml)
|
||||
<function>apache_setenv</function> puede ser utilizado con
|
||||
<function>apache_getenv</function> en páginas separadas o para establecer variables para pasar Server Side Includes (.shtml)
|
||||
que hayan sido incluidos en sprits PHP.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
<methodparam><type>int</type><parameter>new</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>apcu_cas</function> actualiza un valor entero ya existente si el
|
||||
parámetro <parameter>old</parameter> coincide el valor almacenado
|
||||
<function>apcu_cas</function> actualiza un valor entero ya existente si el
|
||||
parámetro <parameter>old</parameter> coincide el valor almacenado
|
||||
actualmente con el valor del parámetro <parameter>new</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: ivanh Status: ready -->
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Cierra el dado puntero del fichero bzip2.
|
||||
Cierra el dado puntero del fichero bzip2.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<term><parameter>bz</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El puntero del fichero. Debe ser un puntero a un fichero
|
||||
El puntero del fichero. Debe ser un puntero a un fichero
|
||||
abierto con <function>bzopen</function> satisfactoriamente.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Obtiene la cadena de error de cualquier error bzip2 devuelto por el
|
||||
Obtiene la cadena de error de cualquier error bzip2 devuelto por el
|
||||
puntero dado.
|
||||
</para>
|
||||
</refsect1>
|
||||
@@ -25,7 +25,7 @@
|
||||
<term><parameter>bz</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El puntero del fichero. Debe ser un puntero a un fichero
|
||||
El puntero del fichero. Debe ser un puntero a un fichero
|
||||
abierto con <function>bzopen</function> satisfactoriamente.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<book xml:id="book.calendar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<?phpdoc extension-membership="bundled" ?>
|
||||
<title>Calendario</title>
|
||||
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.calendar">
|
||||
&reftitle.intro;
|
||||
@@ -25,11 +25,11 @@
|
||||
</para>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
&reference.calendar.setup;
|
||||
&reference.calendar.constants;
|
||||
&reference.calendar.reference;
|
||||
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 87d952ec1b0a2ea00c629378edbbcda43799e6e2 Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: seros -->
|
||||
<refentry xml:id="function.cal-days-in-month" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="function.cal-days-in-month" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>cal_days_in_month</refname>
|
||||
<refpurpose>Devolver el número de días de un mes para un año y un calendario dados</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -22,7 +22,7 @@
|
||||
el calendario <parameter>calendar</parameter> especificado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -54,14 +54,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
La longitud en días del mes seleccionado en el calendario dado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -78,7 +78,7 @@ echo "Hubo {$número} días en agosto del 2003";
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>cal_info</refname>
|
||||
<refpurpose>Devuelve información sobre un calendario en particular</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -52,7 +52,7 @@
|
||||
los calendarios soportados es devuelta como un matriz.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -69,13 +69,13 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
El año como número, el rango válido depende de <parameter>calendar</parameter>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
@@ -83,10 +83,10 @@
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>cal_from_jd</function></member>
|
||||
<member><function>frenchtojd</function></member>
|
||||
<member><function>gregoriantojd</function></member>
|
||||
<member><function>jewishtojd</function></member>
|
||||
<member><function>juliantojd</function></member>
|
||||
<member><function>frenchtojd</function></member>
|
||||
<member><function>gregoriantojd</function></member>
|
||||
<member><function>jewishtojd</function></member>
|
||||
<member><function>juliantojd</function></member>
|
||||
<member><function>unixtojd</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>frenchtojd</refname>
|
||||
<refpurpose>Convierte una fecha del Calendario Republicano Francés a una fecha Juliana</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -27,7 +27,7 @@
|
||||
uso.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -55,23 +55,23 @@
|
||||
El año como un número entre 1 y 14
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
La fecha Juliana para la fecha de la Revolución Francesa dada como un entero.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>jdtofrench</function></member>
|
||||
<member><function>jdtofrench</function></member>
|
||||
<member><function>cal_to_jd</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.juliantojd" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>juliantojd</refname>
|
||||
<refname>juliantojd</refname>
|
||||
<refpurpose>Convierte una fecha del Calendario Juliano a una Fecha Juliana</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
@@ -62,7 +62,7 @@
|
||||
El año como un número entre -4713 y 9999
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
@@ -78,7 +78,7 @@
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>jdtojulian</function></member>
|
||||
<member><function>jdtojulian</function></member>
|
||||
<member><function>cal_to_jd</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<term><parameter>tight</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -53,7 +53,7 @@
|
||||
<term><parameter>delimiter</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -61,7 +61,7 @@
|
||||
<term><parameter>start</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -74,7 +74,7 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
-->
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</ooclass>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-abstract-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
</classsynopsis>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<modifier>final</modifier>
|
||||
<classname>Componere\Definition</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>Componere\Abstract\Definition</classname>
|
||||
@@ -46,11 +46,11 @@
|
||||
<!-- }}} -->
|
||||
|
||||
<classsynopsisinfo role="comment">Constructores</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-abstract-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
<!-- }}} -->
|
||||
|
||||
<classsynopsisinfo role="comment">Constructor</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-method')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-method')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-method')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
</classsynopsis>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<modifier>final</modifier>
|
||||
<classname>Componere\Patch</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>Componere\Abstract\Definition</classname>
|
||||
@@ -45,10 +45,10 @@
|
||||
|
||||
<classsynopsisinfo role="comment">Constructors</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-patch')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-patch')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-abstract-definition')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<classsynopsisinfo role="comment">Constructor</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-value')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.componere-value')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
||||
</classsynopsis>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<section xml:id="componere.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
La fuente de Componere y las liberaciones están disponibles en
|
||||
<link xlink:href="&url.git.hub;krakjoe/componere">github</link>
|
||||
La fuente de Componere y las liberaciones están disponibles en
|
||||
<link xlink:href="&url.git.hub;krakjoe/componere">github</link>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<!-- EN-Revision: af2996a5a23265aa56ca8a97a0e79c626ca54395 Maintainer: edwincartagenah Status: ready -->
|
||||
<reference xml:id="oldaliases.cubrid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Alias y Funciones Obsoletas de CUBRID</title>
|
||||
|
||||
|
||||
&reference.cubrid.entities.oldaliases;
|
||||
|
||||
|
||||
</reference>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Variables Locales:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<section xml:id="cubrid.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
|
||||
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;cubrid">&url.pecl.package;cubrid</link>.
|
||||
@@ -16,7 +16,7 @@
|
||||
Para obtener información sobre la instalación manual en Linux y en Windows, por favor,
|
||||
lea el fichero <filename>build-guide.html</filename> incluido en el paquete.
|
||||
</para>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>cubrid_client_encoding</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Esta función devuelve el actual conjunto de caracteres de conexión a CUBRID y es similar
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
<refname>cubrid_close</refname>
|
||||
<refpurpose>Cerrar la conexión de CUBRID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>cubrid_close</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
La función <function>cubrid_close</function> termina la transacción
|
||||
@@ -23,7 +23,7 @@
|
||||
<function>cubrid_disconnect</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -35,7 +35,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -45,7 +45,7 @@
|
||||
&false;, cuando el proceso es insatisfactorio.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -70,18 +70,18 @@ if ($con) {
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>cubrid_disconnect</function></member>
|
||||
<member><function>cubrid_connect</function></member>
|
||||
<member><function>cubrid_connect_with_url</function></member>
|
||||
<member><function>cubrid_connect_with_url</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_db_name</refname>
|
||||
<refpurpose>Obtener el nombre de la base de datos desde los resultados de cubrid_list_dbs</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
Recupera el nombre de la base de datos desde una llamada a <function>cubrid_list_dbs</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -44,7 +44,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -53,7 +53,7 @@
|
||||
del error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -85,7 +85,7 @@ demodb
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_errno</refname>
|
||||
<refpurpose>Devuelve el valor numérico del mensaje de error de la operación de CUBRID previa</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -24,7 +24,7 @@
|
||||
obtiene el error cuando la API devuelve false como su valor de retorno.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -42,14 +42,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de error de la última función CUBRID, o <literal>0</literal> (cero) si no ocurrio ningún error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -61,7 +61,7 @@
|
||||
$con = cubrid_connect('localhost', 33000, 'demodb', 'dba', '');
|
||||
$req = cubrid_execute($con, "select id, name from person");
|
||||
if ($req) {
|
||||
while (list ($id, $name) = cubrid_fetch($req))
|
||||
while (list ($id, $name) = cubrid_fetch($req))
|
||||
echo $id, $name;
|
||||
} else {
|
||||
echo "Código de error: ", cubrid_errno($con);
|
||||
@@ -79,7 +79,7 @@ Código de error: -493 Mensaje de error:: Syntax: Unknown class "person". select
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_error</refname>
|
||||
<refpurpose>Se usa para obtener el mensaje de error</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
error cuando la API devuelve false como su valor de retorno.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -33,7 +33,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -41,7 +41,7 @@
|
||||
</para>
|
||||
<para />
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -52,7 +52,7 @@
|
||||
$con = cubrid_connect('localhost', 33000, 'demodb', 'dba', '');
|
||||
$req = cubrid_execute($con, "select id, name from person");
|
||||
if ($req) {
|
||||
while (list ($id, $name) = cubrid_fetch($req))
|
||||
while (list ($id, $name) = cubrid_fetch($req))
|
||||
echo $id, $name;
|
||||
} else {
|
||||
echo "Código de error: ", cubrid_errno($con);
|
||||
@@ -66,10 +66,10 @@ if ($req) {
|
||||
<![CDATA[
|
||||
Código de error: -493 Mensaje de error: Syntax: Unknown class "person". select id, [name] from person
|
||||
]]>
|
||||
</screen>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -80,7 +80,7 @@ Código de error: -493 Mensaje de error: Syntax: Unknown class "person". select
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>cubrid_fetch_field</refname>
|
||||
<refpurpose>Devuelve un objeto con ciertas propiedades</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -74,10 +74,10 @@
|
||||
<listitem><para>1 si la columna se rellena con ceros</para></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -95,7 +95,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -105,7 +105,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -174,7 +174,7 @@ zerofill: 0
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_fetch_lengths</refname>
|
||||
<refpurpose>Devuelve una matriz con las longitudes de los valores de cada campo de la fila actual</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -26,7 +26,7 @@
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -38,7 +38,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -48,7 +48,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -95,7 +95,7 @@ Array
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_field_len</refname>
|
||||
<refpurpose>Devuelve la longitud máxima del campo especificado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
Esta función devuelve la longitud máxima del campo especificado en caso de éxito, o FALSE en caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -36,7 +36,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -46,7 +46,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -73,19 +73,19 @@ cubrid_disconnect($conn);
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Column Names Column Types Column Maxlen
|
||||
host_year integer 11
|
||||
event_code integer 11
|
||||
athlete_code integer 11
|
||||
stadium_code integer 11
|
||||
nation_code char 3
|
||||
medal char 1
|
||||
game_date date 10
|
||||
Column Names Column Types Column Maxlen
|
||||
host_year integer 11
|
||||
event_code integer 11
|
||||
athlete_code integer 11
|
||||
stadium_code integer 11
|
||||
nation_code char 3
|
||||
medal char 1
|
||||
game_date date 10
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>cubrid_field_name</refname>
|
||||
<refpurpose>Devuelve el nombre del índice del campo especificado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
FALSE en caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -40,7 +40,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -50,7 +50,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -80,14 +80,14 @@ host_year not_null primary_key unique_key
|
||||
event_code not_null primary_key unique_key foreign_key
|
||||
athlete_code not_null primary_key unique_key foreign_key
|
||||
stadium_code not_null
|
||||
nation_code
|
||||
medal
|
||||
game_date
|
||||
nation_code
|
||||
medal
|
||||
game_date
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_field_seek</refname>
|
||||
<refpurpose>Mueve el cursor del conjunto de resultados al índece del campo especificado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -23,7 +23,7 @@
|
||||
caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -43,7 +43,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -53,7 +53,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -114,7 +114,7 @@ type: integer
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,19 +8,19 @@
|
||||
<refname>cubrid_list_dbs</refname>
|
||||
<refpurpose>Devuelve una matriz con la lista de todas las bases de datos Cubrid existentes</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>cubrid_list_dbs</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Esta función devuelve una matriz con la lista de todas las bases de datos Cubrid
|
||||
existentes.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -32,7 +32,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -42,7 +42,7 @@
|
||||
&false; en caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -70,7 +70,7 @@ array(1) {
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_ping</refname>
|
||||
<refpurpose>Hacer ping en una conexión al servidor o reconectar si no hay conexión</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,7 +19,7 @@
|
||||
Verifica si la conexión al servidor está funcionando..
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -37,14 +37,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; si la conexión al servidor CUBRID está funcionando, si no &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -81,7 +81,7 @@ $result2 = cubrid_query($sql2);
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_query</refname>
|
||||
<refpurpose>Enviar una consulta CUBRID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
base de datos activa actual en el servidor que está asociado con el <parameter>conn_identifier</parameter> especificado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -50,7 +50,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -74,7 +74,7 @@
|
||||
si el usuario no tiene permiso para acceder a la/s tabla/s referenciada/s por la consulta.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -153,7 +153,7 @@ cubrid_free_result($result);
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -167,7 +167,7 @@ cubrid_free_result($result);
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>cubrid_result</refname>
|
||||
<refpurpose>Devuelve el valor de un campo específico de una fila específica</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -18,10 +18,10 @@
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Esta función devuelve el valor de un campo específico de una fila específica de
|
||||
un conjunto de resultados.
|
||||
un conjunto de resultados.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -47,7 +47,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -57,7 +57,7 @@
|
||||
&false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -93,7 +93,7 @@ string(4) "Gold"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_error_code</refname>
|
||||
<refpurpose>Obtener el código de error de la llamada a una función más reciente</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,12 +21,12 @@
|
||||
obtiene el código de error cuando la API devuelve false como valor de retorno.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -35,7 +35,7 @@
|
||||
</para>
|
||||
<para />
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -48,7 +48,7 @@ $req = cubrid_prepare($conn , "SELECT * FROM code WHERE s_name=?");
|
||||
|
||||
$req = @cubrid_execute($req);
|
||||
if (!$req) {
|
||||
printf("Dispositivo del error: %d\nCódigo de error: %d\nMensaje de error: %s\n",
|
||||
printf("Dispositivo del error: %d\nCódigo de error: %d\nMensaje de error: %s\n",
|
||||
cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg());
|
||||
|
||||
cubrid_disconnect($conn);
|
||||
@@ -67,7 +67,7 @@ Mensaje de error: Some parameter not binded
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -77,7 +77,7 @@ Mensaje de error: Some parameter not binded
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_error_msg</refname>
|
||||
<refpurpose>Obtener el último mensaje de error de la llamada a la función más reciente</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,12 +21,12 @@
|
||||
el mensaje de error cuando la API devuelve false como valor de retorno.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -34,7 +34,7 @@
|
||||
</para>
|
||||
<para />
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -45,7 +45,7 @@
|
||||
$conn = cubrid_connect("localhost", 33000, "demodb");
|
||||
|
||||
if (!@cubrid_schema($conn, 100000)) {
|
||||
printf("Dispositivo del error: %d\nCódigo de error: %d\nMensaje de error: %s\n",
|
||||
printf("Dispositivo del error: %d\nCódigo de error: %d\nMensaje de error: %s\n",
|
||||
cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg());
|
||||
|
||||
cubrid_disconnect($conn);
|
||||
@@ -62,10 +62,10 @@ Código de error: -10015
|
||||
Mensaje de error: Invalid T_CCI_SCH_TYPE value
|
||||
]]>
|
||||
</screen>
|
||||
|
||||
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -75,7 +75,7 @@ Mensaje de error: Invalid T_CCI_SCH_TYPE value
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,19 +8,19 @@
|
||||
<refname>cubrid_fetch</refname>
|
||||
<refpurpose>Obtener la siguiente fila de un conjunto de resultados</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>cubrid_fetch</methodname>
|
||||
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>CUBRID_BOTH</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>CUBRID_BOTH</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
La función <function>cubrid_fetch</function> se usa para obtener una única fila del resultado de la consulta. El cursor se mueve automáticamente a la siguiente columna después de obtener el resultado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -38,7 +38,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>Un array de resultados u objeto, cuando el proceso tiene éxito.</para>
|
||||
@@ -49,10 +49,10 @@
|
||||
<member>CUBRID_ASSOC : Array asociativo</member>
|
||||
<member>CUBRID_BOTH : Array numérico y asociativo (predeterminado)</member>
|
||||
<member>CUBRID_OBJECT : Objeto que tiene el nombre del atributo como el nombre de la columna del resultado de la consulta</member>
|
||||
</simplelist>
|
||||
</simplelist>
|
||||
<para>Cuando se omite el argumento <parameter>type</parameter>, el resultado será recibido usando la opción predeterminada CUBRID_BOTH. Cuando se quiere recibir el resultado de la consulta como objeto, el nombre de la columna del resultado debe obedecer las reglas de nombres de los identificadores de PHP. Por ejemplo, un nombre de columna como "count(*)" no puede ser recibido como objeto.</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -65,7 +65,7 @@ $solicitud = cubrid_execute($conexión, "SELECT * FROM stadium WHERE nation_code
|
||||
|
||||
printf("%-40s %-10s %-6s %-20s\n", "name", "area", "seats", "address");
|
||||
while ($fila = cubrid_fetch($solicitud)) {
|
||||
printf("%-40s %-10s %-6s %-20s\n",
|
||||
printf("%-40s %-10s %-6s %-20s\n",
|
||||
$fila["name"], $fila["area"], $fila["seats"], $fila["address"]);
|
||||
}
|
||||
|
||||
@@ -80,21 +80,21 @@ cubrid_disconnect($conexión);
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
name area seats address
|
||||
Panathinaiko Stadium 86300.00 50000 Athens, Greece
|
||||
Olympic Stadium 54700.00 13000 Athens, Greece
|
||||
Olympic Indoor Hall 34100.00 18800 Athens, Greece
|
||||
Olympic Hall 52400.00 21000 Athens, Greece
|
||||
Olympic Aquatic Centre 42500.00 11500 Athens, Greece
|
||||
name area seats address
|
||||
Panathinaiko Stadium 86300.00 50000 Athens, Greece
|
||||
Olympic Stadium 54700.00 13000 Athens, Greece
|
||||
Olympic Indoor Hall 34100.00 18800 Athens, Greece
|
||||
Olympic Hall 52400.00 21000 Athens, Greece
|
||||
Olympic Aquatic Centre 42500.00 11500 Athens, Greece
|
||||
Markopoulo Olympic Equestrian Centre 64000.00 15000 Markopoulo, Athens, Greece
|
||||
Faliro Coastal Zone Olympic Complex 34650.00 12171 Faliro, Athens, Greece
|
||||
Athens Olympic Stadium 120400.00 71030 Maroussi, Athens, Greece
|
||||
Athens Olympic Stadium 120400.00 71030 Maroussi, Athens, Greece
|
||||
Ano Liossia 34000.00 12000 Ano Liosia, Athens, Greece
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -107,7 +107,7 @@ Ano Liossia 34000.00 12000 Ano Liosia, Athens, G
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<refname>cubrid_get</refname>
|
||||
<refpurpose>Obtener una columna usando OID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>cubrid_get</methodname>
|
||||
<methodparam><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>oid</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>attr</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>oid</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>attr</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
La función <function>cubrid_get</function> se usa para obtener el atributo
|
||||
@@ -24,7 +24,7 @@
|
||||
array para el argumento <parameter>attr</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -44,8 +44,8 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -62,7 +62,7 @@
|
||||
Se puede comprobar el error usando <function>cubrid_error_code</function>)
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -127,7 +127,7 @@ array(4) {
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -136,7 +136,7 @@ array(4) {
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_insert_id</refname>
|
||||
<refpurpose>Devuelve el ID generado por la última columna actualizada <constant>AUTO_INCREMENT</constant></refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
INSERT previa. Devuelve 0 si la consulta previa no generó nuevas
|
||||
filas, o FALSE en caso de error.
|
||||
</para>
|
||||
|
||||
|
||||
<note>
|
||||
<para>
|
||||
CUBRID soporta AUTO_INCREMENT para más de una columna en una tabla. En
|
||||
@@ -31,7 +31,7 @@
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -45,7 +45,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -59,7 +59,7 @@
|
||||
&false; en caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
@@ -84,7 +84,7 @@
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -116,7 +116,7 @@ string(2) "19"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
<refname>cubrid_is_instance</refname>
|
||||
<refpurpose>Comprobar si existe la instancia apuntada por OID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>cubrid_is_instance</methodname>
|
||||
<methodparam><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>oid</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>conn_identifier</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>oid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
La función <function>cubrid_is_instance</function> se usa para comprobar
|
||||
@@ -21,7 +21,7 @@
|
||||
o no.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -37,11 +37,11 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
1, si tal instancia existe;
|
||||
1, si tal instancia existe;
|
||||
</para>
|
||||
<para>
|
||||
0, si tal instancia no existe;
|
||||
@@ -50,7 +50,7 @@
|
||||
-1, en caso de error
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -61,9 +61,9 @@
|
||||
$conn = cubrid_connect("localhost", 33000, "demodb");
|
||||
|
||||
$sql = <<<EOD
|
||||
SELECT host_year, medal, game_date
|
||||
FROM game
|
||||
WHERE athlete_code IN
|
||||
SELECT host_year, medal, game_date
|
||||
FROM game
|
||||
WHERE athlete_code IN
|
||||
(SELECT code FROM athlete WHERE name='Thorpe Ian');
|
||||
EOD;
|
||||
|
||||
@@ -91,17 +91,17 @@ La instancia apuntada por @0|0|0 no existe.
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>cubrid_drop</function></member>
|
||||
<member><function>cubrid_drop</function></member>
|
||||
<member><function>cubrid_get_class_name</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -125,7 +125,7 @@ Last Column Name: f_name
|
||||
Last Column Table: code
|
||||
Last Column Type: varchar
|
||||
Last Column Len: 6
|
||||
Second Column Flags:
|
||||
Second Column Flags:
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>cubrid_version</refname>
|
||||
<refpurpose>Obtener la versión del módulo de PHP de CUBRID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,19 +20,19 @@
|
||||
del módulo de PHP de CUBRID.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Información de la versión (p.ej. "8.3.1.0001").
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -93,18 +93,18 @@ CUBRID Charset: iso8859-1
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>cubrid_error_code</function></member>
|
||||
<member><function>cubrid_error_code_facility</function></member>
|
||||
<simplelist>
|
||||
<member><function>cubrid_error_code</function></member>
|
||||
<member><function>cubrid_error_code_facility</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
<reference xml:id="ref.cubrid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; de CUBRID</title>
|
||||
|
||||
|
||||
&reference.cubrid.entities.functions;
|
||||
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -5,23 +5,23 @@
|
||||
|
||||
<chapter xml:id="cubrid.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
|
||||
<section xml:id="cubrid.requirements" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Para que estas funciones estén disponibles, se debe instalar CUBRID, y compilar la Biblioteca de PHP de CUBRID con soporte para CUBRID.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
&reference.cubrid.configure;
|
||||
|
||||
|
||||
<section xml:id="cubrid.configuration">
|
||||
&reftitle.runtime;
|
||||
<para>
|
||||
No existe configuración en tiempo de ejecución.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
<section xml:id="cubrid.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
@@ -58,9 +58,9 @@
|
||||
de un conjunto de resultados.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
El número del año, puede ser un valor de dos o cuatro dígitos,
|
||||
con valores entre 0-69 mapeados a 2000-2069 y 70-100 a
|
||||
1970-2000. En sistemas donde time_t es un entero con signo de 32 bits, como
|
||||
es lo más normal hoy en día, el rango válido para <parameter>year</parameter>
|
||||
es lo más normal hoy en día, el rango válido para <parameter>year</parameter>
|
||||
es entre 1901 y 2038. Sin embargo, antes de PHP 5.1.0 este
|
||||
rango estaba limitado desde 1970 a 2038 en algunos sistemas (p.ej. Windows).
|
||||
</para>
|
||||
@@ -117,10 +117,10 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<function>mktime</function> devuelve la marca de tiempo Unix de los argumentos
|
||||
dados, o &false; si la marca de tiempo no cabe en un entero PHP.
|
||||
@@ -289,7 +289,7 @@ Last day in Feb 2000 is: 29
|
||||
<member>La clase <classname>DateTimeImmutable</classname></member>
|
||||
<member><function>checkdate</function></member>
|
||||
<member><function>gmmktime</function></member>
|
||||
<member><function>date</function></member>
|
||||
<member><function>date</function></member>
|
||||
<member><function>time</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
<refname>timezone_open</refname>
|
||||
<refpurpose>&Alias; <methodname>DateTimeZone::__construct</methodname></refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
&info.function.alias; <methodname>DateTimeZone::__construct</methodname>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
<reference xml:id="ref.datetime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; de Fecha/Hora</title>
|
||||
|
||||
|
||||
&reference.datetime.entities.functions;
|
||||
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -70,11 +70,11 @@ foreach (dba_handlers(true) as $nombre_gestor => $versión_gestor) {
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Gestores de DBA disponibles:
|
||||
- cdb: 0.75, Revision: 1.3.2.3
|
||||
- cdb_make: 0.75, Revision: 1.2.2.4
|
||||
- cdb: 0.75, Revision: 1.3.2.3
|
||||
- cdb_make: 0.75, Revision: 1.2.2.4
|
||||
- db2: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
|
||||
- inifile: 1.0, Revision: 1.6.2.3
|
||||
- flatfile: 1.0, Revision: 1.5.2.4
|
||||
- inifile: 1.0, Revision: 1.6.2.3
|
||||
- flatfile: 1.0, Revision: 1.5.2.4
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>F_GETLK</constant> - <function>dio_fcntl</function>
|
||||
<constant>F_GETLK</constant> - <function>dio_fcntl</function>
|
||||
devuelve un array asociativo (como se describe a continuación) si algún proceso
|
||||
previene el bloqueo. Si no hubiera impedimento, se asignará la
|
||||
clave "type" a <constant>F_UNLCK</constant>.
|
||||
@@ -73,8 +73,8 @@
|
||||
<para>
|
||||
<constant>F_SETFL</constant> - Establece al descriptor de fichero las
|
||||
banderas especificadas en <parameter>args</parameter>, de entre
|
||||
<constant>O_APPEND</constant>, <constant>O_NONBLOCK</constant> o
|
||||
<constant>O_ASYNC</constant>. Para usar <constant>O_ASYNC</constant>
|
||||
<constant>O_APPEND</constant>, <constant>O_NONBLOCK</constant> o
|
||||
<constant>O_ASYNC</constant>. Para usar <constant>O_ASYNC</constant>
|
||||
debe usarse la extensión <link linkend="ref.pcntl">PCNTL</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
@@ -154,7 +154,7 @@ dio_close($fd);
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.no-windows;
|
||||
|
||||
@@ -68,14 +68,14 @@
|
||||
<constant>O_CREAT</constant> - crea el fichero, si no existiera
|
||||
ya.
|
||||
</para>
|
||||
</listitem>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>O_EXCL</constant> - si tanto <constant>O_CREAT</constant>
|
||||
como <constant>O_EXCL</constant> están habilitados, y el fichero
|
||||
existe, <function>dio_open</function> fallará.
|
||||
</para>
|
||||
</listitem>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>O_TRUNC</constant> - si el fichero existe, y está abierto
|
||||
@@ -145,7 +145,7 @@ dio_close($fd);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</example>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: jorgeolaya Status: ready -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: jorgeolaya Status: ready -->
|
||||
<refentry xml:id="function.dio-read" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>dio_read</refname>
|
||||
@@ -16,7 +16,7 @@
|
||||
<para>
|
||||
La función <function>dio_read</function> lee y devuelve
|
||||
<parameter>len</parameter> bytes de fichero con descriptor
|
||||
<parameter>fd</parameter>.
|
||||
<parameter>fd</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -35,8 +35,8 @@
|
||||
<term><parameter>len</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El número de bytes a leer. Si no se especifica la lectura
|
||||
es de bloques de 1K
|
||||
El número de bytes a leer. Si no se especifica la lectura
|
||||
es de bloques de 1K
|
||||
<function>dio_read</function>
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
@@ -111,7 +111,7 @@ dio_close($fd);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>dio_write</function> escriba hasta <parameter>len</parameter>
|
||||
bytes de <parameter>data</parameter> al fichero <parameter>fd</parameter>.
|
||||
<function>dio_write</function> escriba hasta <parameter>len</parameter>
|
||||
bytes de <parameter>data</parameter> al fichero <parameter>fd</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tkzexe Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<reference xml:id="ref.dir" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>&Functions; de directorio</title>
|
||||
|
||||
<partintro>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
Para funciones relacionadas, como <function>dirname</function>,
|
||||
<function>is_dir</function>, <function>mkdir</function>, y
|
||||
<function>rmdir</function>, visita
|
||||
<link linkend="ref.filesystem">Filesystem</link> sección.
|
||||
</para>
|
||||
</partintro>
|
||||
|
||||
&reference.dir.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tkzexe Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<reference xml:id="ref.dir" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>&Functions; de directorio</title>
|
||||
|
||||
<partintro>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
Para funciones relacionadas, como <function>dirname</function>,
|
||||
<function>is_dir</function>, <function>mkdir</function>, y
|
||||
<function>rmdir</function>, visita
|
||||
<link linkend="ref.filesystem">Filesystem</link> sección.
|
||||
</para>
|
||||
</partintro>
|
||||
|
||||
&reference.dir.entities.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
@@ -6,7 +6,7 @@
|
||||
<chapter xml:id="dom.examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
Muchos ejemplos en esta referencia requieren un fichero XML. Utilizaremos
|
||||
Muchos ejemplos en esta referencia requieren un fichero XML. Utilizaremos
|
||||
<filename>book.xml</filename> que contiene lo siguiente:
|
||||
</para>
|
||||
<para>
|
||||
@@ -64,7 +64,7 @@
|
||||
</example>
|
||||
</para>
|
||||
</chapter>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<section xml:id="eio.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
|
||||
|
||||
<para>
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;eio">&url.pecl.package;eio</link>.
|
||||
@@ -14,7 +14,7 @@
|
||||
Para información sobre la instalación manual,
|
||||
lea el fichero <filename>INSTALL</filename> incluido en el paquete.
|
||||
</para>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -38,7 +38,7 @@ mi_nop 2
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Llamar a <function>eio_chmod</function></title>
|
||||
@@ -72,7 +72,7 @@ eio_chmod_ok
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Realizar una petición personalizada</title>
|
||||
@@ -119,7 +119,7 @@ int(1001)
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Agrupar peticiones</title>
|
||||
@@ -189,7 +189,7 @@ bool(true)
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Emplear eio con la extensión libevent</title>
|
||||
@@ -233,7 +233,7 @@ event_base_loop($base);
|
||||
/* Lo mismo estará disponible mediante interfaz libevent con buffer */
|
||||
?>
|
||||
]]></programlisting>
|
||||
|
||||
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
@@ -246,7 +246,7 @@ string(10) "mkdir data"
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Emplear eio con la extensión event</title>
|
||||
@@ -281,7 +281,7 @@ $timer->add(2);
|
||||
$base->dispatch();
|
||||
?>
|
||||
]]></programlisting>
|
||||
|
||||
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
@@ -291,7 +291,7 @@ eio_nop
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_cancel</refname>
|
||||
<refpurpose>Cancelar una petición</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
<parameter>req</parameter>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -54,14 +54,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -96,15 +96,15 @@ mi_nop 2
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><function>eio_grp_cancel</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_get_event_stream</refname>
|
||||
<refpurpose>Obtiene un flujo que representa una variable usada en comnunicaciones internas con libeio</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -22,12 +22,12 @@
|
||||
libevent.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -35,7 +35,7 @@
|
||||
de otro modo devuelve &null;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -94,8 +94,8 @@ string(10) "mkdir data"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_grp_cancel</refname>
|
||||
<refpurpose>Cancelar un grupo de peticiones</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,9 +19,9 @@
|
||||
<function>eio_grp_cancel</function> cancela un grupo de peticiones especificadas por
|
||||
el recurso de grupo de peticiones <parameter>grp</parameter>.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -35,14 +35,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -50,7 +50,7 @@
|
||||
<member><function>eio_grp_add</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_grp_limit</refname>
|
||||
<refpurpose>Establecer el límite de un grupo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,9 +19,9 @@
|
||||
<para>
|
||||
Número límite de peticiones en un grupo de peticiones.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -43,21 +43,21 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><function>eio_grp_add</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_link</refname>
|
||||
<refpurpose>Crear un enlace duro par un fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -27,9 +27,9 @@
|
||||
<parameter>new_path</parameter> para un fichero especificado por
|
||||
<parameter>path</parameter>.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -71,14 +71,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -132,15 +132,15 @@ string(%d) "%ssymlink.dat"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><function>eio_symlink</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_lstat</refname>
|
||||
<refpurpose>Obtener el estado de un fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -23,9 +23,9 @@
|
||||
<function>eio_lstat</function> devuelve la información del estado de un fichero en
|
||||
el argumento <parameter>result</parameter> de <parameter>callback</parameter>
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -59,14 +59,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<function>eio_lstat</function> devuelve un recurso de petición en caso de éxito o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -130,8 +130,8 @@ array(12) {
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -139,7 +139,7 @@ array(12) {
|
||||
<member><function>eio_fstat</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_npending</refname>
|
||||
<refpurpose>Devolver el número de peticiones, excepto las no manejadas</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -18,14 +18,14 @@
|
||||
<para>
|
||||
<function>eio_npending</function> devuelve el número de peticiones, excepto las no manejadas.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -33,7 +33,7 @@
|
||||
no manejadas.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -42,7 +42,7 @@
|
||||
<member><function>eio_nthreads</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_nready</refname>
|
||||
<refpurpose>Devolver el número de peticiones aún no tratadas</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,23 +16,23 @@
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<function>eio_nready</function> devuelve el número de peticiones aún no tratadas
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -41,7 +41,7 @@
|
||||
<member><function>eio_nthreads</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_nreqs</refname>
|
||||
<refpurpose>Devuelve el número de peticiones a ser procesadas</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,21 +19,21 @@
|
||||
<function>eio_nreqs</function> se podría llamar en un bucle personalizado al llamar a
|
||||
<function>eio_poll</function>.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<function>eio_nreqs</function> devuelve el número de peticiones a ser procesadas.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -69,7 +69,7 @@ int(0)
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -77,7 +77,7 @@ int(0)
|
||||
<member><function>eio_nready</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_nthreads</refname>
|
||||
<refpurpose>Devuelve el número de hilos actualmente en uso</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,16 +16,16 @@
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -33,7 +33,7 @@
|
||||
uso.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -45,7 +45,7 @@
|
||||
<member><function>eio_set_min_parallel</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_read</refname>
|
||||
<refpurpose>Leer de un descriptor de fichero en un índice dado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -27,9 +27,9 @@
|
||||
<parameter>offset</parameter>. Los bytes leídos son almacenados en el
|
||||
argumento <parameter>result</parameter> de <parameter>callback</parameter>.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -79,7 +79,7 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -88,7 +88,7 @@
|
||||
<parameter>callback</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -145,7 +145,7 @@ string(5) "34567"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -155,7 +155,7 @@ string(5) "34567"
|
||||
<member><function>eio_event_loop</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_realpath</refname>
|
||||
<refpurpose>Obtener el nombre de ruta absoluto canonizado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -24,9 +24,9 @@
|
||||
canonizado en el argumento <parameter>result</parameter> de la
|
||||
función <parameter>callback</parameter>.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -35,7 +35,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
EL nombre abreviado
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -43,7 +43,7 @@
|
||||
<term><parameter>pri</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -51,7 +51,7 @@
|
||||
<term><parameter>callback</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -59,20 +59,20 @@
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -100,7 +100,7 @@ string(5) "/home"
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_set_max_idle</refname>
|
||||
<refpurpose>Establecer el número máximo de hilos parados</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,11 +16,11 @@
|
||||
<methodparam><type>int</type><parameter>nthreads</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -34,14 +34,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -50,7 +50,7 @@
|
||||
<member><function>eio_set_max_parallel</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_set_max_parallel</refname>
|
||||
<refpurpose>Esteblecer el máximo de hilos paralelos</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,11 +16,11 @@
|
||||
<methodparam><type>int</type><parameter>nthreads</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -34,14 +34,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -50,7 +50,7 @@
|
||||
<member><function>eio_set_min_parallel</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_set_max_poll_reqs</refname>
|
||||
<refpurpose>Establecer el máximo número de peticiones procesadas en una monitorización</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,11 +16,11 @@
|
||||
<methodparam><type>int</type><parameter>nreqs</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -34,14 +34,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_set_max_poll_time</refname>
|
||||
<refpurpose>Establecer el tiempo máximo de monitorización</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,9 +19,9 @@
|
||||
La monitorización se detiene si toma más de <parameter>nseconds</parameter>
|
||||
segundos.
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -35,14 +35,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_set_min_parallel</refname>
|
||||
<refpurpose>Esteblecer el número de hilos paralelos mínimo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,11 +16,11 @@
|
||||
<methodparam><type>string</type><parameter>nthreads</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -34,14 +34,14 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -50,7 +50,7 @@
|
||||
<member><function>eio_set_max_parallel</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>eio_stat</refname>
|
||||
<refpurpose>Obtener el estado de un fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -23,9 +23,9 @@
|
||||
<function>eio_stat</function> devuelve la información del estado de un fichero en
|
||||
el argumento <parameter>result</parameter> de <parameter>callback</parameter>
|
||||
</para>
|
||||
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
@@ -59,7 +59,7 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -68,7 +68,7 @@
|
||||
<parameter>callback</parameter> a un array.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
@@ -132,7 +132,7 @@ array(12) {
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@@ -140,7 +140,7 @@ array(12) {
|
||||
<member><function>eio_fstat</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
<reference xml:id="ref.eio" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>&Functions; Eio</title>
|
||||
|
||||
|
||||
&reference.eio.entities.functions;
|
||||
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<?phpdoc extension-membership="core" ?>
|
||||
<title>Manejo y registro de errores</title>
|
||||
<titleabbrev>Manejo de errores</titleabbrev>
|
||||
|
||||
|
||||
<preface xml:id="intro.errorfunc">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
@@ -16,24 +16,24 @@
|
||||
la manera en que los errores pueden ser registrados. Esto le permite cambiar y
|
||||
mejorar la notificación de errores para acomodarla a sus necesidades.
|
||||
</para>
|
||||
<para>
|
||||
<para>
|
||||
Con las funciones de registro se pueden enviar mensajes directamente a otras
|
||||
máquinas, a un e-mail (¡o un e-mail a un busca!), al registro del sistema,
|
||||
etc., por lo que puede registrar y monitorizar selectivamente las partes más importantes
|
||||
de sus aplicaciones y sitios web.
|
||||
</para>
|
||||
<para>
|
||||
<para>
|
||||
Las funciones de notificación de errores le permiten personalizar qué niveles y
|
||||
tipos de errores se dan, abarcando desde simples avisos hasta funciones
|
||||
personalizadas devueltas al originarse un error.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
|
||||
&reference.errorfunc.setup;
|
||||
&reference.errorfunc.constants;
|
||||
&reference.errorfunc.examples;
|
||||
&reference.errorfunc.reference;
|
||||
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
error_reporting(0);
|
||||
|
||||
// función de gestión de errores definida por el usuario
|
||||
function gestorErrores($númerr, $menserr, $nombrearchivo, $númlínea, $vars)
|
||||
function gestorErrores($númerr, $menserr, $nombrearchivo, $númlínea, $vars)
|
||||
{
|
||||
// marca de tiempo para la entrada del error
|
||||
$fh = date("Y-m-d H:i:s (T)");
|
||||
@@ -43,7 +43,7 @@ function gestorErrores($númerr, $menserr, $nombrearchivo, $númlínea, $vars)
|
||||
);
|
||||
// conjunto de errores por el cuál se guardará un seguimiento de una variable
|
||||
$errores_usuario = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE);
|
||||
|
||||
|
||||
$err = "<errorentry>\n";
|
||||
$err .= "\t<datetime>" . $fh . "</datetime>\n";
|
||||
$err .= "\t<errornum>" . $númerr . "</errornum>\n";
|
||||
@@ -56,7 +56,7 @@ function gestorErrores($númerr, $menserr, $nombrearchivo, $númlínea, $vars)
|
||||
$err .= "\t<vartrace>" . wddx_serialize_value($vars, "Variables") . "</vartrace>\n";
|
||||
}
|
||||
$err .= "</errorentry>\n\n";
|
||||
|
||||
|
||||
// para probar
|
||||
// echo $err;
|
||||
|
||||
@@ -68,7 +68,7 @@ function gestorErrores($númerr, $menserr, $nombrearchivo, $númlínea, $vars)
|
||||
}
|
||||
|
||||
|
||||
function distancia($vect1, $vect2)
|
||||
function distancia($vect1, $vect2)
|
||||
{
|
||||
if (!is_array($vect1) || !is_array($vect2)) {
|
||||
trigger_error("Parámetros incorrectos, se esperaba una matriz", E_USER_ERROR);
|
||||
@@ -84,12 +84,12 @@ function distancia($vect1, $vect2)
|
||||
$c1 = $vect1[$i]; $c2 = $vect2[$i];
|
||||
$d = 0.0;
|
||||
if (!is_numeric($c1)) {
|
||||
trigger_error("La coordenada $i del vector 1 no es un número, se usará cero",
|
||||
trigger_error("La coordenada $i del vector 1 no es un número, se usará cero",
|
||||
E_USER_WARNING);
|
||||
$c1 = 0.0;
|
||||
}
|
||||
if (!is_numeric($c2)) {
|
||||
trigger_error("La coordenada $i del vector 2 no es un número, se usará cero",
|
||||
trigger_error("La coordenada $i del vector 2 no es un número, se usará cero",
|
||||
E_USER_WARNING);
|
||||
$c2 = 0.0;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Número opcional de segundos después de los cuales el evento base deberá parar el
|
||||
Número opcional de segundos después de los cuales el evento base deberá parar el
|
||||
envío de eventos.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<para>
|
||||
En caso de éxito devuelve el tiempo actual(como el devuelto por
|
||||
<literal>gettimeofday()</literal>
|
||||
), mirando el valor en la caché dentro de
|
||||
), mirando el valor en la caché dentro de
|
||||
<emphasis>base</emphasis>
|
||||
si es posible, y llamando a
|
||||
<literal>gettimeofday()</literal>
|
||||
|
||||
@@ -27,7 +27,7 @@ switch (expect_expectl ($stream, $cases)) {
|
||||
case PASSWORD:
|
||||
fwrite ($stream, "password\n");
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
die ("Error al tratar de conectar con el host remoto\n");
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<refentry xml:id="function.expect-popen" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>expect_popen</refname>
|
||||
<refpurpose>Ejecuta comandos por la shell Bourne, y abre el flujo PTY
|
||||
<refpurpose>Ejecuta comandos por la shell Bourne, y abre el flujo PTY
|
||||
al proceso</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user