mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322128 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b71ce31dcc
commit
4aaf5b8ba0
6 changed files with 32 additions and 18 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue