mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
misc: update xml outdate files, remove ifx section
This commit is contained in:
@@ -1539,8 +1539,7 @@ include_path = ".:${USER}/pear/php"
|
||||
<listitem>
|
||||
<para>
|
||||
El "directorio raíz" de PHP en el servidor. Solamente usada si
|
||||
no está vacía. Si PHP está configurado con &safemode;, ningún otro
|
||||
fichero fuera de este directorio será servido.
|
||||
no está vacía.
|
||||
Si PHP no se compiló con FORCE_REDIRECT, <emphasis>debería
|
||||
</emphasis> establecerse doc_root si se está usando PHP como CGI bajo
|
||||
cualquier tipo de servidor (que no sea IIS). La alternativa es usar
|
||||
|
||||
@@ -145,7 +145,7 @@ function analizar_http_digest($txt)
|
||||
revele la contraseña de una página que se autenticó con un
|
||||
mecanismo externo tradicional, las variables PHP_AUTH no se
|
||||
establecerán si la autenticación externa está habilitada para esa
|
||||
página en particular y si el &safemode; está habilitado. Independientemente,
|
||||
página en particular. Independientemente,
|
||||
se puede emplear <varname>REMOTE_USER</varname>
|
||||
para identificar al usuario autenticado externamente. De este modo, se podrá usar
|
||||
<varname>$_SERVER['REMOTE_USER']</varname>.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: yago Status: ready -->
|
||||
<!-- EN-Revision: dec1f8445ab2af7fbafef012fb7907ab2cd349b5 Maintainer: yago Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: seros -->
|
||||
|
||||
<chapter xml:id="install.problems" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<simpara>
|
||||
Si sigue bloqueado, seguramente alguien de la lista de correo de la instalación de PHP
|
||||
podrá ayudarle. Primero, debería consultar el archivo para comprobar si
|
||||
podrá ayudarle. Primero, debería consultar el archivo para comprobar si
|
||||
alguien ya ha contestado a otra persona que haya tenido el mismo problema.
|
||||
Los archivos están disponibles desde la página de soporte en <link
|
||||
xlink:href="&url.php.support;">&url.php.support;</link>. Para subscribirse a la lista de correo
|
||||
@@ -33,7 +33,7 @@
|
||||
Si quiere obtener ayuda de la lista de correo, por favor trate
|
||||
de ser preciso y dar toda la información necesaria a cerca de su entorno
|
||||
(sistema operativo, versión de PHP, servidor web, si
|
||||
está usando PHP como GCI o como módulo de servidor, &safemode;, etc.), y
|
||||
está usando PHP como GCI o como módulo de servidor, etc.), y
|
||||
preferiblemente suficiente código para que otras personas sean capaces de reproducir y probar
|
||||
su problema.
|
||||
</simpara>
|
||||
@@ -51,8 +51,8 @@
|
||||
también está capacitado para enviar sugerencias y peticiones.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Lea el documento <link
|
||||
xlink:href="&url.php.bugs.howtoreport;">Cómo informar sobre errores</link>
|
||||
Lea el documento <link
|
||||
xlink:href="&url.php.bugs.howtoreport;">Cómo informar sobre errores</link>
|
||||
antes de enviar cualquier informe de errores.
|
||||
</simpara>
|
||||
</sect1>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<!-- EN-Revision: 227c9c797eb2ea920aa9b3fb8d46ef3ecec860ae Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no Maintainer: seros -->
|
||||
|
||||
<!-- Not used in EN anymore -->
|
||||
<!ENTITY changelog.randomseed '<row xmlns="http://docbook.org/ns/docbook"><entry>4.2.0</entry><entry>El generador de
|
||||
números aleatorio es sembrado automáticamente.</entry></row>'>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: d8669a0bd438b0414c765dda06e270d10af7b17e Maintainer: seros Status: ready -->
|
||||
<!-- EN-Revision: 646e6eb3e3eaf0cb40127405a01ed5e3f479799f Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no Maintainer: andresdzphp -->
|
||||
<chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Operadores</title>
|
||||
@@ -31,7 +31,7 @@
|
||||
exactamente cómo son evaluadas expresiones que contienen varios diferentes
|
||||
operadores.
|
||||
</para>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.precedence">
|
||||
<title>Precedencia de operadores</title>
|
||||
<para>
|
||||
@@ -100,15 +100,15 @@
|
||||
<row>
|
||||
<entry>derecha</entry>
|
||||
<entry>
|
||||
<literal>++</literal>
|
||||
<literal>--</literal>
|
||||
<literal>~</literal>
|
||||
<literal>(int)</literal>
|
||||
<literal>(float)</literal>
|
||||
<literal>(string)</literal>
|
||||
<literal>++</literal>
|
||||
<literal>--</literal>
|
||||
<literal>~</literal>
|
||||
<literal>(int)</literal>
|
||||
<literal>(float)</literal>
|
||||
<literal>(string)</literal>
|
||||
<literal>(array)</literal>
|
||||
<literal>(object)</literal>
|
||||
<literal>(bool)</literal>
|
||||
<literal>(object)</literal>
|
||||
<literal>(bool)</literal>
|
||||
<literal>@</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
@@ -143,8 +143,8 @@
|
||||
<row>
|
||||
<entry>izquierda</entry>
|
||||
<entry>
|
||||
<literal>+</literal>
|
||||
<literal>-</literal>
|
||||
<literal>+</literal>
|
||||
<literal>-</literal>
|
||||
<literal>.</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
@@ -154,7 +154,7 @@
|
||||
<row>
|
||||
<entry>izquierda</entry>
|
||||
<entry>
|
||||
<literal><<</literal>
|
||||
<literal><<</literal>
|
||||
<literal>>></literal>
|
||||
</entry>
|
||||
<entry>
|
||||
@@ -164,9 +164,9 @@
|
||||
<row>
|
||||
<entry>no asociativo</entry>
|
||||
<entry>
|
||||
<literal><</literal>
|
||||
<literal><=</literal>
|
||||
<literal>></literal>
|
||||
<literal><</literal>
|
||||
<literal><=</literal>
|
||||
<literal>></literal>
|
||||
<literal>>=</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
@@ -177,9 +177,9 @@
|
||||
<entry>no asociativo</entry>
|
||||
<entry>
|
||||
<literal>==</literal>
|
||||
<literal>!=</literal>
|
||||
<literal>===</literal>
|
||||
<literal>!==</literal>
|
||||
<literal>!=</literal>
|
||||
<literal>===</literal>
|
||||
<literal>!==</literal>
|
||||
<literal><></literal>
|
||||
<literal><=></literal>
|
||||
</entry>
|
||||
@@ -239,18 +239,18 @@
|
||||
<row>
|
||||
<entry>derecha</entry>
|
||||
<entry>
|
||||
<literal>=</literal>
|
||||
<literal>+=</literal>
|
||||
<literal>-=</literal>
|
||||
<literal>*=</literal>
|
||||
<literal>**=</literal>
|
||||
<literal>/=</literal>
|
||||
<literal>.=</literal>
|
||||
<literal>%=</literal>
|
||||
<literal>&=</literal>
|
||||
<literal>|=</literal>
|
||||
<literal>^=</literal>
|
||||
<literal><<=</literal>
|
||||
<literal>=</literal>
|
||||
<literal>+=</literal>
|
||||
<literal>-=</literal>
|
||||
<literal>*=</literal>
|
||||
<literal>**=</literal>
|
||||
<literal>/=</literal>
|
||||
<literal>.=</literal>
|
||||
<literal>%=</literal>
|
||||
<literal>&=</literal>
|
||||
<literal>|=</literal>
|
||||
<literal>^=</literal>
|
||||
<literal><<=</literal>
|
||||
<literal>>>=</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
@@ -356,7 +356,7 @@ x menos uno igual a 3, o eso espero
|
||||
</para>
|
||||
</note>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.arithmetic">
|
||||
<title>Operadores aritméticos</title>
|
||||
<simpara>
|
||||
@@ -452,9 +452,9 @@ echo (-5 % -3)."\n"; // muestra -2
|
||||
Véase también la página del manual sobre
|
||||
<link linkend="ref.math">funciones matemáticas</link>.
|
||||
</simpara>
|
||||
|
||||
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.assignment">
|
||||
<title>Operadores de asignación</title>
|
||||
<simpara>
|
||||
@@ -505,21 +505,21 @@ $b .= "ahí!"; // establece $b en "Hola ahí!", al igual que $b = $b . "ahí!";
|
||||
(asignación por valor), por lo que los cambios en una no afectarán a la
|
||||
otra. Esto también puede tener relevancia si se necesita copiar algo
|
||||
como un gran array dentro de un bucle estrecho.
|
||||
</para>
|
||||
</para>
|
||||
<para>
|
||||
Una excepción al comportamiento usual de la asignación por valor en PHP ocurre
|
||||
con <type>object</type>s los cuales son asignados por referencia en PHP 5.
|
||||
Los objetos pueden ser explícitamente copiados por medio de la palabra clave
|
||||
<link linkend="language.oop5.cloning">clone</link>.
|
||||
</para>
|
||||
|
||||
|
||||
<sect2 xml:id="language.operators.assignment.reference">
|
||||
<title>Asignación por referencia</title>
|
||||
<para>
|
||||
La asignación por referencia también está soportada, utilizando la
|
||||
sintaxis "<computeroutput>$var = &$othervar;</computeroutput>".
|
||||
Asignación por referencia significa que ambas variables terminan apuntando a los
|
||||
mismos datos y nada es copiado en ninguna parte.
|
||||
mismos datos y nada es copiado en ninguna parte.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
@@ -574,7 +574,7 @@ $o = &new C;
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.bitwise">
|
||||
<title>Operadores bit a bit</title>
|
||||
<simpara>
|
||||
@@ -1241,7 +1241,7 @@ Expression: 0 = -4 << 62
|
||||
<function>gmp_clrbit</function>
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.comparison">
|
||||
<title>Operadores de comparación</title>
|
||||
<simpara>
|
||||
@@ -1362,57 +1362,57 @@ case "a": // nunca alcanzado debido a que "a" ya ha coincidido con 0
|
||||
</programlisting>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
<?php
|
||||
// Integers
|
||||
echo 1 <=> 1; // 0
|
||||
echo 1 <=> 2; // -1
|
||||
echo 2 <=> 1; // 1
|
||||
|
||||
|
||||
// Floats
|
||||
echo 1.5 <=> 1.5; // 0
|
||||
echo 1.5 <=> 2.5; // -1
|
||||
echo 2.5 <=> 1.5; // 1
|
||||
|
||||
|
||||
// Strings
|
||||
echo "a" <=> "a"; // 0
|
||||
echo "a" <=> "b"; // -1
|
||||
echo "b" <=> "a"; // 1
|
||||
|
||||
|
||||
echo "a" <=> "aa"; // -1
|
||||
echo "zz" <=> "aa"; // 1
|
||||
|
||||
|
||||
// Arrays
|
||||
echo [] <=> []; // 0
|
||||
echo [1, 2, 3] <=> [1, 2, 3]; // 0
|
||||
echo [1, 2, 3] <=> []; // 1
|
||||
echo [1, 2, 3] <=> [1, 2, 1]; // 1
|
||||
echo [1, 2, 3] <=> [1, 2, 4]; // -1
|
||||
|
||||
|
||||
// Objects
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["a" => "b"];
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["a" => "b"];
|
||||
echo $a <=> $b; // 0
|
||||
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["a" => "c"];
|
||||
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["a" => "c"];
|
||||
echo $a <=> $b; // -1
|
||||
|
||||
$a = (object) ["a" => "c"];
|
||||
$b = (object) ["a" => "b"];
|
||||
|
||||
$a = (object) ["a" => "c"];
|
||||
$b = (object) ["a" => "b"];
|
||||
echo $a <=> $b; // 1
|
||||
|
||||
|
||||
// only values are compared
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["b" => "b"];
|
||||
$a = (object) ["a" => "b"];
|
||||
$b = (object) ["b" => "b"];
|
||||
echo $a <=> $b; // 1
|
||||
|
||||
?>
|
||||
]]>
|
||||
|
||||
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
Para varios tipos, la comparación se realiza de acuerdo a la siguiente
|
||||
tabla (en orden).
|
||||
@@ -1472,7 +1472,7 @@ echo $a <=> $b; // 1
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Comparación boolean/null</title>
|
||||
@@ -1490,8 +1490,8 @@ var_dump(min(-100, -10, NULL, 10, 100)); // NULL - (bool)NULL < (bool)-100 is FA
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
|
||||
<para>
|
||||
<example>
|
||||
<title>Transcripción de la comparación estándar de arrays</title>
|
||||
@@ -1522,7 +1522,7 @@ function standard_array_compare($op1, $op2)
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
Ver también <function>strcasecmp</function>,
|
||||
<function>strcmp</function>,
|
||||
@@ -1530,20 +1530,20 @@ function standard_array_compare($op1, $op2)
|
||||
y la sección del manual sobre
|
||||
<link linkend="language.types">tipos</link>.
|
||||
</para>
|
||||
|
||||
|
||||
<warning>
|
||||
<title>Comparación de números de punto flotante</title>
|
||||
|
||||
|
||||
<para>
|
||||
Debido a la forma en que son representados internamente los <type>float</type>s, no
|
||||
se deben probar por igualdad dos <type>float</type>s.
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
Ver la documentación de <type>float</type> para más información.
|
||||
</para>
|
||||
</warning>
|
||||
|
||||
|
||||
<sect2 xml:id="language.operators.comparison.ternary">
|
||||
<title>Operador ternario</title>
|
||||
<para>
|
||||
@@ -1618,9 +1618,9 @@ echo ((true ? 'true' : false) ? 't' : 'f');
|
||||
</para>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.errorcontrol">
|
||||
<title>Operadores de control de errores</title>
|
||||
<simpara>
|
||||
@@ -1687,7 +1687,7 @@ $value = @$cache[$key];
|
||||
</para>
|
||||
</warning>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.execution">
|
||||
<title>Operadores de ejecución</title>
|
||||
<para>
|
||||
@@ -1710,8 +1710,8 @@ echo "<pre>$output</pre>";
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
El operador de comillas invertidas se deshabilita cuando &safemode; esta activado
|
||||
o <function>shell_exec</function> esta desactivado.
|
||||
El operador de comillas invertidas se deshabilita cuando
|
||||
<function>shell_exec</function> esta desactivado.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
@@ -1728,7 +1728,7 @@ echo "<pre>$output</pre>";
|
||||
línea de comandos</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.increment">
|
||||
<title>Operadores de incremento/decremento</title>
|
||||
<para>
|
||||
@@ -1871,10 +1871,10 @@ A14
|
||||
Incrementar o decrementar booleanos no tiene efecto.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.logical">
|
||||
<title>Operadores lógicos</title>
|
||||
|
||||
|
||||
<table>
|
||||
<title>Operadores lógicos</title>
|
||||
<tgroup cols="3">
|
||||
@@ -1978,7 +1978,7 @@ bool(true)
|
||||
</screen>
|
||||
</example>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.string">
|
||||
<title>Operadores para strings</title>
|
||||
<simpara>
|
||||
@@ -1990,7 +1990,7 @@ bool(true)
|
||||
linkend="language.operators.assignment">Operadores de
|
||||
asignación</link> para más información.
|
||||
</simpara>
|
||||
|
||||
|
||||
<para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
@@ -2012,7 +2012,7 @@ $a .= "World!"; // ahora $a contiene "Hello World!"
|
||||
<link linkend="ref.strings">funciones de strings</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
||||
<sect1 xml:id="language.operators.array">
|
||||
<title>Operadores para arrays</title>
|
||||
<table>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<para>
|
||||
<function>apache_reset_timeout</function> estaura el temporizador
|
||||
de Apache, el cual tiene por defecto 300 segundos. Con <literal>set_time_limit(0);
|
||||
ignore_user_abort(true)</literal> y realizando llamadas
|
||||
ignore_user_abort(true)</literal> y realizando llamadas
|
||||
periódicas <function>apache_reset_timeout</function>, teóricamente Apache funciona para siempre.
|
||||
</para>
|
||||
<para>
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.disabled;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
@@ -79,12 +79,11 @@
|
||||
El array de claves resultante ya no se mezcla.
|
||||
</entry>
|
||||
</row>
|
||||
&changelog.randomseed;
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -132,4 +131,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
||||
@@ -10,23 +10,23 @@
|
||||
<preface xml:id="intro.componere">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Componere <subscript>(latin, English: compose)</subscript> se dirige a los entornos de producción y proporciona una API para
|
||||
Componere <subscript>(latin, English: compose)</subscript> se dirige a los entornos de producción y proporciona una API para
|
||||
composición de las clases, parches y moldeado.
|
||||
</para>
|
||||
<formalpara>
|
||||
<title>Composición:</title>
|
||||
<para>
|
||||
<classname>Componere\Definition</classname> se utiliza para definir (o redefinir) una clase en tiempo de ejecución;
|
||||
La clase puede entonces registrarse, y en caso de redefinición reemplaza a la clase original
|
||||
<classname>Componere\Definition</classname> se utiliza para definir (o redefinir) una clase en tiempo de ejecución;
|
||||
La clase puede entonces registrarse, y en caso de redefinición reemplaza a la clase original
|
||||
durante todo el tiempo que la clase <classname>Componere\Definition</classname> exista.
|
||||
<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-patch')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" />
|
||||
</para>
|
||||
</formalpara>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title>Parcheado:</title>
|
||||
<para>
|
||||
<classname>Componere\Patch</classname> se utiliza para cambiar la clase de una instancia específica de un objeto en tiempo de ejecución;
|
||||
<classname>Componere\Patch</classname> se utiliza para cambiar la clase de una instancia específica de un objeto en tiempo de ejecución;
|
||||
Tras su aplicación, el parche permanecerá aplicado durante todo el tiempo que la clase <classname>Componere\Patch</classname> exista, y puede ser revertido explícitamente.
|
||||
<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')])" />
|
||||
</para>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
<function>dbase_create</function> crea una base de datos dBase con la definición
|
||||
dada.
|
||||
</para>
|
||||
¬e.sm.uidcheck;
|
||||
¬e.open-basedir.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
<function>dbase_open</function> abre una base de datos dBase con el modo de
|
||||
acceso dado.
|
||||
</para>
|
||||
¬e.sm.uidcheck;
|
||||
¬e.open-basedir.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -38,7 +37,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Un entero que se corresponde a aquéllos de la llamada al sistema de
|
||||
<command>open()</command> (Normalmente 0 significa sólo lectura, 1 sólo escritura, y 2
|
||||
<command>open()</command> (Normalmente 0 significa sólo lectura, 1 sólo escritura, y 2
|
||||
lectura y escritura).
|
||||
</para>
|
||||
<note>
|
||||
@@ -67,7 +66,7 @@ $db = dbase_open('/tmp/test.dbf', 0);
|
||||
|
||||
if ($db) {
|
||||
// leer alguna información ..
|
||||
|
||||
|
||||
dbase_close($db);
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>chdir</refname>
|
||||
<refpurpose>Cambia de directorio</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -16,11 +16,11 @@
|
||||
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Cambia el directorio actual de PHP a
|
||||
Cambia el directorio actual de PHP a
|
||||
<parameter>directorio</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -36,21 +36,21 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Emite un error de nivel <constant>E_WARNING</constant> en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -59,15 +59,15 @@
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
|
||||
// directorio actual
|
||||
echo getcwd() . "\n";
|
||||
|
||||
|
||||
chdir('public_html');
|
||||
|
||||
// directorio actual
|
||||
|
||||
// directorio actual
|
||||
echo getcwd() . "\n";
|
||||
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -81,12 +81,11 @@ echo getcwd() . "\n";
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck.dir;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -96,7 +95,7 @@ echo getcwd() . "\n";
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<para>
|
||||
Flags opcionales. Puede ser una de las constantes
|
||||
<literal>EventBase::LOOP_*</literal>.
|
||||
Véase
|
||||
Véase
|
||||
<link linkend="eventbase.constants">constantes EventBase</link>
|
||||
.
|
||||
</para>
|
||||
|
||||
@@ -100,8 +100,6 @@ echo exec('whoami');
|
||||
&reftitle.notes;
|
||||
&warn.escapeshell;
|
||||
¬e.exec-bg;
|
||||
¬e.exec-path;
|
||||
&warn.sm.exec;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
@@ -30,7 +30,7 @@ Estableciendo el Content-type como <literal>image/gif</literal> y llamando al pr
|
||||
<term><parameter>command</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El comando que será ejecutado.
|
||||
El comando que será ejecutado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -57,8 +57,6 @@ Si está presente el argumento <parameter>return_var</parameter>, el valor de re
|
||||
&reftitle.notes;
|
||||
&warn.escapeshell;
|
||||
¬e.exec-bg;
|
||||
¬e.exec-path;
|
||||
&warn.sm.exec;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>shell_exec</refname>
|
||||
<refpurpose>Ejecutar un comando mediante el intérprete de comandos y devolver la salida completa como una cadena</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
invertidas</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -37,7 +37,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -53,7 +53,7 @@
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -70,16 +70,7 @@ echo "<pre>$salida</pre>";
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
&sm.disabled;
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -110,4 +101,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
||||
@@ -98,8 +98,6 @@ echo '
|
||||
&reftitle.notes;
|
||||
&warn.escapeshell;
|
||||
¬e.exec-bg;
|
||||
¬e.exec-path;
|
||||
&warn.sm.exec;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
@@ -137,4 +135,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
<para>
|
||||
Devuelve los datos de una localización específica en la base de datos.
|
||||
</para>
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
<para>
|
||||
Devuelve el número de columnas de una base de datos abierta filePro.
|
||||
</para>
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -13,14 +13,13 @@
|
||||
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lee y verifica el mapa del fichero, guardando el número de
|
||||
Lee y verifica el mapa del fichero, guardando el número de
|
||||
campos e información.
|
||||
</para>
|
||||
<para>
|
||||
No se produce ningún bloqueo, así que se debería evitar modificar
|
||||
la base de datos cuando es abierto con PHP.
|
||||
</para>
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<refname>chgrp</refname>
|
||||
<refpurpose>Cambia el grupo del archivo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -23,7 +23,7 @@
|
||||
pueden cambiar el grupo de un archivo por cualquier grupo del que el usuario sea miembro.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -47,14 +47,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -75,13 +75,12 @@ printf($formato, $nombre_fichero, date('r'), filegroup($nombre_archivo));
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.no-remote;
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -91,7 +90,7 @@ printf($formato, $nombre_fichero, date('r'), filegroup($nombre_archivo));
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 063e19aa135491544f2e96ea47b9597282d35c60 Maintainer: seros Status: ready -->
|
||||
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: seros -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.chmod">
|
||||
<refnamediv>
|
||||
<refname>chmod</refname>
|
||||
<refpurpose>Cambia el modo de un fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
<parameter>mode</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -39,7 +39,7 @@
|
||||
<para>
|
||||
Observe que no se asume que <parameter>mode</parameter> sea automáticamente
|
||||
un valor octal, por lo que, para asegurarse de que la opración sea la esperada,
|
||||
es necesario prefijar <parameter>mode</parameter> con un cero (0).
|
||||
es necesario prefijar <parameter>mode</parameter> con un cero (0).
|
||||
String tales como "g+w" no funcionarán adecuadamente.
|
||||
</para>
|
||||
<para>
|
||||
@@ -93,14 +93,14 @@ chmod("/directorio/fichero", 0750);
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
@@ -111,16 +111,8 @@ chmod("/directorio/fichero", 0750);
|
||||
</para>
|
||||
</note>
|
||||
¬e.no-remote;
|
||||
<note>
|
||||
<para>
|
||||
Cuando &safemode; está habilitado, PHP verifica si los ficheros o directorios
|
||||
sobre los que se va a operar tienen el mismo UID (propietario) que el del script que
|
||||
está siendo ejecutado. Además, no se pueden establecer los bits SUID, SGID y
|
||||
sticky.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -132,7 +124,7 @@ chmod("/directorio/fichero", 0750);
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>chown</refname>
|
||||
<refpurpose>Cambia el propietario del fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
propietario de un fichero.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -45,14 +45,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -95,13 +95,12 @@ Array
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.no-remote;
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -111,7 +110,7 @@ Array
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: af6fdf16ab44bcf4d045407963e43c3d9dd2ff29 Maintainer: seros Status: ready -->
|
||||
<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fopen">
|
||||
<refnamediv>
|
||||
<refname>fopen</refname>
|
||||
<refpurpose>Abre un fichero o un URL</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,10 +19,10 @@
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>fopen</function> asocia un recurso con nombre, especificado por
|
||||
<parameter>filename</parameter>, a un flujo.
|
||||
<parameter>filename</parameter>, a un flujo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -43,8 +43,8 @@
|
||||
un fichero local, intentará abrir un flujo para ese fichero.
|
||||
El fichero debe ser accesible para PHP, por lo que es necesario asegurarse de que
|
||||
los permisos de acceso del fichero permiten este acceso.
|
||||
Si está habilitado el &safemode;
|
||||
o <link linkend="ini.open-basedir">open_basedir</link> se pueden aplicar
|
||||
Si está habilitado
|
||||
<link linkend="ini.open-basedir">open_basedir</link> se pueden aplicar
|
||||
más restricciones.
|
||||
</para>
|
||||
<para>
|
||||
@@ -274,14 +274,14 @@ $gestor = fopen("c:\\folder\\resource.txt", "r");
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un recurso de puntero a fichero si tiene éxito, o &false; si se produjo un error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
@@ -291,7 +291,7 @@ $gestor = fopen("c:\\folder\\resource.txt", "r");
|
||||
advertencia.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
@@ -322,7 +322,7 @@ $gestor = fopen("c:\\folder\\resource.txt", "r");
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -341,11 +341,10 @@ $gestor = fopen("ftp://user:password@example.com/fichero.txt", "w");
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&warn.ssl-non-standard;
|
||||
¬e.sm.uidcheck.dir;
|
||||
<note>
|
||||
<para>
|
||||
Si está experimentando problemas al leer y escribir ficheros y
|
||||
@@ -363,7 +362,7 @@ $gestor = fopen("ftp://user:password@example.com/fichero.txt", "w");
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -385,7 +384,7 @@ $gestor = fopen("ftp://user:password@example.com/fichero.txt", "w");
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 53b6f116ed5f8649ca540c38dfe0ce30619d0dd9 Maintainer: yago Status: ready -->
|
||||
<!-- EN-Revision: dec1f8445ab2af7fbafef012fb7907ab2cd349b5 Maintainer: yago Status: ready -->
|
||||
<!-- Reviewed: no Maintainer: yago -->
|
||||
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-dir">
|
||||
@@ -8,7 +8,7 @@
|
||||
<refname>is_dir</refname>
|
||||
<refpurpose>Indica si el nombre de archivo es un directorio</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -19,7 +19,7 @@
|
||||
Indica si el nombre de archivo dado es un directorio.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -31,15 +31,16 @@
|
||||
Ruta al archivo. Si <parameter>filename</parameter> es un nombre de archivo
|
||||
relativo, será verificado relativo al directorio de trabajo actual.
|
||||
Si <parameter>filename</parameter> es un enlace simbólico o duro,
|
||||
el enlace será resuelto y comprobado. Si tiene activado el &safemode;,
|
||||
o <link linkend="ini.open-basedir">open_basedir</link> se pueden aplicar más restricciones.
|
||||
el enlace será resuelto y comprobado. Si tiene activado
|
||||
<link linkend="ini.open-basedir">open_basedir</link> se pueden aplicar
|
||||
más restricciones.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -47,7 +48,7 @@
|
||||
si no.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -74,18 +75,18 @@ bool(true)
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
&fs.emits.warning.on.failure;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
&tip.fopen-wrapper.stat;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -98,7 +99,7 @@ bool(true)
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<refname>lchgrp</refname>
|
||||
<refpurpose>Cambia el grupo de un enlace simbólico</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -79,7 +79,6 @@ lchgrp($enlace, 8);
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.no-remote;
|
||||
¬e.sm.uidcheck;
|
||||
¬e.no-windows;
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<refname>lchown</refname>
|
||||
<refpurpose>Cambia el propietario de un enlace simbólico</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -77,7 +77,6 @@ lchown($enlace, 8);
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.no-remote;
|
||||
¬e.sm.uidcheck;
|
||||
¬e.no-windows;
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>mkdir</refname>
|
||||
<refpurpose>Crea un directorio</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -21,7 +21,7 @@
|
||||
Intenta crear el directorio especificado por pathname.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -73,14 +73,14 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -118,7 +118,7 @@ if(!mkdir($estructura, 0777, true)) {
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
@@ -130,12 +130,11 @@ if(!mkdir($estructura, 0777, true)) {
|
||||
relevantes impiden crear el directorio.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck.dir;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -145,7 +144,7 @@ if(!mkdir($estructura, 0777, true)) {
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 5308bbedf6e6a83980a13d3dfa45ca0f2469ddd6 Maintainer: seros Status: ready -->
|
||||
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.move-uploaded-file">
|
||||
<refnamediv>
|
||||
<refname>move_uploaded_file</refname>
|
||||
<refpurpose>Mueve un archivo subido a una nueva ubicación</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -29,7 +29,7 @@
|
||||
sistema.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -53,7 +53,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -72,7 +72,7 @@
|
||||
&false;. Adicionalmente, se emitirá un aviso.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -97,13 +97,13 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<function>move_uploaded_file</function> es compatible tanto con el
|
||||
&safemode; como con <link linkend="ini.open-basedir">open_basedir</link>.
|
||||
<function>move_uploaded_file</function> es compatible con
|
||||
<link linkend="ini.open-basedir">open_basedir</link>.
|
||||
Sin embargo, las restricciones sólo están impuestas para la
|
||||
ruta <parameter>dest</parameter> para permitir mover
|
||||
los archivos subidos en los cuales <parameter>filename</parameter> pueda tener
|
||||
@@ -118,7 +118,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
|
||||
</para>
|
||||
</warning>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: seros Status: ready -->
|
||||
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.parse-ini-file">
|
||||
<refnamediv>
|
||||
<refname>parse_ini_file</refname>
|
||||
<refpurpose>Analiza un fichero de configuración</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -25,7 +25,7 @@
|
||||
La estructura del ficher0 ini es la misma que la de &php.ini;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -45,7 +45,7 @@
|
||||
Al establecer el parámetro <parameter>process_sections</parameter>
|
||||
a &true;, se obtiene un array multidimesional, con
|
||||
los nombres de las secciones y las configuraciones incluidas. El valor por defecto
|
||||
de <parameter>process_sections</parameter> es &false;
|
||||
de <parameter>process_sections</parameter> es &false;
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -53,8 +53,8 @@
|
||||
<term><parameter>scanner_mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Puede ser o <constant>INI_SCANNER_NORMAL</constant> (por defecto) o
|
||||
<constant>INI_SCANNER_RAW</constant>. Si <constant>INI_SCANNER_RAW</constant>
|
||||
Puede ser o <constant>INI_SCANNER_NORMAL</constant> (por defecto) o
|
||||
<constant>INI_SCANNER_RAW</constant>. Si <constant>INI_SCANNER_RAW</constant>
|
||||
es proporcionado, los valores de las opciones no serán analizadas.
|
||||
</para>
|
||||
&ini.scanner.typed;
|
||||
@@ -63,7 +63,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -71,76 +71,7 @@
|
||||
y &false; si falla.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.0.0</entry>
|
||||
<entry>
|
||||
Las almohadillas (<literal>#</literal>) ya no se reconocen como comentarios.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.6.1</entry>
|
||||
<entry>
|
||||
Se añadió el nuevo modo <constant>INI_SCANNER_TYPED</constant>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.3.0</entry>
|
||||
<entry>
|
||||
Añadido el parámetro opcional <parameter>scanner_mode</parameter>.
|
||||
Las comillas simples ahora pueden usarse para las asignaciones de variables.
|
||||
Las almohadillas (<literal>#</literal>) no deberían utilizarse como comentarios,
|
||||
ya que lanzarán una advertencia de obsolescencia si se emplean.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.2.7</entry>
|
||||
<entry>
|
||||
Cuando sucede un error de sintaxis, esta función devolverá &false; en vez de un array
|
||||
vacío.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.2.4</entry>
|
||||
<entry>
|
||||
Las claves y los nombres de las secciones consisten en números que ahora se evalúan como
|
||||
<link linkend="language.types.integer">integers</link> de PHP, así los números
|
||||
que comiencen por 0 son evaluados como octales y los números que comiencen por 0x son
|
||||
evaluados como hexadecimales.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.0.0</entry>
|
||||
<entry>
|
||||
Los valores encerrados entre comillas dobles pueden contener nuevas líneas.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.2.1</entry>
|
||||
<entry>
|
||||
Esta función ahora está influida por el &safemode;
|
||||
y <link linkend="ini.open-basedir">open_basedir</link>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -295,7 +226,7 @@ echo '(cargado) magic_quotes_gpc = ' . síno(get_cfg_var('magic_quotes_gpc')) .
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
@@ -330,13 +261,13 @@ echo '(cargado) magic_quotes_gpc = ' . síno(get_cfg_var('magic_quotes_gpc')) .
|
||||
<para>
|
||||
Las entradas sin un signo igual son ignoradas. Por ejemplo, "foo"
|
||||
es ignorado, mientras que "bar =" se analiza y se añade con un valor
|
||||
vacío. Por ejemplo, MySQL tiene un ajuste de "no auto-rehash"
|
||||
vacío. Por ejemplo, MySQL tiene un ajuste de "no auto-rehash"
|
||||
en <filename>my.cnf</filename> que no toma ningún valor, siendo así
|
||||
ignorado.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -345,7 +276,7 @@ echo '(cargado) magic_quotes_gpc = ' . síno(get_cfg_var('magic_quotes_gpc')) .
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
@@ -367,4 +298,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>popen</refname>
|
||||
<refpurpose>Abre un proceso de un puntero a un fichero</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -20,7 +20,7 @@
|
||||
por <parameter>command</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -44,7 +44,7 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
@@ -62,7 +62,7 @@
|
||||
Si se produjo un error, devuelve &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -100,7 +100,7 @@ pclose($gestor);
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
@@ -109,10 +109,8 @@ pclose($gestor);
|
||||
<function>proc_open</function>.
|
||||
</para>
|
||||
</note>
|
||||
¬e.exec-path;
|
||||
&warn.sm.exec;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -123,7 +121,7 @@ pclose($gestor);
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>rmdir</refname>
|
||||
<refpurpose>Elimina un directorio</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -73,7 +73,6 @@ rmdir('ejemplos');
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck.dir;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: chuso Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: seros -->
|
||||
|
||||
<book xml:id="book.ifx" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<?phpdoc extension-membership="bundledexternal" ?>
|
||||
<title>Informix</title>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.ifx">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
El controlador Informix para Informix (IDS) 7.x, SE 7.x, Universal
|
||||
Server (IUS) 9.x y para IDS 2000 está implementado en "ifx.ec" y en
|
||||
"php_informix.h" en el directorio de extensiones de informix. El soporte para IDS 7.x
|
||||
está prácticamente completo, con soporte completo para columnas BYTE y TEXT.
|
||||
El soporte para IUS 9.x está parcialmente terminado: los nuevos tipos de datos
|
||||
están ahí, pero el soporte para SLOB y CLOB aún está en construcción.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
&pecl.moved-ver;5.2.1.
|
||||
</para>
|
||||
</note>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
&reference.ifx.setup;
|
||||
&reference.ifx.constants;
|
||||
&reference.ifx.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: lduran Status: ready -->
|
||||
<section xml:id="ifx.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
Para poder utilizar las funciones definidas en este módulo se debe compilar
|
||||
el intérprete de PHP usando la línea de configuración
|
||||
<option role="configure">--with-informix[=DIR]</option>, donde DIR es el
|
||||
directorio base de instalación de Informix, cuyo valor por defecto es nada.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
@@ -1,112 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: lduran Status: ready -->
|
||||
<!-- Reviewed: no Maintainer: lduran -->
|
||||
|
||||
<appendix xml:id="ifx.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.ifx-scroll">
|
||||
<term>
|
||||
<constant>IFX_SCROLL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-hold">
|
||||
<term>
|
||||
<constant>IFX_HOLD</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-rdonly">
|
||||
<term>
|
||||
<constant>IFX_LO_RDONLY</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-wronly">
|
||||
<term>
|
||||
<constant>IFX_LO_WRONLY</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-append">
|
||||
<term>
|
||||
<constant>IFX_LO_APPEND</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-rdwr">
|
||||
<term>
|
||||
<constant>IFX_LO_RDWR</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-buffer">
|
||||
<term>
|
||||
<constant>IFX_LO_BUFFER</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.ifx-lo-nobuffer">
|
||||
<term>
|
||||
<constant>IFX_LO_NOBUFFER</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</appendix>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
@@ -1,115 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-affected-rows" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_affected_rows</refname>
|
||||
<refpurpose>Devolver el número de filas afectadas por una consulta</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_affected_rows</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el número de filas afectadas por una consulta asociada a
|
||||
<parameter>result_id</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
Para consultas "INSERT", "UPDATE" y "DELETE" el valor devuelto es el valor real
|
||||
(sqlerrd[2]) de filas afectadas. Para consultas "SELECT" el valor devuelto es una estimación
|
||||
(sqlerrd[0]). Es importante considerar que el servidor de la base de datos no siempre
|
||||
devuelve el total de filas que serán devueltas por una consulta "SELECT"
|
||||
debido a que en este punto aún no se ha comenzado el procesamiento de registros
|
||||
(ésto se hace despues del "PREPARE").
|
||||
</para>
|
||||
<para>
|
||||
Esta función es útil despues de llamar <function>ifx_prepare</function> para limitar las consultas a
|
||||
un número de registros razonable por bloque.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador válido devuelto por <function>ifx_query</function> o
|
||||
<function>ifx_prepare</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de registros como valor entero.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Total de filas Informix afectadas</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$rid = ifx_prepare("select * from emp
|
||||
where name like " . $name, $connid);
|
||||
if (! $rid) {
|
||||
/* ... error ... */
|
||||
}
|
||||
$rowcount = ifx_affected_rows($rid);
|
||||
if ($rowcount > 1000) {
|
||||
printf ("Demasiadas filas devueltas en el bloque (%d)\n<br />", $rowcount);
|
||||
die ("Por favor limite el número de filas devueltas por tu consulta<br />\n");
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_num_rows</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-blobinfile-mode" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_blobinfile_mode</refname>
|
||||
<refpurpose>Establece el modo predeterminado de blob en todas las consultas de selección</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_blobinfile_mode</methodname>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Establece el modo predeterminado de blob en todas las consultas de selección.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Modo "0" significa guardarlos en la memoria, y modo "1" significa guardarlos
|
||||
en un archivo.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-byteasvarchar" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_byteasvarchar</refname>
|
||||
<refpurpose>Establece el modo predeterminado byte</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_byteasvarchar</methodname>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Establece el modo byte predeterminado para todas las consultas de selección.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Modo "0" devolverá blob id, y modo "1" devolverá un varchar
|
||||
con el contenido del texto.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_textasvarchar</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,104 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_close</refname>
|
||||
<refpurpose>Cerrar conexión Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_close</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>ifx_close</function> cierra el enlace a una base de datos
|
||||
Informix que está asociado al identificador de enlace especificado.
|
||||
</para>
|
||||
<para>
|
||||
Tenga en cuenta que esto no suele ser necesario, los enlaces abiertos que no son permanentes
|
||||
son cerrados automáticamente al finalizar el script.
|
||||
</para>
|
||||
<para>
|
||||
<function>ifx_close</function> no cerrará enlaces permanentes
|
||||
generados por <function>ifx_pconnect</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>link_identifier</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El identificador de enlace. Si no se especifica, el último enlace
|
||||
abierto es asumido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Closing a Informix connection</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$conn_id = ifx_connect ("mydb@ol_srv", "itsme", "mypassword");
|
||||
/* ... Algunas consultas y cosas ... */
|
||||
ifx_close($conn_id);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_connect</function></member>
|
||||
<member><function>ifx_pconnect</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,127 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-connect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_connect</refname>
|
||||
<refpurpose>Abrir conexión con el servidor Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>ifx_connect</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>database</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>userid</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>ifx_connect</function> establece una conexión con un
|
||||
servidor Informix.
|
||||
</para>
|
||||
<para>
|
||||
En este caso se hace una segunda llamada a <function>ifx_connect</function> con los mismos
|
||||
argumentos, no se abrirá nuevo enlace, pero en su lugar. El identificador de enlace ya abierto
|
||||
será devuelto.
|
||||
</para>
|
||||
<para>
|
||||
El enlace al servidor será cerrado tan pronto como la ejecución del script
|
||||
termine, a menos que sea cerrado llamando a explícitamente a
|
||||
<function>ifx_close</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
Todos los argumentos son opcionales, y si alguno falta, por defecto se
|
||||
toman los valores proporcionados en el &php.ini; (ifx.default_host para el host
|
||||
(La libreria usará el valor de entorno <envar>INFORMIXSERVER</envar> si no está definido),
|
||||
ifx.default_user para el usuario, ifx.default_password para la contraseña (ninguna si no está definida).
|
||||
</para>
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>database</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El nombre de la base de datos, como un string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>userid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El usuario, como un string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>password</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
La contraseña, como un string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un identificador de conexión en caso de éxito, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Conectarse a una base de datos Informix</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$conn_id = ifx_connect ("mydb@ol_srv1", "imyself", "mypassword");
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_pconnect</function></member>
|
||||
<member><function>ifx_close</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-copy-blob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_copy_blob</refname>
|
||||
<refpurpose>Duplica el objeto blob</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_copy_blob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Duplica el objeto blob dado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador BLOB.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el id del objeto blob, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_create_blob</function></member>
|
||||
<member><function>ifx_free_blob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,96 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-create-blob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_create_blob</refname>
|
||||
<refpurpose>Crea un objeto Blob</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_create_blob</methodname>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>param</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Crea un objeto blob.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
1 = TEXT, 0 = BYTE
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
0 = blob-object contiene el contenido en la memoria,
|
||||
1 = blob-object contiene el contenido en un archivo.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>param</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
if mode = 0: puntero al contenido,
|
||||
if mode = 1: puntero al string del archivo.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el id del objeto BLOB, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_copy_blob</function></member>
|
||||
<member><function>ifx_free_blob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-create-char" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_create_char</refname>
|
||||
<refpurpose>Crea un objeto char</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_create_char</methodname>
|
||||
<methodparam><type>string</type><parameter>param</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Crea un objeto char.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>param</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El contenido char.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el id del objeto char, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_free_char</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,103 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-do" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_do</refname>
|
||||
<refpurpose>Ejecutar una sentencia SQL previamente preparada</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_do</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Ejecuta una sentencia previamente preparada o abre un puntero hacia una.
|
||||
</para>
|
||||
<para>
|
||||
No libera al identificador <parameter>result_id</parameter> en caso de error.
|
||||
</para>
|
||||
<para>
|
||||
Además establece el número real que devolverá
|
||||
<function>ifx_affected_rows</function> para las sentencias "NO-SELECT".
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (sólo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<example>
|
||||
<title>Ejemplo de <function>ifx_do</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$conn = fx_connect( "db", "user", "password" );
|
||||
$result = ifx_prepare("SELECT customer_num, company FROM customer", $conn);
|
||||
ifx_do($result);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_prepare</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,100 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<refentry xml:id="function.ifx-error" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_error</refname>
|
||||
<refpurpose>Devolver el código del error de la última llamada a Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ifx_error</methodname>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve como cadena un caracter que describe de manera general el resultado de una
|
||||
sentencia así como los códigos SQLSTATE y SQLCODE asociados con
|
||||
la última sentencia SQL ejecutada.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>link_identifier</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Identificador del enlace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Los códigos de error de Informix (SQLSTATE & SQLCODE) en un formato
|
||||
<literal>x [SQLSTATE = aa bbb SQLCODE=cccc]</literal>.
|
||||
</para>
|
||||
<para>
|
||||
donde x = espacio : no hay error
|
||||
</para>
|
||||
<para>
|
||||
E : error
|
||||
</para>
|
||||
<para>
|
||||
N : no hay más datos
|
||||
</para>
|
||||
<para>
|
||||
W : advertencia
|
||||
</para>
|
||||
<para>
|
||||
? : no definido
|
||||
</para>
|
||||
<para>
|
||||
Si el caracter "x" no es un espacio, los códigos SQLSTATE y
|
||||
SQLCODE describen el error con mayor detalle.
|
||||
</para>
|
||||
<para>
|
||||
Consulte el manual de Informix para ver las descripciones de los códigos SQLSTATE y
|
||||
SQLCODE
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_errormsg</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,93 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: f453f7036c74f5f8ce5e15d3d5abbaf8dfd599e2 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-errormsg" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_errormsg</refname>
|
||||
<refpurpose>Devolver el mensaje de error de la última llamada a Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ifx_errormsg</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>errorcode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el mensaje de error Informix asociado con el error Informix más reciente.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>errorcode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Si se especifica, devuelve el mensaje de error correspondiente al
|
||||
código especificado.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un mensaje de error, como cadena.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Ejemplo de <function>ifx_errormsg</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
printf("%s\n<br>", ifx_errormsg(-201));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_error</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-fetch-row" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_fetch_row</refname>
|
||||
<refpurpose>Obtener una fila en forma de arraglo asociativo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ifx_fetch_row</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>position</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Extrae una fila con datos del resultado asociado con el identificador especificado.
|
||||
</para>
|
||||
<para>
|
||||
Las llamadas subsecuentes a <function>ifx_fetch_row</function> devolverán la
|
||||
siguiente fila, o &false; si no hay más filas.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (solo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>position</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Parámetro opcional para extraer datos en cursores "scroll":
|
||||
<literal>NEXT</literal>, <literal>PREVIOUS</literal>,
|
||||
<literal>CURRENT</literal>, <literal>FIRST</literal>,
|
||||
<literal>LAST</literal> o un número.
|
||||
Si se especifica un número se extrae la fila absoluta correspondiete.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un arreglo asociativo correspondiente a la fila extraida, o
|
||||
&false; si ya no hay más filas.
|
||||
</para>
|
||||
<para>
|
||||
Las columnas BLOB son devueltas como identificadores BLOB enteros que pueden ser utilizados en
|
||||
<function>ifx_get_blob</function> a menos que se haya utilizado
|
||||
ifx_textasvarchar(1) o ifx_byteasvarchar(1), de ser así las columnas BLOB son
|
||||
devueltas como cadenas.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Extraer filas Informix</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$rid = ifx_prepare ("select * from emp where name like " . $name,
|
||||
$connid, IFX_SCROLL);
|
||||
if (! $rid) {
|
||||
/* ... error ... */
|
||||
}
|
||||
$rowcount = ifx_affected_rows($rid);
|
||||
if ($rowcount > 1000) {
|
||||
printf ("Demasiadas filas en el bloque (%d)\n<br />", $rowcount);
|
||||
die ("Por favor limite su consulta<br />\n");
|
||||
}
|
||||
if (! ifx_do ($rid)) {
|
||||
/* ... error ... */
|
||||
}
|
||||
$row = ifx_fetch_row ($rid, "NEXT");
|
||||
while (is_array($row)) {
|
||||
for (reset($row); $fieldname=key($row); next($row)) {
|
||||
$fieldvalue = $row[$fieldname];
|
||||
printf ("%s = %s,", $fieldname, $fieldvalue);
|
||||
}
|
||||
printf("\n<br />");
|
||||
$row = ifx_fetch_row($rid, "NEXT");
|
||||
}
|
||||
ifx_free_result ($rid);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,104 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: seros Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-fieldproperties" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_fieldproperties</refname>
|
||||
<refpurpose>Enumerar las propiedades de los campos SQL</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ifx_fieldproperties</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve un array asociativo con las propiedades de los campos SQL de Informix
|
||||
de cada columna de la consulta. Las propiedades son codificadas como:
|
||||
"SQLTYPE;longitud;precisión;escala;ISNULLABLE" donde SQLTYPE = el tipo
|
||||
Informix, como "SQLVCHAR", etc.; e ISNULLABLE = "Y" o "N".
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es un identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (solamente para consultas de selección).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un array asociativo con los nombres de los campos como clave y las propiedades de
|
||||
los mismos como datos para una consulta con <parameter>result_id</parameter>.
|
||||
Devuelve &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Propiedades de los campos SQL de Informix</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$propiedades = ifx_fieldproperties($id_resultado);
|
||||
if (!isset($propiedades)) {
|
||||
/* ... error ... */
|
||||
}
|
||||
foreach ($propiedades as $nombre_campo => $valor) {
|
||||
echo "$nombre_campo:\t propiedades = $valor\n";
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_fieldtypes</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,103 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-fieldtypes" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_fieldtypes</refname>
|
||||
<refpurpose>Listar los tipos de dato de los campos SQL de Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ifx_fieldtypes</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve un arreglo asociativo con los nombres de las campos como llave y sus tipos de dato
|
||||
como valores para la consulta asociada con
|
||||
<parameter>result_id</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (sólo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un arreglo asociativo con los nombres de las campos como llave y sus tipos de dato
|
||||
como valores para la consulta asociada con
|
||||
<parameter>result_id</parameter>. Devuelve &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Campos y sus tipos de dato SQL</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$types = ifx_fieldtypes($resultid);
|
||||
if (is_array($types)) {
|
||||
foreach ($types as $fname => $val) {
|
||||
echo "$fname:\t tipo = $val\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_fieldproperties</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-free-blob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_free_blob</refname>
|
||||
<refpurpose>Elimina el objeto blob</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_free_blob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Elimina el objeto blob para el id del objeto blob dado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El id del objeto BLOB.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_create_blob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-free-char" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_free_char</refname>
|
||||
<refpurpose>Elimina el objeto char</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_free_char</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Elimina el objeto char para el id del objeto char dado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El id del objeto char.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_create_char</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,78 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-free-result" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_free_result</refname>
|
||||
<refpurpose>Libera recursos de la consulta</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_free_result</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Libera recursos de la consulta asociada con
|
||||
<parameter>result_id</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es un resultid válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (¡consultas de selección de tipo único!).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_do</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-get-blob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_get_blob</refname>
|
||||
<refpurpose>Devolver el contenido de un objeto blob</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ifx_get_blob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el contenido del objeto blob.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El id del objeto BLOB.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
El contenido de el BLOB como un string, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_get_char</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-get-char" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_get_char</refname>
|
||||
<refpurpose>Devolver el contenido del objeto char</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ifx_get_char</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el contenido del objeto char.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El id del objeto char.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el contenido como un string, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_get_blob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,106 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-getsqlca" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_getsqlca</refname>
|
||||
<refpurpose>Devolver el contenido de sqlca.sqlerrd[0 ... 5] después de ejecutar una consulta</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ifx_getsqlca</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve un registro con la estructura sqlca.sqlerrd[0 ... 5] después de ejecutar
|
||||
una consulta asociada a <parameter>result_id</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
Para inserciones, actualizaciones y eliminaciones, los valores devueltos son aquellos establecidos por
|
||||
el servidor despues de ejecutar una consulta, los cuales proporcionan acceso al número de
|
||||
filas afectadas y el valor generado para columnas consecutivas en una inserción. Para consultas <literal>SELECT</literal>
|
||||
los valores son aquellos guardados después de una sentencia <literal>PREPARE</literal>,
|
||||
los cuales proporcionan acceso al número estimado de filas afectadas. El uso de
|
||||
esta función es similar a ejecutar la consulta <literal>SELECT
|
||||
dbinfo('sqlca.sqlerrdx')</literal>, ya que devuelve los valores que
|
||||
fueron guardados por el controlador IFX en el momento apropiado.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (sólo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un arreglo asociativo con las siguientes entradas:
|
||||
<literal>sqlerrd0</literal>, <literal>sqlerrd1</literal>,
|
||||
<literal>sqlerrd2</literal>, <literal>sqlerrd3</literal>,
|
||||
<literal>sqlerrd4</literal> y <literal>sqlerrd5</literal>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Mostrar los valores Informix de sqlca.sqlerrd[x]</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* asumiendo que la primera columna de 'sometable' en un consecutivo */
|
||||
$qid = ifx_query("insert into sometable
|
||||
values (0, '2nd column', 'another column') ", $connid);
|
||||
if (!$qid) {
|
||||
/* ... error ... */
|
||||
}
|
||||
$sqlca = ifx_getsqlca($qid);
|
||||
$serial_value = $sqlca["sqlerrd1"];
|
||||
echo "El valor consecutivo de la fila insertada es: $serial_value<br />\n";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,109 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.ifx-htmltbl-result" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_htmltbl_result</refname>
|
||||
<refpurpose>Formatea todas las filas de una consulta en una tabla HTML</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_htmltbl_result</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>html_table_options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Formatea e imprime todas las filas de la consulta <parameter>result_id</parameter> en
|
||||
una tabla HTML.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es un resultid valido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (¡consultas de selección de tipo único!).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>html_table_options</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Este argumento opcional es un string de la etiqueta de opciones <table>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de filas recuperadas, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Informix resultados como tabla HTML</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$rid = ifx_prepare ("select * from emp where name like " . $name,
|
||||
$connid, IFX_SCROLL);
|
||||
if (! $rid) {
|
||||
/* ... error ... */
|
||||
}
|
||||
$rowcount = ifx_affected_rows ($rid);
|
||||
if ($rowcount > 1000) {
|
||||
printf ("Too many rows in result set (%d)\n<br />", $rowcount);
|
||||
die ("Please restrict your query<br />\n");
|
||||
}
|
||||
if (! ifx_do($rid)) {
|
||||
/* ... error ... */
|
||||
}
|
||||
|
||||
ifx_htmltbl_result ($rid, "border=\"2\"");
|
||||
|
||||
ifx_free_result($rid);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-nullformat" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_nullformat</refname>
|
||||
<refpurpose>Establecer el valor devuelto de manera predeterminada al extraer una fila</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_nullformat</methodname>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Establece el valor que será devuelto predeterminadamente para las columnas con valor "NULL" al extraer una fila.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Si el modo es "0" devuelve "" y si el modo es "1" devuelve "&null;".
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,97 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-num-fields" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_num_fields</refname>
|
||||
<refpurpose>Devolver el número de columnas de una consulta</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_num_fields</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el número de columnas de una consulta ya preparada o ejecutada.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (sólo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de columnas de una consulta asociada a
|
||||
<parameter>result_id</parameter>, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Ejemplo de <function>ifx_num_fields</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$conn_id = ifx_connect("db", "user", "password");
|
||||
$res_id = ifx_query("select * from systables", $conn_id);
|
||||
echo ifx_num_fields($res_id);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_num_rows</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-num-rows" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_num_rows</refname>
|
||||
<refpurpose>Contar las filas que ya han sido devueltas por una consulta</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifx_num_rows</methodname>
|
||||
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve el número de filas extraidas por una consulta a través del identificador
|
||||
<parameter>result_id</parameter> después de haber llamado a
|
||||
<function>ifx_query</function> o <function>ifx_do</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>result_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>result_id</parameter> es el identificador válido devuelto por
|
||||
<function>ifx_query</function> o
|
||||
<function>ifx_prepare</function> (sólo para consultas "SELECT").
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de filas extraidas o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_num_fields</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,118 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-pconnect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_pconnect</refname>
|
||||
<refpurpose>Abrir una conexión persistente con Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>ifx_pconnect</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>database</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>userid</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>ifx_pconnect</function> se comporta de manera similar a
|
||||
<function>ifx_connect</function> pero con dos diferencias considerables.
|
||||
</para>
|
||||
<para>
|
||||
La primera, cuando se conecta, esta función tratará de encontrar alguna otra
|
||||
conexión persistente que ya esté abierta con el mismo "host",
|
||||
usuario y constraseña. Si se encuentra, un identificador para esta conexión
|
||||
será devuelto en lugar de abrir una nueva conexión.
|
||||
</para>
|
||||
<para>
|
||||
La segunda, la conexión con el servidor no será cerrada cuando
|
||||
la ejecución de algún "script" termine. En lugar de cerrarla, la conexión permanecerá
|
||||
abierta para uso futuro (<function>ifx_close</function> no cerrará
|
||||
conexiones establecidas por <function>ifx_pconnect</function>).
|
||||
</para>
|
||||
<para>
|
||||
Este tipo de conexiones se conocen como "persistentes".
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
Todos los argumentos son opcionales, si no se especifican, se tomarán
|
||||
los valores especificados en &php.ini; (ifx.default_host para el "host"
|
||||
(Las librerías de Informix tomarán la variable de entorno <envar>INFORMIXSERVER</envar> si
|
||||
este valor no está definido), ifx.default_user para el usuario e ifx.default_password para
|
||||
la contraseña (ninguna si no se define).
|
||||
</para>
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>database</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El nombre de la base de datos, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>userid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El usuario, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>password</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
La contraseña, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un identificador válido para una conexión persistente con Informix en caso de éxito, o &false;
|
||||
en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_connect</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-prepare" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_prepare</refname>
|
||||
<refpurpose>Preparar una sentencia SQL para su ejecución</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>ifx_prepare</methodname>
|
||||
<methodparam><type>string</type><parameter>query</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>cursor_def</parameter></methodparam>
|
||||
<methodparam><type>mixed</type><parameter>blobidarray</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Prepara a <parameter>query</parameter> para su posterior uso con
|
||||
<function>ifx_do</function>.
|
||||
</para>
|
||||
<para>
|
||||
Para consultas "SELECT" un cursor es declarado y abierto.
|
||||
Las consultas que no son "SELECT" son ejecutadas inmediatamente.
|
||||
</para>
|
||||
<para>
|
||||
Para cualquier tipo de consulta el número (estimado o real) de filas afectadas es
|
||||
guardado para extraerse por medio de <function>ifx_affected_rows</function>.
|
||||
</para>
|
||||
<para>
|
||||
Si el contendo de las columnas de tipo TEXT (o BYTE) lo permiten, se puede usar además
|
||||
<literal>ifx_textasvarchar(1)</literal> e
|
||||
<literal>ifx_byteasvarchar(1)</literal>. Lo anterior permitirá tratar las columnas de tipo TEXT
|
||||
(o BYTE) como si fueran columnas VARCHAR ordinarias (pero extensas)
|
||||
en consultas "SELECT" y no es necesario preocuparse por identificadores BLOB.
|
||||
</para>
|
||||
<para>
|
||||
Con <literal>ifx_textasvarchar(0)</literal> o
|
||||
<literal>ifx_byteasvarchar(0)</literal> (opción predeterminada), las consultas "SELECT"
|
||||
devolverán las columnas BLOB como identificadores BLOB (valores enteros). Se puede
|
||||
obtener el valor BLOB como si fuera cadena o archivo con las funciones BLOB (ver más abajo).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>query</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
La consulta como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>link_identifier</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El identificador de la conexión.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>cursor_def</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Este parámetro opcional permite tratarlo como un cursor
|
||||
<literal>scroll</literal> y/o <literal>hold</literal>.
|
||||
Es una máscara y puede ser <constant>IFX_SCROLL</constant>,
|
||||
<constant>IFX_HOLD</constant>, o ambas.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>blobidarray</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Si existen columnas BLOB (BYTE o TEXT) en la consulta, se puede agregar
|
||||
un parámetro <parameter>blobidarray</parameter> que contenga los
|
||||
identificadores BLOB correspondientes.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un identificador válido del resultado para ser usado por <function>ifx_do</function>,
|
||||
o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_do</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,185 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: TardeEnFaMenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-query" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_query</refname>
|
||||
<refpurpose>Enviar una consulta Informix</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>ifx_query</methodname>
|
||||
<methodparam><type>string</type><parameter>query</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>cursor_type</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>blobidarray</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Envía la consulta <parameter>query</parameter> a la base de datos por medio de una conexión activa
|
||||
asociada con <parameter>link_identifier</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
Para consultas "SELECT" devuelve un cursor.
|
||||
Para consultas "INSERT", "UPDATE" y "DELETE", se ejecutan inmediatamente.
|
||||
</para>
|
||||
<para>
|
||||
Para cualquier tipo de consulta el total (estimado o real) de filas afectadas es
|
||||
guardado y devuelto por <function>ifx_affected_rows</function>.
|
||||
</para>
|
||||
<para>
|
||||
Si la columna es de tipo TEXT (o BYTE) y la columna lo permite, se puede utilizar
|
||||
<literal>ifx_textasvarchar(1)</literal> y
|
||||
<literal>ifx_byteasvarchar(1)</literal>. Ésto permite tratar columnas de tipo TEXT
|
||||
(o BYTE) como si fueran columnas VARCHAR ordinarias (pero extensas) en
|
||||
consultas "SELECT", y no preocuparse por identificadores BLOB.
|
||||
</para>
|
||||
<para>
|
||||
Con <literal>ifx_textasvarchar(0)</literal> o
|
||||
<literal>ifx_byteasvarchar(0)</literal> (por defecto), las consultas "SELECT"
|
||||
devuelven columnas BLOB como identificadores BLOB (enteros). Puede
|
||||
obtener el valor de estas columnas como si fuera una cadena o archivo usando las funciones BLOB (ver más
|
||||
abajo).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>query</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Consulta a enviar.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>link_identifier</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Identificador de la conexión.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>cursor_def</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Este parámetro opcional permite tratarlo como un cursor
|
||||
<literal>scroll</literal> y/o <literal>hold</literal>.
|
||||
Es una máscara y puede ser <constant>IFX_SCROLL</constant>,
|
||||
<constant>IFX_HOLD</constant>, o ambas. Si se omite este parámetro
|
||||
será un cursor secuencial normal.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>blobidarray</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Si existen columnas BLOB (BYTE o TEXT) en la consulta, puede agregar
|
||||
un parámetro <parameter>blobidarray</parameter> que contenga los
|
||||
identificadores BLOB correspondientes.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un identificador Informix válido en caso de éxito, o &false; si ocurre algún error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>
|
||||
Ver todas las filas de la tabla "orders" en formato HTML
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
ifx_textasvarchar(1); // se usa el modo de texto para blobs
|
||||
$res_id = ifx_query("select * from orders", $conn_id);
|
||||
if (! $res_id) {
|
||||
printf("No se pudo ejecutar la consulta : %s\n<br />%s<br />\n", ifx_error(), ifx_errormsg());
|
||||
die;
|
||||
}
|
||||
ifx_htmltbl_result($res_id, "border=\"1\"");
|
||||
ifx_free_result($res_id);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Insertar registros en la tabla "catalog"</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
// create blob id's for a byte and text column
|
||||
$textid = ifx_create_blob(0, 0, "Text column in memory");
|
||||
$byteid = ifx_create_blob(1, 0, "Byte column in memory");
|
||||
|
||||
// store blob id's in a blobid array
|
||||
$blobidarray[] = $textid;
|
||||
$blobidarray[] = $byteid;
|
||||
|
||||
// launch query
|
||||
$query = "insert into catalog (stock_num, manu_code, " .
|
||||
"cat_descr,cat_picture) values(1,'HRO',?,?)";
|
||||
$res_id = ifx_query($query, $conn_id, $blobidarray);
|
||||
if (! $res_id) {
|
||||
/* ... error ... */
|
||||
}
|
||||
|
||||
// free result id
|
||||
ifx_free_result($res_id);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_connect</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-textasvarchar" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_textasvarchar</refname>
|
||||
<refpurpose>Establecer el modo de texto predeterminado</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_textasvarchar</methodname>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Establece el modo de texto predeterminado para todas las consultas "SELECT".
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El modo "0" devolverá un identificador BLOB y el modo "1" devolverá un VARCHAR
|
||||
que contenga el texto.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_byteasvarchar</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,86 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-update-blob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_update_blob</refname>
|
||||
<refpurpose>Actualizar el contenido de un objeto BLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_update_blob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>content</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Actualiza el contenido de un objeto BLOB asociado con el identificador BLOB
|
||||
<parameter>bid</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Es el identificador del objeto BLOB.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>content</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
La nueva información, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_update_char</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,86 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifx-update-char" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifx_update_char</refname>
|
||||
<refpurpose>Actualizar el contenido de un objeto CHAR</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifx_update_char</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>content</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Actualiza el contenido de un objeto CHAR asociado al identificador del objeto CHAR
|
||||
<parameter>bid</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Es el identificador del objeto CHAR.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>content</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
La nueva información, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifx_update_blob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-close-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_close_slob</refname>
|
||||
<refpurpose>Cerrar un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifxus_close_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Cierra el objecto SLOB asociado con el identificador SLOB
|
||||
<parameter>bid</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB valido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_open_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-create-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_create_slob</refname>
|
||||
<refpurpose>Crear y abrir un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifxus_create_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Crea y abre un objeto SLOB.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Una combinación de <constant>IFX_LO_RDONLY</constant>,
|
||||
<constant>IFX_LO_WRONLY</constant>, <constant>IFX_LO_APPEND</constant>,
|
||||
<constant>IFX_LO_RDWR</constant>, <constant>IFX_LO_BUFFER</constant> e
|
||||
<constant>IFX_LO_NOBUFFER</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve un nuevo identificador SLOB, o &false; caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_close_slob</function></member>
|
||||
<member><function>ifxus_free_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-free-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_free_slob</refname>
|
||||
<refpurpose>Eliminar un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ifxus_free_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Elimina el objeto SLOB asociado con el identificador SLOB
|
||||
<parameter>bid</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_close_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,90 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-open-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_open_slob</refname>
|
||||
<refpurpose>Abrir un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifxus_open_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Abre un objeto SLOB. <parameter>bid</parameter> debe ser un identificador
|
||||
SLOB existente.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Una combinación de <constant>IFX_LO_RDONLY</constant>,
|
||||
<constant>IFX_LO_WRONLY</constant>, <constant>IFX_LO_APPEND</constant>,
|
||||
<constant>IFX_LO_RDWR</constant>, <constant>IFX_LO_BUFFER</constant> e
|
||||
<constant>IFX_LO_NOBUFFER</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el nuevo idenficador SLOB, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_close_slob</function></member>
|
||||
<member><function>ifxus_free_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,85 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-read-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_read_slob</refname>
|
||||
<refpurpose>Leer la cantidad especificada de bytes de un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ifxus_read_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>nbytes</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Lee <parameter>nbytes</parameter> del objeto SLOB.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>nbytes</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El número de bytes a leer.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el contenido SLOB como cadena, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_write_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,96 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-seek-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_seek_slob</refname>
|
||||
<refpurpose>Establecer la posición del archivo para la siguiente operación de lectura o escritura</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifxus_seek_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Establece la posición de búsqueda del archivo para la siguiente operación de lectura o escritura en un objeto SLOB.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
0 = LO_SEEK_SET (Inicio del objeto SLOB),
|
||||
1 = LO_SEEK_CUR (Posición de búsqueda actual del objeto SLOB),
|
||||
2 = LO_SEEK_END (Final del objeto SLOB).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Offset a partir de la posición de búsqueda.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve la posición de búsqueda como entero, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_tell_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-tell-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_tell_slob</refname>
|
||||
<refpurpose>Devolver la posición actual del archivo</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifxus_tell_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Devuelve la posición de búsqueda actual de archivo de un objeto SLOB abierto.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve la posición de búsqueda como entero, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_seek_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,85 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tardeenfamenor Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.ifxus-write-slob" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ifxus_write_slob</refname>
|
||||
<refpurpose>Escribir una cadena en un objeto SLOB</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>ifxus_write_slob</methodname>
|
||||
<methodparam><type>int</type><parameter>bid</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>content</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Escribe una cadena en un objeto SLOB.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>bid</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Un identificador SLOB válido.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>content</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El contenido a escribir, como cadena.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve el número de bytes escritos como entero, o &false; en caso de error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>ifxus_read_slob</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
@@ -1,398 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: ba08db8805ddb14cbab613c893dd47eacbda22f2 Maintainer: jpberdejo Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<section xml:id="ifx.configuration" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.runtime;
|
||||
&extension.runtime;
|
||||
<note>
|
||||
<para>
|
||||
Asegúrese de que las variables de entorno INFORMIXDIR e
|
||||
INFORMIXSERVER estén disponibles para el driver ifx de PHP, y que el
|
||||
directorio bin de INFORMIX esté en el <envar>PATH</envar>. Revise esto ejecutando un
|
||||
script que contenga una llamada a <function>phpinfo</function>
|
||||
antes de comenzar a probar. La salida de <function>phpinfo</function>
|
||||
debería listar estas variables de entorno. Esto es verdadero para
|
||||
ambos CGI php y Apache mod_php. Es posible que se deban fijar estas
|
||||
variables de entorno en el script de arranque de Apache.
|
||||
</para>
|
||||
<para>
|
||||
Las librerías compartidas de Informix también deben de estar disponibles para el
|
||||
cargador (revise LD_LIBRARY_PATH o ld.so.conf/ldconfig).
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<title>
|
||||
Algunas notas en el uso de BLOBs (columnas TEXT y BYTE)
|
||||
</title>
|
||||
<para>
|
||||
Los BLOBs son referenciados por identificadores BLOB. Peticiones Select
|
||||
regresan un "blob id" por cada columna BYTE y TEXT. Se puede llegar
|
||||
al contenido con "string_var = ifx_get_blob($blob_id);" si
|
||||
se elige colocar los BLOBs en memoria (con:
|
||||
"ifx_blobinfile(0);"). Si se prefiere recibir el contenido de
|
||||
las columnas BLOB en un fichero, utilice "ifx_blobinfile(1);", y
|
||||
"ifx_get_blob($blob_id);" devolverá el nombre del fichero. Utilice E/S de ficheros
|
||||
para acceder al contenido del blob.
|
||||
</para>
|
||||
<para>
|
||||
Para peticiones de insert/update se deben crear estos "blob id"
|
||||
por cuenta propia con "<function>ifx_create_blob</function>;". Entonces se insertan
|
||||
los blob id dentro de una matriz, y se remplazan las columnas blob
|
||||
con un signo de interrogación (?) en la cadena de petición. Para
|
||||
updates/inserts, se tiene la responsabilidad de fijar el contenido
|
||||
del blob con <function>ifx_update_blob</function>.
|
||||
</para>
|
||||
<para>
|
||||
El comportamiento de las columnas BLOB puede ser alterado por variables
|
||||
de configuración que también pueden ser fijadas en tiempo de ejecución:
|
||||
</para>
|
||||
<para>
|
||||
variable de configuración: ifx.textasvarchar
|
||||
</para>
|
||||
<para>
|
||||
variable de configuración: ifx.byteasvarchar
|
||||
</para>
|
||||
<para>
|
||||
funciones de tiempo de ejecución:
|
||||
</para>
|
||||
<para>
|
||||
ifx_textasvarchar(0): utilice blob ids para peticiones select con columnas
|
||||
TEXT
|
||||
</para>
|
||||
<para>
|
||||
ifx_byteasvarchar(0): utilice blob ids para peticiones select con columnas
|
||||
BYTE
|
||||
</para>
|
||||
<para>
|
||||
ifx_textasvarchar(1): devolver columnas TEXT como si fueran
|
||||
columnas VARCHAR, de tal manera que no sea necesario utilizar blob ids para
|
||||
peticiones select.
|
||||
</para>
|
||||
<para>
|
||||
ifx_byteasvarchar(1): devolver columnas BYTE como si fueran
|
||||
columnas VARCHAR, de tal manera que no sea necesario utilizar blob ids para
|
||||
peticiones select.
|
||||
</para>
|
||||
<para>
|
||||
variable de configuración: ifx.blobinfile
|
||||
</para>
|
||||
<para>
|
||||
función de tiempo de ejecución:
|
||||
</para>
|
||||
<para>
|
||||
ifx_blobinfile_mode(0): devolver columnas BYTE en memoria, el blob
|
||||
id permite acceder al contenido.
|
||||
</para>
|
||||
<para>
|
||||
ifx_blobinfile_mode(1): devolver columnas BYTE en un fichero, el blob
|
||||
id permite obtener el nombre del fichero.
|
||||
</para>
|
||||
<para>
|
||||
Si se fija ifx_text/byteasvarchar a 1, se pueden utilizar columnas TEXT y BYTE
|
||||
en peticiones select tal como en campos VARCHAR normales (aunque largos).
|
||||
Dado que todas las cadenas en PHP son "contadas", esto
|
||||
sigue siendo "seguro al tratar con datos binarios". Es su responsabilidad manejar esto
|
||||
correctamente. Los datos devueltos pueden no contener nada, Usted es
|
||||
responsable del contenido.
|
||||
</para>
|
||||
<para>
|
||||
Si se fija ifx_blobinfile a 1, utilice el nombre de fichero devuelto por
|
||||
ifx_get_blob(..) para acceder al contenido del blob. Note que en este caso
|
||||
USTED ES EL RESPONSABLE DE BORRAR LOS FICHEROS TEMPORALES CREADOS
|
||||
POR INFORMIX al obtener el registro. Cada nuevo registro obtenido
|
||||
creará nuevos ficheros temporales para cada columna BYTE.
|
||||
</para>
|
||||
<para>
|
||||
La ubicación de los ficheros temporales puede ser influenciada por la
|
||||
variable de entorno "blobdir", por defecto es "." (el directorio
|
||||
actual). Algo así como: "putenv(blobdir=tmpblob"); facilitará
|
||||
la limpieza de ficheros temporales dejados atrás accidentalmente (todos sus
|
||||
nombres inician con "blb").
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<title>Recortado (trimming) automático de datos tipo "char" (SQLCHAR y SQLNCHAR)</title>
|
||||
<para>
|
||||
Esto puede ser fijado con la variable de configuración
|
||||
</para>
|
||||
<para>
|
||||
ifx.charasvarchar: si se fija en 1 los espacios finales serán
|
||||
automáticamente eliminados, para ahorrar un poco de "rebanado".
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<title>Valores &null;</title>
|
||||
<para>
|
||||
La variable de configuración ifx.nullformat (y la función de tiempo de
|
||||
ejecución <function>ifx_nullformat</function>) cuando es fijada a &true;
|
||||
devolverá las columnas &null; como la cadena "&null;", cuando es fijada a &false;
|
||||
devuelven la cadena vacía. Esto permite discriminar entre
|
||||
columnas &null; y columnas vacías.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
<table>
|
||||
<title>Opciones de configuración de Informix</title>
|
||||
<tgroup cols="4">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Name;</entry>
|
||||
<entry>&Default;</entry>
|
||||
<entry>&Changeable;</entry>
|
||||
<entry>&Changelog;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.allow-persistent">ifx.allow_persistent</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.max-persistent">ifx.max_persistent</link></entry>
|
||||
<entry>"-1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.max-links">ifx.max_links</link></entry>
|
||||
<entry>"-1"</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.default-host">ifx.default_host</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.default-user">ifx.default_user</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.default-password">ifx.default_password</link></entry>
|
||||
<entry>NULL</entry>
|
||||
<entry>PHP_INI_SYSTEM</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.blobinfile">ifx.blobinfile</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.textasvarchar">ifx.textasvarchar</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.byteasvarchar">ifx.byteasvarchar</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.charasvarchar">ifx.charasvarchar</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.ifx.nullformat">ifx.nullformat</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Eliminada en PHP 5.2.1.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
&ini.php.constants;
|
||||
</para>
|
||||
|
||||
&ini.descriptions.title;
|
||||
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="ini.ifx.allow-persistent">
|
||||
<term>
|
||||
<parameter>ifx.allow_persistent</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Permitir o no conexiones persistentes a Informix.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.ifx.max-persistent">
|
||||
<term>
|
||||
<parameter>ifx.max_persistent</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
El número máximo de conexiones persistentes a Informix por
|
||||
proceso.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.ifx.max-links">
|
||||
<term>
|
||||
<parameter>ifx.max_links</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
El número máximo de conexiones a Informix por proceso, incluyendo
|
||||
conexiones persistentes.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.default-host">
|
||||
<term>
|
||||
<parameter>ifx.default_host</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
El host por defecto al cual conectarse cuando no se ha especificado un host
|
||||
en <function>ifx_connect</function> o
|
||||
<function>ifx_pconnect</function>. No es efectiva en
|
||||
&safemode;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.default-user">
|
||||
<term>
|
||||
<parameter>ifx.default_user</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
El user id por defecto a utilizarse cuando no se especifica ninguno
|
||||
en <function>ifx_connect</function> o
|
||||
<function>ifx_pconnect</function>. No es efectiva en
|
||||
&safemode;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.default-password">
|
||||
<term>
|
||||
<parameter>ifx.default_password</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
La contraseña por omisión a utilizarse cuando no se ha especificado ninguna
|
||||
en <function>ifx_connect</function> o
|
||||
<function>ifx_pconnect</function>. No es efectiva en
|
||||
&safemode;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.blobinfile">
|
||||
<term>
|
||||
<parameter>ifx.blobinfile</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Fíjese a &true; si se desea devolver las columnas blob
|
||||
en un fichero, &false; si se les desea en memoria. Se puede
|
||||
invalidar la opción en tiempo de ejecución
|
||||
con <function>ifx_blobinfile_mode</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.textasvarchar">
|
||||
<term>
|
||||
<parameter>ifx.textasvarchar</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Fíjese a &true; si se desea devolver las columnas TEXT
|
||||
como cadenas normales en enunciados select,
|
||||
&false; si se desea utilizar parámetros blob id. Se puede
|
||||
invalidar la opción en tiempo de ejecución
|
||||
con <function>ifx_textasvarchar</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.byteasvarchar">
|
||||
<term>
|
||||
<parameter>ifx.byteasvarchar</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Fíjese a &true; si se desea devolver las columnas BYTE
|
||||
como cadenas normales en peticiones select,
|
||||
&false; si se desea utilizar parámetros blob id. Se puede
|
||||
invalidar la opción en tiempo de ejecución con
|
||||
<function>ifx_textasvarchar</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.charasvarchar">
|
||||
<term>
|
||||
<parameter>ifx.charasvarchar</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Fíjese a &true; si se desea eliminar los espacios sobrantes
|
||||
de las columnas CHAR al traerlas.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="ini.ifx.nullformat">
|
||||
<term>
|
||||
<parameter>ifx.nullformat</parameter>
|
||||
<type>boolean</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Fíjese a &true; si se desea devolver columnas &null;
|
||||
como la cadena literal "&null;", &false; si se desea
|
||||
que sean devueltas como la cadena vacía "". Se puede
|
||||
invalidar esta opción en tiempo de ejecución con
|
||||
<function>ifx_nullformat</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: lduran Status: ready -->
|
||||
|
||||
<reference xml:id="ref.ifx" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Informix &Functions;</title>
|
||||
|
||||
&reference.ifx.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
|
||||
-->
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: ba08db8805ddb14cbab613c893dd47eacbda22f2 Maintainer: lduran Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<chapter xml:id="ifx.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="ifx.requirements">
|
||||
&reftitle.required;
|
||||
<note>
|
||||
<title>Notas de configuración</title>
|
||||
<para>
|
||||
Se necesita una versión de ESQL/C para compilar el driver de Informix para PHP.
|
||||
Las versiones desde la 7.2x en delante de ESQL/C deberían estar bien. ESQL/C ahora forma parte de
|
||||
el Informix Client SDK.
|
||||
</para>
|
||||
<para>
|
||||
Asegúrese de que la variable "INFORMIXDIR" ha sido fijada, y que
|
||||
$INFORMIXDIR/bin esté en su <envar>PATH</envar> antes de ejecutar el script de
|
||||
"configure".
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Installation -->
|
||||
&reference.ifx.configure;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Configuration -->
|
||||
&reference.ifx.ini;
|
||||
<!-- }}} -->
|
||||
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="ifx.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
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
|
||||
-->
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: lduran Status: ready -->
|
||||
<!--
|
||||
Do NOT translate this file
|
||||
-->
|
||||
<versions>
|
||||
<function name="ifx_affected_rows" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_blobinfile_mode" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_byteasvarchar" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_close" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_connect" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_copy_blob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_create_blob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_create_char" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_do" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_error" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_errormsg" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_fetch_row" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_fieldproperties" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_fieldtypes" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_free_blob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_free_char" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_free_result" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_get_blob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_get_char" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_getsqlca" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_htmltbl_result" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_nullformat" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_num_fields" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_num_rows" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_pconnect" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_prepare" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_query" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_textasvarchar" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_update_blob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifx_update_char" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_close_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_create_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_free_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_open_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_read_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_seek_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_tell_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
<function name="ifxus_write_slob" from="PHP 4, PHP <=5.2.0"/>
|
||||
</versions>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
@@ -7,7 +7,7 @@
|
||||
<refname>dl</refname>
|
||||
<refpurpose>Carga una extensión de PHP durante la ejecución</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -31,7 +31,7 @@
|
||||
</simpara>
|
||||
</warning>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -43,7 +43,7 @@
|
||||
Este parámetro es <emphasis>solamente</emphasis> el fichero de la
|
||||
extensión a cargar el cual depende del sistema operativo. Por ejemplo,
|
||||
la extensión <link linkend="ref.sockets">sockets</link> (si se compila
|
||||
como librería, no como parte de PHP) Se llamará
|
||||
como librería, no como parte de PHP) Se llamará
|
||||
<filename>sockets.so</filename> en sistemas Unix mientras que en Windows
|
||||
se llamará <filename>php_sockets.dll</filename>.
|
||||
</para>
|
||||
@@ -53,7 +53,7 @@
|
||||
</para>
|
||||
<para>
|
||||
En Windows - a no ser que se defina explicitamente en &php.ini;, la extensión
|
||||
será cargada por defecto desde <filename>C:\php4\extensions\</filename> (PHP4) o
|
||||
será cargada por defecto desde <filename>C:\php4\extensions\</filename> (PHP4) o
|
||||
<filename>C:\php5\</filename> en (PHP 5).
|
||||
</para>
|
||||
<para>
|
||||
@@ -92,20 +92,20 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success; Si la funcionalidad de cargar módulos no está disponible
|
||||
o ha sido deshabilitada (ya sea activando
|
||||
<link linkend="ini.enable-dl">enable_dl</link> off o habilitando el &safemode;
|
||||
<link linkend="ini.enable-dl">enable_dl</link> off
|
||||
en &php.ini;) Se producirá un <constant>E_ERROR</constant>
|
||||
y se parará la ejecucción de PHP. Si <function>dl</function> falló porque la
|
||||
librería especificacda no pudo cargarse a demás de &false; se
|
||||
producirá un mensaje <constant>E_WARNING</constant>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@@ -134,7 +134,7 @@ if (!extension_loaded('sqlite')) {
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
@@ -174,7 +174,7 @@ if (!extension_loaded('sqlite')) {
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
@@ -190,9 +190,8 @@ if (!extension_loaded('sqlite')) {
|
||||
<function>dl</function> es sensible a mayúsculas en sistemas Unix.
|
||||
</para>
|
||||
</note>
|
||||
¬e.sm.disabled;
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -202,7 +201,7 @@ if (!extension_loaded('sqlite')) {
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<!-- EN-Revision: 9d35fdf6792cac5b3c2b948bb58f195ced5a8565 Maintainer: andresdzphp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.set-time-limit" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refnamediv>
|
||||
<refname>set_time_limit</refname>
|
||||
<refpurpose>Limita el tiempo máximo de ejecución</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
@@ -17,18 +17,18 @@
|
||||
<para>
|
||||
Establece el número de segundos que se permite la ejecución de un script. Si esto se alcanza,
|
||||
el script devuelve un error fatal. El límite predeterminado es de 30 segundos o, si
|
||||
es que existe, el valor <literal>max_execution_time</literal> definido en el
|
||||
es que existe, el valor <literal>max_execution_time</literal> definido en el
|
||||
&php.ini;.
|
||||
</para>
|
||||
<para>
|
||||
Cuando es llamado, <function>set_time_limit</function> reinicia el contador
|
||||
de tiempo de espera de cero. En otras palabras, si el tiempo de espera por defecto es de 30
|
||||
Cuando es llamado, <function>set_time_limit</function> reinicia el contador
|
||||
de tiempo de espera de cero. En otras palabras, si el tiempo de espera por defecto es de 30
|
||||
segundos, y 25 segundos en la ejecución del script se hace la llamada
|
||||
<literal>set_time_limit(20)</literal>, el script se ejecutará durante un
|
||||
<literal>set_time_limit(20)</literal>, el script se ejecutará durante un
|
||||
total de 45 segundos antes de que se agote el tiempo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
@@ -37,7 +37,7 @@
|
||||
<term><parameter>seconds</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
El tiempo de ejecución máximo, en segundos. Si se pone a cero
|
||||
El tiempo de ejecución máximo, en segundos. Si se pone a cero
|
||||
se impone sin límite de tiempo.
|
||||
</para>
|
||||
</listitem>
|
||||
@@ -45,36 +45,29 @@
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Devuelve &true; en caso de éxito, o &false; en caso de fallo.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<warning>
|
||||
<para>
|
||||
Esta función no tiene efecto cuando PHP se ejecuta en &safemode;.
|
||||
No hay ninguna solución más que deshabilitar el modo seguro o cambiar
|
||||
el tiempo límite en el &php.ini;.
|
||||
</para>
|
||||
</warning>
|
||||
<note>
|
||||
<para>
|
||||
La función <function>set_time_limit</function> y la directiva de
|
||||
La función <function>set_time_limit</function> y la directiva de
|
||||
configuración <link linkend="ini.max-execution-time">max_execution_time</link>
|
||||
sólo afectan el tiempo de ejecución del script mismo. Todo el tiempo dedicado
|
||||
a la actividad que ocurre fuera de la ejecución del script, como las llamadas al sistema
|
||||
usando <function>system</function>, operaciones de secuencia, consultas a la bases de datos, etc.
|
||||
No se incluyen cuando se determina el tiempo máximo del script en funcionamiento. Esto no es cierto
|
||||
sólo afectan el tiempo de ejecución del script mismo. Todo el tiempo dedicado
|
||||
a la actividad que ocurre fuera de la ejecución del script, como las llamadas al sistema
|
||||
usando <function>system</function>, operaciones de secuencia, consultas a la bases de datos, etc.
|
||||
No se incluyen cuando se determina el tiempo máximo del script en funcionamiento. Esto no es cierto
|
||||
en Windows, donde el tiempo medido es real.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@@ -84,7 +77,7 @@
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -204,9 +204,7 @@
|
||||
La razón principal para desactivar la carga dinámica es
|
||||
por seguridad. Con la carga dinámica, es posible ignorar todas
|
||||
las restricciones <link linkend="ini.open-basedir">open_basedir</link>.
|
||||
De forma predeterminada se permite la carga dinámica excepto cuando se usa
|
||||
&safemode;. En &safemode;, es
|
||||
imposible usar <function>dl</function>.
|
||||
De forma predeterminada se permite la carga dinámica.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -230,11 +228,6 @@
|
||||
operaciones de stream etc. Por favor véase la función
|
||||
<function>set_time_limit</function> para más información.
|
||||
</para>
|
||||
<para>
|
||||
No se puede cambiar esta opción con <function>ini_set</function> cuando
|
||||
se ejecuta en &safemode;. La única manera es desactivar safe mode o
|
||||
cambiando el límite en &php.ini;.
|
||||
</para>
|
||||
<para>
|
||||
El servidor web puede tener otras configuraciones de tiempo de espera que
|
||||
quizá interrumpan la ejecución de PHP. Apache tiene la directiva
|
||||
|
||||
@@ -93,7 +93,6 @@ if (posix_access($archivo, POSIX_R_OK | POSIX_W_OK)) {
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.sm.uidcheck;
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
<?phpdoc extension-membership="core" ?>
|
||||
<title>Reflection</title>
|
||||
<titleabbrev>Reflection</titleabbrev>
|
||||
|
||||
|
||||
<preface xml:id="intro.reflection">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
PHP 5 viene con una API de reflexión completa que añade la capacidad para realizar
|
||||
PHP viene con una API de reflexión completa que añade la capacidad para realizar
|
||||
<literal>ingeniería inversa</literal> de clases, interfaces, funciones,
|
||||
métodos y extensiones. Además, la API de reflexión ofrece varias formas de obtener
|
||||
comentarios de documentación de funciones, clases y métodos.
|
||||
@@ -20,7 +20,7 @@
|
||||
Tenga en cuenta que ciertas partes de la <acronym>API</acronym> interna
|
||||
no contienen el código necesario para trabajar con la extensión Reflection.
|
||||
Por ejemplo, a una clase interna de PHP le pueden faltar datos de reflexión
|
||||
de sus propiedades. Sin embargo, estos pocos casos son considerados como errores,
|
||||
de sus propiedades. Sin embargo, estos pocos casos son considerados como errores,
|
||||
por lo que deberían ser descubiertos y corregidos.
|
||||
</para>
|
||||
</preface>
|
||||
@@ -31,19 +31,23 @@
|
||||
&reference.reflection.extending;
|
||||
&reference.reflection.reflection;
|
||||
&reference.reflection.reflectionclass;
|
||||
&reference.reflection.reflectionclassconstant;
|
||||
&reference.reflection.reflectionzendextension;
|
||||
&reference.reflection.reflectionextension;
|
||||
&reference.reflection.reflectionfunction;
|
||||
&reference.reflection.reflectionfunctionabstract;
|
||||
&reference.reflection.reflectionmethod;
|
||||
&reference.reflection.reflectionnamedtype;
|
||||
&reference.reflection.reflectionobject;
|
||||
&reference.reflection.reflectionparameter;
|
||||
&reference.reflection.reflectionproperty;
|
||||
&reference.reflection.reflectiontype;
|
||||
&reference.reflection.reflectionuniontype;
|
||||
&reference.reflection.reflectiongenerator;
|
||||
&reference.reflection.reflectionreference;
|
||||
&reference.reflection.reflector;
|
||||
&reference.reflection.reflectionexception;
|
||||
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
70
reference/reflection/reflectiongenerator.xml
Normal file
70
reference/reflection/reflectiongenerator.xml
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<phpdoc:classref xml:id="class.reflectiongenerator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>The ReflectionGenerator class</title>
|
||||
<titleabbrev>ReflectionGenerator</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
||||
<!-- {{{ ReflectionGenerator intro -->
|
||||
<section xml:id="reflectiongenerator.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
The <classname>ReflectionGenerator</classname> class reports
|
||||
information about a generator.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<section xml:id="reflectiongenerator.synopsis">
|
||||
&reftitle.classsynopsis;
|
||||
|
||||
<!-- {{{ Synopsis -->
|
||||
<classsynopsis>
|
||||
<ooclass><classname>ReflectionGenerator</classname></ooclass>
|
||||
|
||||
<!-- {{{ Class synopsis -->
|
||||
<classsynopsisinfo>
|
||||
<ooclass>
|
||||
<classname>ReflectionGenerator</classname>
|
||||
</ooclass>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:fallback />
|
||||
</xi:include>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
</classsynopsis>
|
||||
<!-- }}} -->
|
||||
</section>
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.reflection.entities.reflectiongenerator;
|
||||
|
||||
</phpdoc:classref>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
75
reference/reflection/reflectionreference.xml
Normal file
75
reference/reflection/reflectionreference.xml
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<phpdoc:classref xml:id="class.reflectionreference" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>The ReflectionReference class</title>
|
||||
<titleabbrev>ReflectionReference</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
||||
<!-- {{{ ReflectionReference intro -->
|
||||
<section xml:id="reflectionreference.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
The <classname>ReflectionReference</classname> class provides information about
|
||||
a reference.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<section xml:id="reflectionreference.synopsis">
|
||||
&reftitle.classsynopsis;
|
||||
|
||||
<!-- {{{ Synopsis -->
|
||||
<classsynopsis>
|
||||
<ooclass><classname>ReflectionReference</classname></ooclass>
|
||||
|
||||
<!-- {{{ Class synopsis -->
|
||||
<classsynopsisinfo>
|
||||
<ooclass>
|
||||
<modifier>final</modifier> <classname>ReflectionReference</classname>
|
||||
</ooclass>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<!--
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionreference')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||||
<xi:fallback />
|
||||
</xi:include>
|
||||
-->
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionreference')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||||
<xi:fallback />
|
||||
</xi:include>
|
||||
</classsynopsis>
|
||||
<!-- }}} -->
|
||||
|
||||
</section>
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.reflection.entities.reflectionreference;
|
||||
|
||||
</phpdoc:classref>
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
@@ -97,32 +97,6 @@ $éxito = odbc_execute($declaración, array($a, $b, $c));
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.2.0</entry>
|
||||
<entry>
|
||||
La lectura de archivos ahora es materia de &safemode; y de las
|
||||
restricciones de <link linkend="ini.open-basedir">open-basedir</link>
|
||||
en <parameter>parameters_array</parameter>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user