File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: leonardolara Status: ready -->
3-
4- <book xml : id =" book.lua" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <book xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" book.lua" >
54 <?phpdoc extension-membership =" pecl" ?>
65 <title >Lua</title >
76 <titleabbrev >Lua</titleabbrev >
87
98 <preface xml : id =" intro.lua" >
109 &reftitle.intro;
11- <para >
10+ <simpara >
1211 "Lua é uma linguagem de script poderosa, rápida, leve e incorporável."
1312 Esta extensão incorpora o interpretador lua e oferece uma API-OO para as
1413 variáveis e funções lua.
15- </para >
14+ </simpara >
1615 </preface >
1716
1817 &reference.lua.setup;
1918
2019 &reference.lua.lua;
2120 &reference.lua.luaclosure;
2221</book >
23-
2422<!-- Keep this comment at the end of the file
2523Local variables:
2624mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 60270ff0cc7b9b18593c44851aa99d6408d072b1 Maintainer: leonardolara Status: ready -->
3-
4- <section xml : id =" lua.installation" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <section xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.installation" >
54 &reftitle.install;
65
7- <para >
6+ <simpara >
87 &pecl.info;
98 <link xlink : href =" &url.pecl.package; lua" >&url.pecl.package; lua</link >
10- </para >
9+ </simpara >
1110
1211
1312</section >
14-
15-
1613<!-- Keep this comment at the end of the file
1714Local variables:
1815mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: leonardolara Status: ready -->
3-
4- <reference xml : id =" class.lua" role =" class" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xmlns : xi =" http://www.w3.org/2001/XInclude" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <reference xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xmlns : xi =" http://www.w3.org/2001/XInclude" xml : id =" class.lua" role =" class" >
54
65 <title >A Classe Lua</title >
76 <titleabbrev >Lua</titleabbrev >
1110<!-- {{{ Lua intro -->
1211 <section xml : id =" lua.intro" >
1312 &reftitle.intro;
14- <para >
13+ <simpara >
1514
16- </para >
15+ </simpara >
1716 </section >
1817<!-- }}} -->
1918
4039 </fieldsynopsis >
4140
4241 <classsynopsisinfo role =" comment" >&Methods; </classsynopsisinfo >
43- <xi : include xpointer =" xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.lua')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis)" />
42+ <xi : include xpointer =" xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.lua')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis)" />
4443 </classsynopsis >
4544<!-- }}} -->
4645
5554 <varlistentry xml : id =" lua.constants.lua-version" >
5655 <term ><constant >Lua::LUA_VERSION</constant ></term >
5756 <listitem >
58- <para ></ para >
57+ <simpara / >
5958 </listitem >
6059 </varlistentry >
6160
6968 &reference.lua.entities.lua;
7069
7170</reference >
72-
7371<!-- Keep this comment at the end of the file
7472Local variables:
7573mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 9b2d0005f7b4176929fd4df754079c1f80fdb406 Maintainer: leonardolara Status: ready -->
3-
4- <refentry xml : id =" lua.assign" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.assign" >
54 <refnamediv >
65 <refname >Lua::assign</refname >
76 <refpurpose >Atribui uma variável PHP para o script Lua</refpurpose >
1413 <methodparam ><type >string</type ><parameter >name</parameter ></methodparam >
1514 <methodparam ><type >string</type ><parameter >value</parameter ></methodparam >
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817
19- </para >
18+ </simpara >
2019
2120 &warn.undocumented.func;
2221
2827 <varlistentry >
2928 <term ><parameter >name</parameter ></term >
3029 <listitem >
31- <para >
30+ <simpara >
3231
33- </para >
32+ </simpara >
3433 </listitem >
3534 </varlistentry >
3635 <varlistentry >
3736 <term ><parameter >value</parameter ></term >
3837 <listitem >
39- <para >
38+ <simpara >
4039
41- </para >
40+ </simpara >
4241 </listitem >
4342 </varlistentry >
4443 </variablelist >
4544 </refsect1 >
4645
4746 <refsect1 role =" returnvalues" >
4847 &reftitle.returnvalues;
49- <para >
48+ <simpara >
5049 Retorna <varname >$this</varname > ou &null; caso a chamada falhe.
51- </para >
50+ </simpara >
5251 </refsect1 >
5352
5453 <refsect1 role =" examples" >
8281 </refsect1 >
8382
8483</refentry >
85-
8684<!-- Keep this comment at the end of the file
8785Local variables:
8886mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 5faa7a6747bca628b3bdcc9f93aec5603b65581f Maintainer: leonardolara Status: ready -->
3-
4- <refentry xml : id =" lua.call" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.call" >
54 <refnamediv >
65 <refname >Lua::call</refname >
76 <refname >Lua::__call</refname >
2221 <methodparam choice =" opt" ><type >array</type ><parameter >args</parameter ></methodparam >
2322 <methodparam choice =" opt" ><type >int</type ><parameter >use_self</parameter ><initializer >0</initializer ></methodparam >
2423 </methodsynopsis >
25- <para >
24+ <simpara >
2625
27- </para >
26+ </simpara >
2827
2928 &warn.undocumented.func;
3029
3635 <varlistentry >
3736 <term ><parameter >lua_func</parameter ></term >
3837 <listitem >
39- <para >
38+ <simpara >
4039 Nome da função lua
41- </para >
40+ </simpara >
4241 </listitem >
4342 </varlistentry >
4443 <varlistentry >
4544 <term ><parameter >args</parameter ></term >
4645 <listitem >
47- <para >
46+ <simpara >
4847 Argumentos passados para a função Lua
49- </para >
48+ </simpara >
5049 </listitem >
5150 </varlistentry >
5251 <varlistentry >
5352 <term ><parameter >use_self</parameter ></term >
5453 <listitem >
55- <para >
54+ <simpara >
5655 Indica o uso de <literal >self</literal >
57- </para >
56+ </simpara >
5857 </listitem >
5958 </varlistentry >
6059 </variablelist >
6160 </refsect1 >
6261
6362 <refsect1 role =" returnvalues" >
6463 &reftitle.returnvalues;
65- <para >
64+ <simpara >
6665 Retorna o resultado da função chamada, &null; para argumentos incorretos ou
6766 &false; para outros tipos de falha.
68- </para >
67+ </simpara >
6968 </refsect1 >
7069
7170 <refsect1 role =" examples" >
@@ -107,7 +106,6 @@ string(5) "1-2-3"
107106 </refsect1 >
108107
109108</refentry >
110-
111109<!-- Keep this comment at the end of the file
112110Local variables:
113111mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: cf2b279980fc54b7f2602a0687652c170a906930 Maintainer: leonardolara Status: ready -->
3-
4- <refentry xml : id =" lua.construct" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.construct" >
54 <refnamediv >
65 <refname >Lua::__construct</refname >
76 <refpurpose >Construtor Lua</refpurpose >
1312 <modifier >public</modifier > <methodname >Lua::__construct</methodname >
1413 <methodparam choice =" opt" ><type >string</type ><parameter >lua_script_file</parameter ><initializer >NULL</initializer ></methodparam >
1514 </methodsynopsis >
16- <para >
15+ <simpara >
1716
18- </para >
17+ </simpara >
1918
2019 &warn.undocumented.func;
2120
2726 <varlistentry >
2827 <term ><parameter >lua_script_file</parameter ></term >
2928 <listitem >
30- <para >
31- </para >
29+ <simpara >
30+ </simpara >
3231 </listitem >
3332 </varlistentry >
3433 </variablelist >
3534 </refsect1 >
3635
3736 <refsect1 role =" returnvalues" >
3837 &reftitle.returnvalues;
39- <para >
38+ <simpara >
4039
41- </para >
40+ </simpara >
4241 </refsect1 >
4342
4443
4544</refentry >
46-
4745<!-- Keep this comment at the end of the file
4846Local variables:
4947mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 9b2d0005f7b4176929fd4df754079c1f80fdb406 Maintainer: leonardolara Status: ready -->
3-
4- <refentry xml : id =" lua.eval" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.eval" >
54 <refnamediv >
65 <refname >Lua::eval</refname >
76 <refpurpose >Avalia uma string como código Lua</refpurpose >
1312 <modifier >public</modifier > <type >mixed</type ><methodname >Lua::eval</methodname >
1413 <methodparam ><type >string</type ><parameter >statements</parameter ></methodparam >
1514 </methodsynopsis >
16- <para >
15+ <simpara >
1716
18- </para >
17+ </simpara >
1918
2019 &warn.undocumented.func;
2120
2726 <varlistentry >
2827 <term ><parameter >statements</parameter ></term >
2928 <listitem >
30- <para >
29+ <simpara >
3130
32- </para >
31+ </simpara >
3332 </listitem >
3433 </varlistentry >
3534 </variablelist >
3635 </refsect1 >
3736
3837 <refsect1 role =" returnvalues" >
3938 &reftitle.returnvalues;
40- <para >
39+ <simpara >
4140 Retorna o resultado do código avaliado, &null; para argumentos incorretos ou &false; para
4241 outros tipos de falha.
43- </para >
42+ </simpara >
4443 </refsect1 >
4544
4645 <refsect1 role =" examples" >
6867 </refsect1 >
6968
7069</refentry >
71-
7270<!-- Keep this comment at the end of the file
7371Local variables:
7472mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 4aaf5b8ba0ab42b9e884a75a21fa206c30205b74 Maintainer: leonardolara Status: ready -->
3-
4- <refentry xml : id =" lua.getversion" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
2+ <!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: leonardolara Status: ready -->
3+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" lua.getversion" >
54 <refnamediv >
65 <refname >Lua::getVersion</refname >
76 <refpurpose >Obtém a versão do interpretador Lua</refpurpose >
1110 &reftitle.description;
1211 <methodsynopsis >
1312 <modifier >public</modifier > <type >string</type ><methodname >Lua::getVersion</methodname >
14- <void />
13+ <void />
1514 </methodsynopsis >
16- <para >
15+ <simpara >
1716
18- </para >
17+ </simpara >
1918
2019 &warn.undocumented.func;
2120
2827
2928 <refsect1 role =" returnvalues" >
3029 &reftitle.returnvalues;
31- <para >
30+ <simpara >
3231 Retorna <varname linkend =" lua.constants.lua-version" >Lua::LUA_VERSION</varname >.
33- </para >
32+ </simpara >
3433 </refsect1 >
3534
3635
3736</refentry >
38-
3937<!-- Keep this comment at the end of the file
4038Local variables:
4139mode: sgml
You can’t perform that action at this time.
0 commit comments