cvs: smarty /docs/pt_BR/programmers api-functions.xml
"Mehdi Achour" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsdidou1080489142@cvsserver> |
didou Sun Mar 28 10:52:22 2004 EDT
Modified files:
/smarty/docs/pt_BR/programmers api-functions.xml
Log:
and finally, pt_BR builds fine :)
http://cvs.php.net/diff.php/smarty/docs/pt_BR/programmers/api-functions.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/pt_BR/programmers/api-functions.xml
diff -u smarty/docs/pt_BR/programmers/api-functions.xml:1.1 smarty/docs/pt_BR/programmers/api-functions.xml:1.2
--- smarty/docs/pt_BR/programmers/api-functions.xml:1.1 Sun Mar 28 10:24:19 2004
+++ smarty/docs/pt_BR/programmers/api-functions.xml Sun Mar 28 10:52:22 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<chapter id="api.functions">
<title>Métodos</title>
<sect1 id="api.append">
@@ -213,15 +213,13 @@
</sect1>
<sect1 id="api.clear.cache">
<title>clear_cache</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>clear_cache</function></funcdef>
- <paramdef>string <parameter>template</parameter></paramdef>
- <paramdef>string <parameter><optional>cache id</optional></parameter></paramdef>
- <paramdef>string <parameter><optional>compile id</optional></parameter></paramdef>
- <paramdef>int <parameter><optional>expire time</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>void</type><methodname>clear_cache</methodname>
+ <methodparam choice="opt"><type>string</type><parameter>template</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>cache id</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>compile id</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>expire time</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso limpa o cache de um template específico. Se você tem
múltiplos caches para este arquivo, você limpa o cache
@@ -268,12 +266,11 @@
</sect1>
<sect1 id="api.clear.config">
<title>clear_config</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>clear_config</function></funcdef>
- <paramdef>string <parameter><optional>var</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>void</type><methodname>clear_config</methodname>
+ <methodparam choice="opt"><type>string</type><parameter>var</parameter></methodparam>
+ </methodsynopsis>
+
<para>
Isso limpa todas as variáveis de configuração fixadas. Se um nome de variável
é fornecido, somente esta variável é apagada.
@@ -290,13 +287,11 @@
</sect1>
<sect1 id="api.config.load">
<title>config_load</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>config_load</function></funcdef>
- <paramdef>string <parameter>file</parameter></paramdef>
- <paramdef>string <parameter><optional>section</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>void</type><methodname>config_load</methodname>
+ <methodparam><type>string</type><parameter>file</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>section</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso carrega o arquivo de configuração de dados e fixa-o para o
template. Isso funciona idêntico a função <link
@@ -326,14 +321,12 @@
</sect1>
<sect1 id="api.display">
<title>display</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>display</function></funcdef>
- <paramdef>string <parameter>template</parameter></paramdef>
- <paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef>
- <paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>void</type><methodname>display</methodname>
+ <methodparam><type>string</type><parameter>template</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso mostra o template. Fornecendo um válido <link
linkend="template.resources">template resource</link>
@@ -405,14 +398,12 @@
</sect1>
<sect1 id="api.fetch">
<title>fetch</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>string <function>fetch</function></funcdef>
- <paramdef>string <parameter>template</parameter></paramdef>
- <paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef>
- <paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>string</type><methodname>fetch</methodname>
+ <methodparam><type>string</type><parameter>template</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso retorna a saída do template ao invés de mostrá-lo.
Fornecendo um tipo ou path válido <link
@@ -469,12 +460,10 @@
</sect1>
<sect1 id="api.get.config.vars">
<title>get_config_vars</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>array <function>get_config_vars</function></funcdef>
- <paramdef>string <parameter><optional>varname</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>array</type><methodname>get_config_vars</methodname>
+ <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso retorna o valor da variável de configuração dada.
Se nenhum parâmetro é dado, um array de todas as variáveis dos arquivos de configurações é retornado.
@@ -519,12 +508,10 @@
</sect1>
<sect1 id="api.get.template.vars">
<title>get_template_vars</title>
- <funcsynopsis>
- <funcprototype>
- <funcdef>array <function>get_template_vars</function></funcdef>
- <paramdef>string <parameter><optional>varname</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
+ <methodsynopsis>
+ <type>array</type><methodname>get_template_vars</methodname>
+ <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
+ </methodsynopsis>
<para>
Isso retorna o valor de uma variável fixada. Se nenhum parâmetro
é dado, um array de todas as variávels fixadas é retornado.
@@ -1103,4 +1090,5 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
+
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php