svn: /phpdoc/en/trunk/reference/lua/lua/ assign.xml call.xml eval.xml getversion.xml include.xml registercallback.xml
| From: | Jakub Vrana | Date: | Thu, 12 Jan 2012 11:55:31 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/lua/lua/ assign.xml call.xml eval.xml getversion.xml include.xml registercallback.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9425@lists.php.net to get a copy of this message | ||
vrana Thu, 12 Jan 2012 11:55:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322128
Log:
Fix protos
Changed paths:
U phpdoc/en/trunk/reference/lua/lua/assign.xml
U phpdoc/en/trunk/reference/lua/lua/call.xml
U phpdoc/en/trunk/reference/lua/lua/eval.xml
U phpdoc/en/trunk/reference/lua/lua/getversion.xml
U phpdoc/en/trunk/reference/lua/lua/include.xml
U phpdoc/en/trunk/reference/lua/lua/registercallback.xml
Modified: phpdoc/en/trunk/reference/lua/lua/assign.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/assign.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/assign.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::assign</methodname>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::assign</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>value</parameter></methodparam>
</methodsynopsis>
@@ -47,7 +47,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns <varname>$this</varname> or &null; on failure.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/lua/lua/call.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/call.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/call.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -11,14 +11,16 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::call</methodname>
-
<methodparam><type>mixed</type><parameter>lua_func</parameter></methodparam>
-
<methodparam><type>array</type><parameter>args</parameter></methodparam>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::call</methodname>
+
<methodparam><type>callback</type><parameter>lua_func</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>use_self</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::__call</methodname>
-
<methodparam><type>string</type><parameter>lua_func</parameter></methodparam>
-
<methodparam><type>array</type><parameter>args</parameter></methodparam>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::__call</methodname>
+
<methodparam><type>callback</type><parameter>lua_func</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>use_self</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
@@ -47,13 +49,22 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>use_self</parameter></term>
+ <listitem>
+ <para>
+ Whether to use <literal>self</literal>
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns result of the called function, &null; for wrong arguments or
+ &false; on other failure.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/lua/lua/eval.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/eval.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/eval.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::eval</methodname>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::eval</methodname>
<methodparam><type>string</type><parameter>statements</parameter></methodparam>
</methodsynopsis>
<para>
@@ -38,7 +38,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns result of evaled code, &null; for wrong arguments or &false; on
+ other failure.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/lua/lua/getversion.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/getversion.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/getversion.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -3,14 +3,14 @@
<refentry xml:id="lua.getversion" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
- <refname>Lua::getversion</refname>
+ <refname>Lua::getVersion</refname>
<refpurpose>The getversion purpose</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::getversion</methodname>
+ <modifier>public</modifier>
<type>string</type><methodname>Lua::getVersion</methodname>
<void />
</methodsynopsis>
<para>
@@ -29,7 +29,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns <varname
linkend="lua.constants.lua-version">Lua::LUA_VERSION</varname>.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/lua/lua/include.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/include.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/include.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::include</methodname>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::include</methodname>
<methodparam><type>string</type><parameter>file</parameter></methodparam>
</methodsynopsis>
<para>
@@ -38,7 +38,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns result of included code, &null; for wrong arguments or &false; on
+ other failure.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/lua/lua/registercallback.xml
===================================================================
--- phpdoc/en/trunk/reference/lua/lua/registercallback.xml 2012-01-12 11:34:18 UTC (rev 322127)
+++ phpdoc/en/trunk/reference/lua/lua/registercallback.xml 2012-01-12 11:55:31 UTC (rev 322128)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>Lua::registerCallback</methodname>
+ <modifier>public</modifier>
<type>mixed</type><methodname>Lua::registerCallback</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>callback</type><parameter>function</parameter></methodparam>
</methodsynopsis>
@@ -45,7 +45,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+ Returns <varname>$this</varname>, &null; for wrong arguments or &false; on
+ other failure.
</para>
</refsect1>