MediaWiki REL1_34
LuaInterpreter.php
Go to the documentation of this file.
1<?php
2
12 abstract public function loadString( $text, $chunkName );
13
21 abstract public function callFunction( $func, ...$args );
22
30 abstract public function wrapPhpFunction( $callable );
31
38 abstract public function isLuaFunction( $object );
39
49 abstract public function registerLibrary( $name, array $functions );
50
55 abstract public function pauseUsageTimer();
56
61 abstract public function unpauseUsageTimer();
62}
63
66
if( $line===false) $args
Definition cdb.php:64
MediaWiki exception.
pauseUsageTimer()
Pause CPU usage and limits.
registerLibrary( $name, array $functions)
Register a library of functions.
loadString( $text, $chunkName)
Load a string.
isLuaFunction( $object)
Test whether an object is a Lua function.
unpauseUsageTimer()
Unpause CPU usage and limits.
wrapPhpFunction( $callable)
Wrap a PHP callable as a Lua function, which can be passed back into Lua.
callFunction( $func,... $args)
Call a Lua function.