cvs: phpdoc /pt_BR/functions apache.xml array.xml bc.xml dir.xml filesystem.xml mhash.xml overload.xml url.xml

From: Date: Sat, 02 Feb 2002 15:49:07 +0000
Subject: cvs: phpdoc /pt_BR/functions apache.xml array.xml bc.xml dir.xml filesystem.xml mhash.xml overload.xml url.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341813@lists.php.net to get a copy of this message
hholzgra Sat Feb 2 10:49:07 2002 EDT Modified files: /phpdoc/pt_BR/functions apache.xml array.xml bc.xml dir.xml filesystem.xml mhash.xml overload.xml url.xml Log: pt_BR Upgrade to DocBook4

Index: phpdoc/pt_BR/functions/apache.xml diff -u phpdoc/pt_BR/functions/apache.xml:1.4 phpdoc/pt_BR/functions/apache.xml:1.5 --- phpdoc/pt_BR/functions/apache.xml:1.4 Wed Dec 12 15:56:31 2001 +++ phpdoc/pt_BR/functions/apache.xml Sat Feb 2 10:49:04 2002 @@ -13,12 +13,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>class <function>apache_lookup_uri</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>class</type><methodname>apache_lookup_uri</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> <para> Isto realiza uma requisição parcial para uma URI. Trabalha o suficiente para obter todas as informações importantes sobre o recurso dado e retorna esta @@ -64,17 +62,13 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>apache_note</function></funcdef> - <paramdef>string <parameter>note_name</parameter></paramdef> - <paramdef>string - <parameter> - <optional>note_value</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>apache_note</methodname> + <methodparam><type>string</type><parameter>note_name</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter> + note_value + </parameter></methodparam> + </methodsynopsis> <para> <function>apache_note</function> é uma função específica do Apache que obtém e seta valores em uma tabela de @@ -95,12 +89,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>getallheaders</function></funcdef> - <paramdef>void<parameter></parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>getallheaders</methodname> + <methodparam><type>void</type><parameter/></methodparam> + </methodsynopsis> <para> Esta função retorna uma matriz associativa de todos os cabeçalhos HTTP na requisição corrente. @@ -146,12 +138,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>virtual</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>virtual</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> <para> <function>virtual</function> é uma função específica do Apache que é equivalente a &lt;!--#include virtual...--&gt; em mod_include. @@ -186,3 +176,4 @@ sgml-local-ecat-files:nil End: --> + Index: phpdoc/pt_BR/functions/array.xml diff -u phpdoc/pt_BR/functions/array.xml:1.4 phpdoc/pt_BR/functions/array.xml:1.5 --- phpdoc/pt_BR/functions/array.xml:1.4 Fri Dec 14 07:42:41 2001 +++ phpdoc/pt_BR/functions/array.xml Sat Feb 2 10:49:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <reference id="ref.array"> <title>Fun&ccedil;&otilde;es para a manipula&ccedil;&atilde;o de arrays</title> <titleabbrev>Arrays</titleabbrev> @@ -37,14 +37,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array</function></funcdef> - <paramdef>mixed - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array</methodname> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> Retorna um array de par&acirc;metros fornecidos. Índices podem ser atribuidos aos par&acirc;metros atrav&eacute;s do operador <literal>=&gt;</literal>. @@ -152,13 +148,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_change_key_case</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>int <parameter><optional>case</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_change_key_case</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>case</parameter></methodparam> + </methodsynopsis> <para> <function>array_change_key_case</function> muda as chaves chaves do array <parameter>input</parameter> para mai&uacute;sculo ou min&uacute;sculo. A mudan&ccedil;a @@ -200,14 +194,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_chunk</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>int <parameter>size</parameter></paramdef> - <paramdef>bool <parameter><optional>preserve_keys</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_chunk</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam><type>int</type><parameter>size</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter></methodparam> + </methodsynopsis> <para> <function>array_chunk</function> divide um array em diversos arrays tendo como tamanho o valor de <parameter>size</parameter>. @@ -288,12 +280,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_count_values</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_count_values</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + </methodsynopsis> <para> <function>array_count_values</function> retorna um array utlizando os valores do array <parameter>input</parameter> como chaves e seus respectivos @@ -320,16 +310,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_diff</function></funcdef> - <paramdef>array <parameter>array1</parameter></paramdef> - <paramdef>array <parameter>array2</parameter></paramdef> - <paramdef>array - <parameter><optional> ...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_diff</methodname> + <methodparam><type>array</type><parameter>array1</parameter></methodparam> + <methodparam><type>array</type><parameter>array2</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter> ...</parameter></methodparam> + </methodsynopsis> <para> <function>array_diff</function> retorna um array contendo todos os valores de <parameter>array1</parameter> que n&atilde;o est&atilde;o presentes @@ -382,15 +368,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_filter</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>mixed - <parameter><optional>callback</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_filter</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>callback</parameter></methodparam> + </methodsynopsis> <para> <function>array_filter</function> retorna um array contendo todos os elementos do array <parameter>input</parameter> filtrados @@ -440,12 +422,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&otilde;es</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_flip</function></funcdef> - <paramdef>array <parameter>trans</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_flip</methodname> + <methodparam><type>array</type><parameter>trans</parameter></methodparam> + </methodsynopsis> <para> <function>array_flip</function> retorna um <type>array</type> com com a rela&ccedil;&atilde;o entre as chaves e seus valores invertida, ou seja, @@ -499,14 +479,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_fill</function></funcdef> - <paramdef>int <parameter>start_index</parameter></paramdef> - <paramdef>int <parameter>num</parameter></paramdef> - <paramdef>mixed <parameter>value</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_fill</methodname> + <methodparam><type>int</type><parameter>start_index</parameter></methodparam> + <methodparam><type>int</type><parameter>num</parameter></methodparam> + <methodparam><type>mixed</type><parameter>value</parameter></methodparam> + </methodsynopsis> <para> <function>array_fill</function> preenche um array com o n&uacute;mero de entradas igual a <parameter>num</parameter> com o valor do @@ -544,16 +522,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_intersect</function></funcdef> - <paramdef>array <parameter>array1</parameter></paramdef> - <paramdef>array <parameter>array2</parameter></paramdef> - <paramdef>array - <parameter><optional> ...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_intersect</methodname> + <methodparam><type>array</type><parameter>array1</parameter></methodparam> + <methodparam><type>array</type><parameter>array2</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter> ...</parameter></methodparam> + </methodsynopsis> <para> <function>array_intersect</function> retorna um array contendo todos os valores de <parameter>array1</parameter> @@ -603,13 +577,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>array_key_exists</function></funcdef> - <paramdef>mixed <parameter>key</parameter></paramdef> - <paramdef>array <parameter>search</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>array_key_exists</methodname> + <methodparam><type>mixed</type><parameter>key</parameter></methodparam> + <methodparam><type>array</type><parameter>search</parameter></methodparam> + </methodsynopsis> <para> <function>array_key_exists</function> retorna &true; se a chave <parameter>key</parameter> existe no array. @@ -648,17 +620,13 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_keys</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>mixed - <parameter> - <optional>search_value</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_keys</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter> + search_value + </parameter></methodparam> + </methodsynopsis> <para> <function>array_keys</function> retorna as chaves, num&eacute;ricas e string, do array <parameter>input</parameter>. @@ -725,16 +693,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_map</function></funcdef> - <paramdef>mixed <parameter>callback</parameter></paramdef> - <paramdef>array <parameter>arr1</parameter></paramdef> - <paramdef>array - <parameter><optional>arr2...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_map</methodname> + <methodparam><type>mixed</type><parameter>callback</parameter></methodparam> + <methodparam><type>array</type><parameter>arr1</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>arr2...</parameter></methodparam> + </methodsynopsis> <para> <function>array_map</function> retorna um array contendo todos os elementos de <parameter>arr1</parameter> depois de aplicada @@ -909,16 +873,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_merge</function></funcdef> - <paramdef>array <parameter>array1</parameter></paramdef> - <paramdef>array <parameter>array2</parameter></paramdef> - <paramdef>array - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_merge</methodname> + <methodparam><type>array</type><parameter>array1</parameter></methodparam> + <methodparam><type>array</type><parameter>array2</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> <function>array_merge</function> funde os elementos dois ou mais arrays de forma que os elementos de um s&atilde;o colocados no final @@ -960,16 +920,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_merge_recursive</function></funcdef> - <paramdef>array <parameter>array1</parameter></paramdef> - <paramdef>array <parameter>array2</parameter></paramdef> - <paramdef>array - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_merge_recursive</methodname> + <methodparam><type>array</type><parameter>array1</parameter></methodparam> + <methodparam><type>array</type><parameter>array2</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> <function>array_merge_recursive</function> funde os elementos de dois ou mais de forma que os elementos de um s&atilde;o colocados @@ -1013,21 +969,13 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>array_multisort</function></funcdef> - <paramdef>array <parameter>ar1</parameter></paramdef> - <paramdef>mixed - <parameter><optional>arg</optional></parameter> - </paramdef> - <paramdef>mixed - <parameter><optional>...</optional></parameter> - </paramdef> - <paramdef>array - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>array_multisort</methodname> + <methodparam><type>array</type><parameter>ar1</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>arg</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> <function>array_multisort</function> pode ser usada para classificar v&aacute;rios arrays de uma vez ou apenas um array multi-dimensional de acordo com @@ -1128,14 +1076,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_pad</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>int <parameter>pad_size</parameter></paramdef> - <paramdef>mixed <parameter>pad_value</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_pad</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam><type>int</type><parameter>pad_size</parameter></methodparam> + <methodparam><type>mixed</type><parameter>pad_value</parameter></methodparam> + </methodsynopsis> <para> <function>array_pad</function> retorna uma c&oacute;pia de <parameter>input</parameter> expandido para o comprimento especificado @@ -1176,12 +1122,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_pop</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_pop</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>array_pop</function> retira e retorna o &uacute;ltimo valor de <parameter>array</parameter>, diminuindo-o @@ -1222,16 +1166,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>array_push</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>mixed <parameter>var</parameter></paramdef> - <paramdef>mixed - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>array_push</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> <function>array_push</function> trata <parameter>array</parameter> como uma pilha, e adiciona @@ -1280,15 +1220,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_rand</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>int - <parameter><optional>num_req</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_rand</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>num_req</parameter></methodparam> + </methodsynopsis> <para> <function>array_rand</function> &eacute; bastante &uacute;til quando se quer pegar aleatoriamente um ou mais elementos de um array. Ela recebe @@ -1332,15 +1268,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_reverse</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>bool - <parameter><optional>preserve_keys</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_reverse</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter></methodparam> + </methodsynopsis> <para> <function>array_reverse</function> recebe o argumento <parameter>array</parameter> e retorna um novo array com ordem @@ -1384,16 +1316,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_reduce</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>mixed <parameter>callback</parameter></paramdef> - <paramdef>int - <parameter><optional>initial</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_reduce</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam><type>mixed</type><parameter>callback</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>initial</parameter></methodparam> + </methodsynopsis> <para> <function>array_reduce</function> aplica iterativamente a fun&ccedil;&atilde;o <parameter>callback</parameter> nos elementos de <parameter>input</parameter>, @@ -1447,12 +1375,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_shift</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_shift</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>array_shift</function> retira o primeiro elemento de <parameter>array</parameter> e o retorna, diminuindo @@ -1490,18 +1416,14 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_slice</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int <parameter>offset</parameter></paramdef> - <paramdef>int - <parameter> - <optional>length</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_slice</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + length + </parameter></methodparam> + </methodsynopsis> <para> <function>array_slice</function> retorna a sequ&ecirc;ncia de elementos de <parameter>array</parameter> especificada pelos par&acirc;metros @@ -1552,21 +1474,15 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_splice</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - <paramdef>int <parameter>offset</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - <paramdef>array - <parameter> - <optional>replacement</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_splice</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter> + replacement + </parameter></methodparam> + </methodsynopsis> <para> <function>array_splice</function> remove os elementos especificados por <parameter>offset</parameter> e @@ -1657,12 +1573,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_sum</function></funcdef> - <paramdef>array <parameter>arr</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_sum</methodname> + <methodparam><type>array</type><parameter>arr</parameter></methodparam> + </methodsynopsis> <para> <function>array_sum</function> retorna a soma dos valores de um array como inteiro ou real. @@ -1693,12 +1607,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_unique</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_unique</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>array_unique</function> recebe o argumento <parameter>array</parameter> e retorna um novo array sem valores @@ -1778,18 +1690,14 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>array_unshift</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>mixed <parameter>var</parameter></paramdef> - <paramdef>mixed - <parameter> - <optional>...</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>array_unshift</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter> + ... + </parameter></methodparam> + </methodsynopsis> <para> <function>array_unshift</function> adiciona os elementos passados como argumentos no in&iacute;cio de <parameter>array</parameter>. Note que a lista @@ -1829,12 +1737,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>array_values</function></funcdef> - <paramdef>array <parameter>input</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>array_values</methodname> + <methodparam><type>array</type><parameter>input</parameter></methodparam> + </methodsynopsis> <para> <function>array_values</function> retorna todos os valores do array <parameter>input</parameter>. @@ -1888,16 +1794,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>array_walk</function></funcdef> - <paramdef>array <parameter>arr</parameter></paramdef> - <paramdef>string <parameter>func</parameter></paramdef> - <paramdef>mixed - <parameter><optional>userdata</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>array_walk</methodname> + <methodparam><type>array</type><parameter>arr</parameter></methodparam> + <methodparam><type>string</type><parameter>func</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>userdata</parameter></methodparam> + </methodsynopsis> <simpara> Aplica uma fun&ccedil;&atilde;o definida pelo usu&aacute;rio nomeada pelo argumento <parameter>func</parameter> em cada elemento de <parameter>arr</parameter>. @@ -1980,15 +1882,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>arsort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>arsort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o classifica um array de forma que a correla&ccedil;&atilde;o entre &iacute;ndices e elementos &eacute; mantida. Usada principalmente para classificar arrays @@ -2044,15 +1942,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>asort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>asort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o classifica um array de forma que a correla&ccedil;&atilde;o entre &iacute;ndices e elementos &eacute; mantida. É usada principalmente para classificar arrays @@ -2107,15 +2001,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>compact</function></funcdef> - <paramdef>mixed <parameter>varname</parameter></paramdef> - <paramdef>mixed - <parameter><optional>...</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>compact</methodname> + <methodparam><type>mixed</type><parameter>varname</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> <function>compact</function> recebe um n&uacute;mero vari&aacute;vel de par&acirc;metros. Cada Par&acirc;metro pode ser tanto uma string contendo o nome da @@ -2169,12 +2059,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>count</function></funcdef> - <paramdef>mixed <parameter>var</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>count</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> <para> Retorna o n&uacute;mero de elementos de <parameter>var</parameter>, que normalmente &eacute; um <type>array</type> (uma vez que qualquer outra coisa @@ -2240,12 +2128,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>current</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>current</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Todo array tem um ponteiro interno para o elemento "atual", o qual &eacute; inicializado para apontar para o primeiro elemento inserido em @@ -2285,12 +2171,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>each</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>each</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Retorna o par chave/valor corrente de <parameter>array</parameter> e avan&ccedil;a o seu cursor. Esse @@ -2386,12 +2270,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>end</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>end</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>end</function> avan&ccedil;a o ponteiro interno de <parameter>array</parameter> at&eacute; o seu &uacute;ltimo elemento, e retorna esse elemento. @@ -2413,18 +2295,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>extract</function></funcdef> - <paramdef>array <parameter>var_array</parameter></paramdef> - <paramdef>int - <parameter><optional>extract_type</optional></parameter> - </paramdef> - <paramdef>string - <parameter><optional>prefix</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>extract</methodname> + <methodparam><type>array</type><parameter>var_array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>extract_type</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> <para> Essa &eacute; usada para importar vari&aacute;veis a partir de um array para a tabela de s&iacute;mbolos corrente. Recebe o array associativo @@ -2575,16 +2451,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>in_array</function></funcdef> - <paramdef>mixed <parameter>needle</parameter></paramdef> - <paramdef>array <parameter>haystack</parameter></paramdef> - <paramdef>bool - <parameter><optional>strict</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>in_array</methodname> + <methodparam><type>mixed</type><parameter>needle</parameter></methodparam> + <methodparam><type>array</type><parameter>haystack</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>strict</parameter></methodparam> + </methodsynopsis> <para> Procura em <parameter>haystack</parameter> pelo valor <parameter>needle</parameter> e retorna &true; @@ -2646,14 +2518,12 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>array_search</function></funcdef> - <paramdef>mixed <parameter>needle</parameter></paramdef> - <paramdef>array <parameter>haystack</parameter></paramdef> - <paramdef>bool <parameter><optional>strict</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>array_search</methodname> + <methodparam><type>mixed</type><parameter>needle</parameter></methodparam> + <methodparam><type>array</type><parameter>haystack</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>strict</parameter></methodparam> + </methodsynopsis> <para> Procura em <parameter>haystack</parameter> pelo valor <parameter>needle</parameter> e retorna sua chave se for encontrado no @@ -2678,12 +2548,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>key</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>key</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>key</function> retorna a chave da posi&ccedil;&atilde;o corrente de um array. @@ -2701,15 +2569,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>krsort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>krsort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> Classifica um array pelas chaves em ordem descrescente, mantendo a correla&ccedil;&atilde;o entre entre as chaves e os valores. Essa fun&ccedil;&atilde;o &eacute; bastante @@ -2763,15 +2627,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ksort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>ksort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> Classifica um array pelas chaves, mantendo a correla&ccedil;&atilde;o entre as chaves e os valores. Essa fun&ccedil;&atilde;o &eacute; bastante &uacute;til principalmente em arrays @@ -2832,12 +2692,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>list</function></funcdef> - <varargs/> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>list</methodname> + <methodparam rep="repeat"><type>mixed</type><parameter>...</parameter></methodparam> + </methodsynopsis> <para> Assim como <function>array</function>, n&atilde;o &eacute; exatamente uma fun&ccedil;&atilde;o, e sim uma estrutura da pr&oacute;pria linguagem. <function>list</function> &eacute; usada @@ -2884,12 +2742,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>natsort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>natsort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o &eacute; um implementa&ccedil;&atilde;o do algoritmo que ordena strings alfanum&eacute;ricas da forma como um ser humano faria. Isso &eacute; @@ -2964,12 +2820,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>natcasesort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>natcasesort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o implementa o algoritmo de classifica&ccedil;&atilde;o que ordena strings alfanum&eacute;ricas da forma que os humanas fariam. Essa forma de @@ -3005,12 +2859,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>next</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>next</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Retorna o elemento do array que est&aacute; na pr&oacute;xima posi&ccedil;&atilde;o que &eacute; apontada pelo ponteiro interno do array, &false; caso n&atilde;o existam mais elementos. @@ -3048,12 +2900,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>pos</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>pos</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <simpara> Essa fun&ccedil;&atilde;o &eacute; igual a <function>current</function>. </simpara> @@ -3072,12 +2922,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>prev</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>prev</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Retorna o elemento do array que est&aacute; na posi&ccedil;&atilde;o anterior a posi&ccedil;&atilde;o apontada pelo ponteiro interno, ou &false; se houver mais elementos. @@ -3111,13 +2959,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>range</function></funcdef> - <paramdef>mixed <parameter>low</parameter></paramdef> - <paramdef>mixed <parameter>high</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>range</methodname> + <methodparam><type>mixed</type><parameter>low</parameter></methodparam> + <methodparam><type>mixed</type><parameter>high</parameter></methodparam> + </methodsynopsis> <para> <function>range</function> retorna um array com elementos de <parameter>low</parameter> at&eacute; <parameter>high</parameter>, @@ -3162,12 +3008,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>reset</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>reset</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> <function>reset</function> retrocede o ponteiro interno de <parameter>array</parameter> para o primeiro elemento. @@ -3190,15 +3034,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>rsort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>rsort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> essa fun&ccedil;&atilde;o classifica um array para a ordem descrescente (do maior para o menor). <example> @@ -3253,12 +3093,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>shuffle</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>shuffle</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o mistura de forma aleat&oacute;ria os elementos de um array. Voc&ecirc; deve usar essa fun&ccedil;&atilde;o em conjunto com <function>srand</function>. @@ -3291,12 +3129,10 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>sizeof</function></funcdef> - <paramdef>mixed <parameter>var</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>sizeof</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> <para> <function>sizeof</function> &eacute; igual a <function>count</function>. @@ -3314,15 +3150,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>sort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>int - <parameter><optional>sort_flags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>sort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o classifica um array. Os elementos ser&atilde;o ordenador do menor para o maior ao final da execu&ccedil;&atilde;o dessa fun&ccedil;&atilde;o. @@ -3407,13 +3239,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>uasort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>function <parameter>cmp_function</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>uasort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>function</type><parameter>cmp_function</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o classifica um array de forma que a correla&ccedil;&atilde;o entre os &iacute;ndices e os elementos com que est&atilde;o associados. Essa fun&ccedil;&atilde;o usada @@ -3447,13 +3277,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>uksort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>function <parameter>cmp_function</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>uksort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>function</type><parameter>cmp_function</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o ia classificar as chaves de um array usando uma fun&ccedil;&atilde;o de compara&ccedil;&atilde;o definida pelo usu&aacute;rio. Se o array @@ -3515,13 +3343,11 @@ </refnamediv> <refsect1> <title>Descri&ccedil;&atilde;o</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>usort</function></funcdef> - <paramdef>array <parameter>array</parameter></paramdef> - <paramdef>string <parameter>cmp_function</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>usort</methodname> + <methodparam><type>array</type><parameter>array</parameter></methodparam> + <methodparam><type>string</type><parameter>cmp_function</parameter></methodparam> + </methodsynopsis> <para> Essa fun&ccedil;&atilde;o ir&aacute; classificar um array pelos valores usando uma fun&ccedil;&atilde;o de classifica&ccedil;&atilde;o definida pelo usu&aacute;rio. Se o array precisar ser classificado @@ -3710,3 +3536,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/bc.xml diff -u phpdoc/pt_BR/functions/bc.xml:1.3 phpdoc/pt_BR/functions/bc.xml:1.4 --- phpdoc/pt_BR/functions/bc.xml:1.3 Sun Jan 13 07:05:59 2002 +++ phpdoc/pt_BR/functions/bc.xml Sat Feb 2 10:49:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <reference id="ref.bc"> <title>BCMath Funções de Matemática de Precisão Arbitrária</title> <titleabbrev>BC math</titleabbrev> @@ -30,16 +30,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcadd</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>operador_da_direita</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcadd</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>operador_da_direita</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Adiciona o <parameter>operador_da_esquerda</parameter> ao <parameter>operador_da_direita</parameter> e retorna a soma em @@ -60,16 +56,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>bccomp</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>operador_da_direita</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>bccomp</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>operador_da_direita</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Compara o <parameter>operador_da_esquerda</parameter> com o <parameter>operador_da_direita</parameter> e retorna o resultado @@ -92,16 +84,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcdiv</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>operador_da_direita</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcdiv</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>operador_da_direita</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Divide o <parameter>operador_da_esquerda</parameter> pelo <parameter>operador_da_direita</parameter> e retorna o resultado. @@ -124,13 +112,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmod</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>modulo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcmod</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>modulo</parameter></methodparam> + </methodsynopsis> <para> Obter o módulo do <parameter>operador_da_esquerda</parameter> usando <parameter>modulo</parameter>. @@ -148,16 +134,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmul</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>operador_da_direita</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcmul</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>operador_da_direita</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Multipica o <parameter>operador_da_esquerda</parameter> pelo <parameter>operador_da_direita</parameter> e retorna o resultado. @@ -180,16 +162,12 @@ </refnamediv> <refsect1> <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcpow</function></funcdef> - <paramdef>string <parameter>x</parameter></paramdef> - <paramdef>string <parameter>y</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcpow</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Elevar <parameter>x</parameter> a potência de <parameter>y</parameter>. O parametro opcional @@ -212,12 +190,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcscale</function></funcdef> - <paramdef>int <parameter>escala</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcscale</methodname> + <methodparam><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Esta função configura o padrão (default) para o parametro escala de todas as chamadas as funções bc math subsequentes. Este valor será @@ -236,15 +212,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsqrt</function></funcdef> - <paramdef>string <parameter>operador</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcsqrt</methodname> + <methodparam><type>string</type><parameter>operador</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> <para> Retorna a raiz quadrada do <parameter>operador</parameter>. O parametro opcional <parameter>escala</parameter> configura @@ -266,16 +238,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsub</function></funcdef> - <paramdef>string <parameter>operador_da_esquerda</parameter></paramdef> - <paramdef>string <parameter>operador_da_direita</parameter></paramdef> - <paramdef>int - <parameter><optional>escala</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>bcsub</methodname> + <methodparam><type>string</type><parameter>operador_da_esquerda</parameter></methodparam> + <methodparam><type>string</type><parameter>operador_da_direita</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>escala</parameter></methodparam> + </methodsynopsis> <para> Subtrair o <parameter>operador_da_direita</parameter> do <parameter>operador_da_esquerda</parameter> e retorna o resultado @@ -311,3 +279,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/dir.xml diff -u phpdoc/pt_BR/functions/dir.xml:1.3 phpdoc/pt_BR/functions/dir.xml:1.4 --- phpdoc/pt_BR/functions/dir.xml:1.3 Sun Jan 13 07:06:27 2002 +++ phpdoc/pt_BR/functions/dir.xml Sat Feb 2 10:49:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <reference id="ref.dir"> <title>Funções de diretório</title> <titleabbrev>Diretórios</titleabbrev> @@ -22,12 +22,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>chroot</function></funcdef> - <paramdef>string <parameter>diretorio</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>chroot</methodname> + <methodparam><type>string</type><parameter>diretorio</parameter></methodparam> + </methodsynopsis> <para> Muda o diretório raiz (root) do processo atual para o <parameter>diretorio</parameter>. Retorna &false; se não for @@ -52,12 +50,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>chdir</function></funcdef> - <paramdef>string <parameter>diretorio</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>chdir</methodname> + <methodparam><type>string</type><parameter>diretorio</parameter></methodparam> + </methodsynopsis> <para> Muda o diretório atual do PHP para <parameter>diretorio</parameter>. Retorna &false; se não for possível mudar de diretório, retorna &true @@ -73,12 +69,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>objeto <function>dir</function></funcdef> - <paramdef>string <parameter>diretorio</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>objeto</type><methodname>dir</methodname> + <methodparam><type>string</type><parameter>diretorio</parameter></methodparam> + </methodsynopsis> <para> Um mecanismo pseudo-orientado a objeto para ler um diretório. O parametro dado <parameter>diretorio</parameter> é aberto. @@ -119,12 +113,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>closedir</function></funcdef> - <paramdef>resource <parameter>dir_handle</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>closedir</methodname> + <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> <para> Fecha o stream do diretório indicado por <parameter>dir_handle</parameter>. O stream deve ter sido previamente @@ -140,12 +132,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>getcwd</function></funcdef> + <methodsynopsis> + <type>string</type><methodname>getcwd</methodname> <void/> - </funcprototype> - </funcsynopsis> + </methodsynopsis> <para> Retorna o diretório atual. </para> @@ -159,12 +149,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>resource <function>opendir</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>resource</type><methodname>opendir</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> Retorna um handle de diretório para ser usado em chamadas subsequentes a <function>closedir</function>, @@ -207,12 +195,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>readdir</function></funcdef> - <paramdef>resource <parameter>dir_handle</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>readdir</methodname> + <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> <para> Retorna o nomedoarquivo do prócimo arquivo do diretório. Os nomedoarquivos não serão retornados em alguma ordem particular. @@ -267,12 +253,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>rewinddir</function></funcdef> - <paramdef>resource <parameter>dir_handle</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>rewinddir</methodname> + <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> <para> Reinicia o stream do diretório indicado por <parameter>dir_handle</parameter> para o início do diretório. @@ -303,3 +287,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/filesystem.xml diff -u phpdoc/pt_BR/functions/filesystem.xml:1.8 phpdoc/pt_BR/functions/filesystem.xml:1.9 --- phpdoc/pt_BR/functions/filesystem.xml:1.8 Wed Dec 12 15:56:32 2001 +++ phpdoc/pt_BR/functions/filesystem.xml Sat Feb 2 10:49:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <reference id="ref.filesystem"> <title>Funções do Filesystem</title> <titleabbrev>Filesystem</titleabbrev> @@ -13,13 +13,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>basename</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - <paramdef>string <parameter><optional>sufixo</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>basename</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>sufixo</parameter></methodparam> + </methodsynopsis> <para> Dado uma string contendo um path para um arquivo, essa função irá retornar o nome base do arquivo. @@ -60,13 +58,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>chgrp</function></funcdef> - <paramdef>string <parameter>arquivo</parameter></paramdef> - <paramdef>mixed <parameter>grupo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>chgrp</methodname> + <methodparam><type>string</type><parameter>arquivo</parameter></methodparam> + <methodparam><type>mixed</type><parameter>grupo</parameter></methodparam> + </methodsynopsis> <para> Tenta modificar o grupo do <parameter>arquivo</parameter> para o @@ -97,13 +93,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>chmod</function></funcdef> - <paramdef>string <parameter>arquivo</parameter></paramdef> - <paramdef>int <parameter>modo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>chmod</methodname> + <methodparam><type>string</type><parameter>arquivo</parameter></methodparam> + <methodparam><type>int</type><parameter>modo</parameter></methodparam> + </methodsynopsis> <para> Tenta mudar as permissões do arquivo especificado por <parameter>arquivo</parameter> para o dado em @@ -144,13 +138,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>chown</function></funcdef> - <paramdef>string <parameter>arquivo</parameter></paramdef> - <paramdef>mixed <parameter>usuário</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>chown</methodname> + <methodparam><type>string</type><parameter>arquivo</parameter></methodparam> + <methodparam><type>mixed</type><parameter>usuário</parameter></methodparam> + </methodsynopsis> <para> Tenta modificar o dono do arquivo "arquivo" para o usuário "usuário". Somente o superusuário pode modificar o dono de @@ -178,12 +170,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>clearstatcache</function></funcdef> - <void/> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>clearstatcache</methodname> + <void/> + </methodsynopsis> <para> Invocando a função do sistema (system call) <systemitem>stat</systemitem> ou <systemitem>lstat</systemitem> @@ -228,13 +218,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>copy</function></funcdef> - <paramdef>string <parameter>origem</parameter></paramdef> - <paramdef>string <parameter>destino</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>copy</methodname> + <methodparam><type>string</type><parameter>origem</parameter></methodparam> + <methodparam><type>string</type><parameter>destino</parameter></methodparam> + </methodsynopsis> <para> Faz uma cópia de um arquivo. Retorna &true; se a copia é obtida com sucesso, caso contrário &false;. @@ -260,12 +248,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>void <function>delete</function></funcdef> - <paramdef>string <parameter>file</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>delete</methodname> + <methodparam><type>string</type><parameter>file</parameter></methodparam> + </methodsynopsis> <para> Esta é uma seção dispensável do manual criada para satisfazer as pessoas que estão procurando por <function>unlink</function> @@ -285,12 +271,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>dirname</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>dirname</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> Dada uma string contendo um path para um arquivo, esta função irá retornar o nome do diretório. @@ -322,12 +306,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>float <function>disk_free_space</function></funcdef> - <paramdef>string <parameter>diretório</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>float</type><methodname>disk_free_space</methodname> + <methodparam><type>string</type><parameter>diretório</parameter></methodparam> + </methodsynopsis> <para> Dado uma string contendo um diretório, esta função retornará o numero de bytes disponíveis no correspondente filesystem ou @@ -352,12 +334,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>float <function>diskfreespace</function></funcdef> - <paramdef>string <parameter>diretório</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>float</type><methodname>diskfreespace</methodname> + <methodparam><type>string</type><parameter>diretório</parameter></methodparam> + </methodsynopsis> <para> Este é um sinônimo obsoleto para a função <function>disk_free_space</function>. @@ -373,12 +353,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>float <function>disk_total_space</function></funcdef> - <paramdef>string <parameter>diretório</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>float</type><methodname>disk_total_space</methodname> + <methodparam><type>string</type><parameter>diretório</parameter></methodparam> + </methodsynopsis> <para> Dado uma string contendo um diretório, esta função retornará o numero total de bytes correspondendo ao filesystem ou a partição @@ -403,12 +381,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>fclose</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>fclose</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> O arquivo apontado por <parameter>fp</parameter> é fechado. </para> @@ -431,12 +407,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>feof</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>feof</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se obtiver o ponteiro estiver no fim do arquivo (eof) ou um erro ocorrer, caso contrário retorna &false;. @@ -456,12 +430,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fflush</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fflush</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Esta função forca que toda a saída que está no buffer para qual o arquivo está apontado pelo @@ -485,12 +457,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>fgetc</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>fgetc</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Retorna uma string contendo somente um caracter lido do arquivo apontado por fp. Retorna &false; no fim do arquivo (eof). @@ -517,18 +487,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>fgetcsv</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>comprimento</parameter></paramdef> - <paramdef>string - <parameter> - <optional>delimitador</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>fgetcsv</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>comprimento</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter> + delimitador + </parameter></methodparam> + </methodsynopsis> <simpara> Similar à <function>fgets</function> exceto que <function>fgetcsv</function> parses a linha que lê por campos @@ -585,13 +551,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>fgets</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>comprimento</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>fgets</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>comprimento</parameter></methodparam> + </methodsynopsis> <para> Retorna uma string com até comprimento - 1 bytes lidos do arquivo apontado por fp. A leitura acaba quando comprimento - 1 bytes @@ -647,18 +611,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>fgetss</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>comprimento</parameter></paramdef> - <paramdef>string - <parameter> - <optional>tags_permitidas</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>fgetss</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>comprimento</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter> + tags_permitidas + </parameter></methodparam> + </methodsynopsis> <para> Identico a <function>fgets</function>, exceto que fgetss tenta retirar qualquer tag HTML ou PHP do texto que ele lê. @@ -688,15 +648,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>file</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>file</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + </methodsynopsis> <para> Identico a <function>readfile</function>, exceto que <function>file</function> returna o arquivo no array. Cada @@ -740,12 +696,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>file_exists</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>file_exists</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <simpara> Retorna &true; se o arquivo expecificado por <parameter>nomedoarquivo</parameter> existe; &false; caso contrário. @@ -770,12 +724,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fileatime</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fileatime</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <simpara> Retorna o tempo que o arquivo foi acessado por último, ou &false; em caso de erro. O tempo que é retornado é um timestamp UNIX. @@ -811,12 +763,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>filectime</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>filectime</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o tempo em que o arquivo foi modificado pela última vez, ou &false; em caso de erro. O tempo é retornado como um timestamp @@ -856,12 +806,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>filegroup</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>filegroup</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o group ID do dono do arquivo, ou &false; no caso de um erro. O group ID é retornado em um formato numérico, use @@ -893,12 +841,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fileinode</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fileinode</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o numero do inode do arquivo, ou &false; em caso de erro. </para> @@ -927,12 +873,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>filemtime</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>filemtime</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o tempo em que o arquivo foi modificado pela última vez, ou &false; em caso de erro. O tempo é retornado como um timestamp Unix. @@ -963,12 +907,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fileowner</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fileowner</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o ID do usuário(user ID) do dono(owner) do arquivo, ou &false; caso um erro ocorra. O ID do usuário é retornado no formato numérico, @@ -999,12 +941,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fileperms</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fileperms</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> <para> Retorna as permissões do arquivo, ou &false; em caso de erro. </para> @@ -1027,12 +967,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>filesize</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>filesize</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o tamanho do arquivo, ou &false; em caso de erro. </para> @@ -1055,12 +993,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>filetype</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>filetype</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna o tipo do arquivo(file type). Valores possiveis são fifo, char, block, link, file e unknown(desconhecido).</para> @@ -1085,18 +1021,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>flock</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>operacao</parameter></paramdef> - <paramdef>int - <parameter> - <optional>wouldblock</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>flock</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>operacao</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + wouldblock + </parameter></methodparam> + </methodsynopsis> <simpara> PHP suporta uma maneira portável de lock arquivos completos em uma advisory way (que significa que todos os programas acessando @@ -1170,18 +1102,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fopen</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>string <parameter>mode</parameter></paramdef> - <paramdef>int - <parameter> - <optional>use_include_path</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fopen</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam><type>string</type><parameter>mode</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + use_include_path + </parameter></methodparam> + </methodsynopsis> <simpara> Se <parameter>nomedoarquivo</parameter> começa com "http://" (não diferencia entre caracteres maiusculas e minusculas), @@ -1327,12 +1255,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fpassthru</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fpassthru</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <simpara> Lê até o fim do arquivo (EOF) do ponteiro de arquivo dado e imprime os resultados para a saída normal (standard output). @@ -1368,18 +1294,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fputs</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>string <parameter>str</parameter></paramdef> - <paramdef>int - <parameter> - <optional>comprimento</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fputs</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + comprimento + </parameter></methodparam> + </methodsynopsis> <para> <function>fputs</function> é uma função sinônima (alias) para <function>fwrite</function>, e é identica em todas as maneiras. @@ -1396,13 +1318,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>fread</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>comprimento</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>fread</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>comprimento</parameter></methodparam> + </methodsynopsis> <simpara> <function>fread</function> lê até <parameter>comprimento</parameter> bytes. A leitura é @@ -1455,16 +1375,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>fscanf</function></funcdef> - <paramdef>int <parameter>handle</parameter></paramdef> - <paramdef>string <parameter>formato</parameter></paramdef> - <paramdef>string - <parameter><optional>var1</optional></parameter>... - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>mixed</type><methodname>fscanf</methodname> + <methodparam><type>int</type><parameter>handle</parameter></methodparam> + <methodparam><type>string</type><parameter>formato</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>var1</parameter></methodparam> + </methodsynopsis> <para> A função <function>fscanf</function> é semelhante a <function>sscanf</function>, mas usa como entrada um arquivo @@ -1511,16 +1427,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fseek</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>offset</parameter></paramdef> - <paramdef>int - <parameter><optional>whence</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fseek</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>whence</parameter></methodparam> + </methodsynopsis> <para> Modifica o indicador de posição do arquivo referenciado por <parameter>fp</parameter>. A nova posição é obtida, medindo em @@ -1571,12 +1483,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>fstat</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>fstat</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Mantém estatísticas do arquivo aberto pelo ponteiro de arquivos fp. Esta função é similar a função @@ -1616,12 +1526,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ftell</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>ftell</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Retorna a posição do ponteiro de arquivo referenciado por fp; por exemplo o seu offset no file stream. @@ -1650,13 +1558,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ftruncate</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>comprimento</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>ftruncate</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>comprimento</parameter></methodparam> + </methodsynopsis> <para> Pega o ponteiro de arquivo, fp, e corta o arquivo no comprimento especificado. O arquivo final terá os @@ -1675,18 +1581,14 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>fwrite</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>string <parameter>string</parameter></paramdef> - <paramdef>int - <parameter> - <optional>comprimento</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>fwrite</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>string</type><parameter>string</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + comprimento + </parameter></methodparam> + </methodsynopsis> <simpara> <function>fwrite</function> grava os conteúdos de <parameter>string</parameter> para o stream de arquivo apontado @@ -1727,13 +1629,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>set_file_buffer</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - <paramdef>int <parameter>buffer</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>set_file_buffer</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>buffer</parameter></methodparam> + </methodsynopsis> <simpara> A saída usando <function>fwrite</function> é normalmente guardada em um buffer de 8K. Isto significa que se se tem @@ -1782,12 +1682,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_dir</function></funcdef> - <paramdef>string <parameter>nomedorarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_dir</methodname> + <methodparam><type>string</type><parameter>nomedorarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se o nomedoarquivo existe e é um diretório. </para> @@ -1814,12 +1712,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_executable</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_executable</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se no nomedoarquivo existe e é executável. </para> @@ -1848,12 +1744,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_file</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_file</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se o nome do nomedoarquivo existe e é um arquivo comum. </para> @@ -1877,12 +1771,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_link</function></funcdef> - <paramdef>string <parameter>arquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_link</methodname> + <methodparam><type>string</type><parameter>arquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se o nomedoarquivo existe e é um link simbólico (symbolic link). @@ -1917,12 +1809,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_readable</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_readable</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se o nomedoraquivo existe e é legível (readable). </para> @@ -1953,12 +1843,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_writable</function></funcdef> - <paramdef>string <parameter>arquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_writable</methodname> + <methodparam><type>string</type><parameter>arquivo</parameter></methodparam> + </methodsynopsis> <para> Retorna &true; se o nomedoarquivo existe e pode ser escrito para. O argumento nomedoarquivo pode ser um nome de diretório, deixando @@ -1991,12 +1879,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_writeable</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_writeable</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Esta é uma função sinônima (alias) para <function>is_writable</function> @@ -2011,12 +1897,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>is_uploaded_file</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>is_uploaded_file</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Esta função é somente disponível em versões do PHP3 depois de @@ -2053,13 +1937,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>link</function></funcdef> - <paramdef>string <parameter>alvo</parameter></paramdef> - <paramdef>string <parameter>link</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>link</methodname> + <methodparam><type>string</type><parameter>alvo</parameter></methodparam> + <methodparam><type>string</type><parameter>link</parameter></methodparam> + </methodsynopsis> <para> <function>link</function> cria um hard link.</para> <para> @@ -2082,12 +1964,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>linkinfo</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>linkinfo</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> <function>linkinfo</function> retorna o campo st_dev da structure em C do UNIX retornado pela chamada do sistema @@ -2115,13 +1995,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>mkdir</function></funcdef> - <paramdef>string <parameter>nomedopath</parameter></paramdef> - <paramdef>int <parameter>mode</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>mkdir</methodname> + <methodparam><type>string</type><parameter>nomedopath</parameter></methodparam> + <methodparam><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> <para> Tenta criar o diretório especificado por <parameter>nomedopath</parameter>. @@ -2153,13 +2031,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>bool <function>move_uploaded_file</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>string <parameter>destino</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>bool</type><methodname>move_uploaded_file</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam><type>string</type><parameter>destino</parameter></methodparam> + </methodsynopsis> <para> Esta função está disponível somente em versões do PHP 3 depois @@ -2212,17 +2088,13 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>parse_ini_file</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>bool - <parameter> - <optional>processar_secoes</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>parse_ini_file</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter> + processar_secoes + </parameter></methodparam> + </methodsynopsis> <para> <function>parse_ini_file</function> carrega no arquivo ini especificado no @@ -2319,12 +2191,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>pathinfo</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>pathinfo</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> <function>pathinfo</function> retorna um array associatico contendo informações sobre o <parameter>path</parameter>. O @@ -2373,12 +2243,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pclose</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>pclose</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Fecha um ponteiro de arquivo a uma pipe aberta por <function>popen</function>. @@ -2403,13 +2271,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>popen</function></funcdef> - <paramdef>string <parameter>command</parameter></paramdef> - <paramdef>string <parameter>mode</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>popen</methodname> + <methodparam><type>string</type><parameter>command</parameter></methodparam> + <methodparam><type>string</type><parameter>mode</parameter></methodparam> + </methodsynopsis> <para> Abre uma pipe para um processo executado ao se dar um fork para o comando dado por command. @@ -2445,17 +2311,13 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>readfile</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>int - <parameter> - <optional>use_include_path</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>readfile</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + use_include_path + </parameter></methodparam> + </methodsynopsis> <para> Lê um arquivo e escreve o seu conteúdo para a saída padrão (standard output). @@ -2510,12 +2372,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>readlink</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>readlink</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> <function>readlink</function> faz o mesmo que a função do C readlink e retorna os conteúdos do path do link simbólico ou @@ -2541,13 +2401,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>rename</function></funcdef> - <paramdef>string <parameter>nomeantigo</parameter></paramdef> - <paramdef>string <parameter>novonome</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>rename</methodname> + <methodparam><type>string</type><parameter>nomeantigo</parameter></methodparam> + <methodparam><type>string</type><parameter>novonome</parameter></methodparam> + </methodsynopsis> <para> Tenta renomear <parameter>nomeantigo</parameter> para <parameter>novonome</parameter>. @@ -2565,12 +2423,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>rewind</function></funcdef> - <paramdef>int <parameter>fp</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>rewind</methodname> + <methodparam><type>int</type><parameter>fp</parameter></methodparam> + </methodsynopsis> <para> Muda o indicador de ponteiro de arquivo fp para o início do stream do arquivo.</para> <para> Se um erro ocorrer, @@ -2593,12 +2449,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>rmdir</function></funcdef> - <paramdef>string <parameter>nomedodir</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>rmdir</methodname> + <methodparam><type>string</type><parameter>nomedodir</parameter></methodparam> + </methodsynopsis> <para> Tenta remover o diretório com o nome de nomedodir. O diretório tem que estar vazio e as permissões relevantes permitam a @@ -2620,12 +2474,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>stat</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>stat</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Pegar estatísticas sobre o arquivo com o nome de nomedoarquivo. </para> @@ -2672,12 +2524,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>lstat</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>lstat</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Pega as estatísticas do arquivo ou link simbólico com o nome de nomedoarquivo. Esta função é identica a <function>stat</function> @@ -2720,12 +2570,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>realpath</function></funcdef> - <paramdef>string <parameter>path</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>realpath</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> <para> <function>realpath</function> expande todos os links simbólicos e resolve referencias para '/./', '/../' e extra caracteres '/' @@ -2751,13 +2599,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>symlink</function></funcdef> - <paramdef>string <parameter>alvo</parameter></paramdef> - <paramdef>string <parameter>link</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>symlink</methodname> + <methodparam><type>string</type><parameter>alvo</parameter></methodparam> + <methodparam><type>string</type><parameter>link</parameter></methodparam> + </methodsynopsis> <para> <function>symlink</function> cria um link simbólico do <parameter>alvo</parameter> existente com o nome @@ -2783,13 +2629,11 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>tempnam</function></funcdef> - <paramdef>string <parameter>dir</parameter></paramdef> - <paramdef>string <parameter>prefix</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>tempnam</methodname> + <methodparam><type>string</type><parameter>dir</parameter></methodparam> + <methodparam><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> <para> Cria um nome de arquivo temporário único no diretório especificado. Se o diretório não existe, <function>tempnam</function> pode @@ -2837,12 +2681,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>arqtmp</function></funcdef> - <void/> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>arqtmp</methodname> + <void/> + </methodsynopsis> <para> Cria um arquivo temporárop com um nome único em modo de gravação, retornando o handle do arquivo em modo similar ao @@ -2869,17 +2711,13 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>touch</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - <paramdef>int - <parameter> - <optional>tempo</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>touch</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter> + tempo + </parameter></methodparam> + </methodsynopsis> <para> Tenta mudar o tempo de modificação do arquivo com o nome de nomedoarquivo para o valor dado por tempo. Se a opção de tempo @@ -2912,12 +2750,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>umask</function></funcdef> - <paramdef>int <parameter>mask</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>umask</methodname> + <methodparam><type>int</type><parameter>mask</parameter></methodparam> + </methodsynopsis> <para> <function>umask</function> modifica o umask do PHP para o mask &amp; 0777 e retorna o umask antigo. Quando o PHP está sendo @@ -2943,12 +2779,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>unlink</function></funcdef> - <paramdef>string <parameter>nomedoarquivo</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>unlink</methodname> + <methodparam><type>string</type><parameter>nomedoarquivo</parameter></methodparam> + </methodsynopsis> <para> Deleta <parameter>nomedoarquivo</parameter>. Similar a função C no Unix unlink(). @@ -2989,3 +2823,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/mhash.xml diff -u phpdoc/pt_BR/functions/mhash.xml:1.2 phpdoc/pt_BR/functions/mhash.xml:1.3 --- phpdoc/pt_BR/functions/mhash.xml:1.2 Sat Dec 29 03:08:17 2001 +++ phpdoc/pt_BR/functions/mhash.xml Sat Feb 2 10:49:06 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.mhash"> <title>Mhash Functions</title> <titleabbrev>mhash</titleabbrev> @@ -125,12 +125,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>mhash_get_hash_name</function></funcdef> - <paramdef>int <parameter>hash</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>mhash_get_hash_name</methodname> + <methodparam><type>int</type><parameter>hash</parameter></methodparam> + </methodsynopsis> <para> <function>mhash_get_hash_name</function> é usada para obter o nome da hash especificada. @@ -171,12 +169,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>mhash_get_block_size</function></funcdef> - <paramdef>int <parameter>hash</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>int</type><methodname>mhash_get_block_size</methodname> + <methodparam><type>int</type><parameter>hash</parameter></methodparam> + </methodsynopsis> <para> <function>mhash_get_block_size</function> é usada para obter o tamanho de um blobo da <parameter>hash</parameter> específicada. @@ -196,12 +192,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>mhash_count</function></funcdef> + <methodsynopsis> + <type>int</type><methodname>mhash_count</methodname> <void/> - </funcprototype> - </funcsynopsis> + </methodsynopsis> <para> <function>mhash_count</function> retorna a mais alta hash id disponível. As hashes são numeradas de 0 até esta hash id. @@ -235,14 +229,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>mhash</function></funcdef> - <paramdef>int <parameter>hash</parameter></paramdef> - <paramdef>string <parameter>data</parameter></paramdef> - <paramdef>string <parameter>[ key ]</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>mhash</methodname> + <methodparam><type>int</type><parameter>hash</parameter></methodparam> + <methodparam><type>string</type><parameter>data</parameter></methodparam> + <methodparam><type>string</type><parameter>[ key ]</parameter></methodparam> + </methodsynopsis> <para> <function>mhash</function> applica a função hash especificada por <parameter>hash</parameter> para o parametro <parameter>data</parameter> @@ -263,15 +255,13 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>mhash_keygen_s2k</function></funcdef> - <paramdef>int <parameter>hash</parameter></paramdef> - <paramdef>string <parameter>password</parameter></paramdef> - <paramdef>string <parameter>salt</parameter></paramdef> - <paramdef>int <parameter>bytes</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>mhash_keygen_s2k</methodname> + <methodparam><type>int</type><parameter>hash</parameter></methodparam> + <methodparam><type>string</type><parameter>password</parameter></methodparam> + <methodparam><type>string</type><parameter>salt</parameter></methodparam> + <methodparam><type>int</type><parameter>bytes</parameter></methodparam> + </methodsynopsis> <para> <function>mhash_keygen_s2k</function> gera um chave que tem <parameter>bytes</parameter> de comprimento, apartir de uma @@ -315,3 +305,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/overload.xml diff -u phpdoc/pt_BR/functions/overload.xml:1.1 phpdoc/pt_BR/functions/overload.xml:1.2 --- phpdoc/pt_BR/functions/overload.xml:1.1 Tue Dec 25 16:54:37 2001 +++ phpdoc/pt_BR/functions/overload.xml Sat Feb 2 10:49:06 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <reference id="ref.overload"> <title>Object property and method call overloading</title> <titleabbrev>Object overloading</titleabbrev> @@ -102,18 +102,12 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>void - <function>overload</function> - </funcdef> - <paramdef>string - <parameter> - <optional>class_name</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>void</type><methodname>overload</methodname> + <methodparam choice="opt"><type>string</type><parameter> + class_name + </parameter></methodparam> + </methodsynopsis> <para> A função <function>overload</function> irá habilitar overloading de chamadas de propriedades e metodos para classes identificadas @@ -145,3 +139,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + Index: phpdoc/pt_BR/functions/url.xml diff -u phpdoc/pt_BR/functions/url.xml:1.5 phpdoc/pt_BR/functions/url.xml:1.6 --- phpdoc/pt_BR/functions/url.xml:1.5 Wed Dec 12 15:56:33 2001 +++ phpdoc/pt_BR/functions/url.xml Sat Feb 2 10:49:06 2002 @@ -10,12 +10,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>base64_decode</function></funcdef> - <paramdef>string <parameter>encoded_data</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>base64_decode</methodname> + <methodparam><type>string</type><parameter>encoded_data</parameter></methodparam> + </methodsynopsis> <para> <function>base64_decode</function> decodes <parameter>encoded_data</parameter> e retorna o dado @@ -35,12 +33,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>base64_encode</function></funcdef> - <paramdef>string <parameter>dados</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>base64_encode</methodname> + <methodparam><type>string</type><parameter>dados</parameter></methodparam> + </methodsynopsis> <para> <function>base64_encode</function> returns <parameter>Dado</parameter> codificado com base64. Esta codificação @@ -66,12 +62,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>parse_url</function></funcdef> - <paramdef>string <parameter>url</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>array</type><methodname>parse_url</methodname> + <methodparam><type>string</type><parameter>url</parameter></methodparam> + </methodsynopsis> <para> Esta função retorna um array associativo qualquer um dos vários componentes de uma URL que estão presentes. Isto inclui @@ -88,12 +82,10 @@ </refnamediv> <refsect1> <title>Descrição</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>urldecode</function></funcdef> - <paramdef>string <parameter>str</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>urldecode</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + </methodsynopsis> <para> Decodifica qualquer <literal>%<replaceable>##</replaceable></literal> codificado na string. A string decodificada é o valor de retorno. @@ -124,12 +116,10 @@ </refnamediv> <refsect1> <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>urlencode</function></funcdef> - <paramdef>string <parameter>str</parameter></paramdef> - </funcprototype> - </funcsynopsis> + <methodsynopsis> + <type>string</type><methodname>urlencode</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + </methodsynopsis> <para> Retorna uma string onde todos caracteres não-alfanuméricos exceto <literal>-_.</literal> é substituido por um sinal de porcento @@ -175,3 +165,4 @@ sgml-local-ecat-files:nil End: --> +
« previous php.doc (#969341813) next »