1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Lua" namespace="" name="Lua">
<constant name="LUA_VERSION" value="Lua 5.1.4">
<docblock>
<var type="string"/>
</docblock>
</constant>
<method name="assign" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Assign a PHP variable to Lua"/>
<return type="mixed"/>
</docblock>
<parameter name="name" optional="false" byreference="false" type="string"/>
<parameter name="value" optional="false" byreference="false" type="string"/>
</method>
<method name="call" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Call Lua functions"/>
<return type="mixed"/>
</docblock>
<parameter name="lua_func" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="args" optional="true" byreference="false" type="object" class="array"/>
<parameter name="use_self" optional="true" byreference="false" type="int"/>
</method>
<method name="__call" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Call Lua functions"/>
<return type="mixed"/>
</docblock>
<parameter name="lua_func" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="args" optional="true" byreference="false" type="object" class="array"/>
<parameter name="use_self" optional="true" byreference="false" type="int"/>
</method>
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Lua constructor"/>
<return type="void"/>
</docblock>
<parameter name="lua_script_file" optional="false" byreference="false" type="string"/>
</constructor>
<method name="eval" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Evaluate a string as Lua code"/>
<return type="mixed"/>
</docblock>
<parameter name="statements" optional="false" byreference="false" type="string"/>
</method>
<method name="getVersion" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="The getversion purpose"/>
<return type="string"/>
</docblock>
</method>
<method name="include" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Parse a Lua script file"/>
<return type="mixed"/>
</docblock>
<parameter name="file" optional="false" byreference="false" type="string"/>
</method>
<method name="registerCallback" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Register a PHP function to Lua"/>
<return type="mixed"/>
</docblock>
<parameter name="name" optional="false" byreference="false" type="string"/>
<parameter name="function" optional="false" byreference="false" type="object" class="callable"/>
</method>
</class>
|