MediaWiki REL1_34
Scribunto_LuaSandboxCallback Class Reference

Public Member Functions

 __call ( $funcName, $args)
 We use __call with a variable function name so that LuaSandbox will be able to return a meaningful function name in profiling data.
 
 __construct ( $callback)
 

Protected Attributes

callable $callback
 

Detailed Description

Definition at line 371 of file Engine.php.

Constructor & Destructor Documentation

◆ __construct()

Scribunto_LuaSandboxCallback::__construct ( $callback)

Definition at line 378 of file Engine.php.

References $callback.

Member Function Documentation

◆ __call()

Scribunto_LuaSandboxCallback::__call ( $funcName,
$args )

We use __call with a variable function name so that LuaSandbox will be able to return a meaningful function name in profiling data.

Parameters
string$funcName
array$args
Returns
mixed

Definition at line 389 of file Engine.php.

References Scribunto_LuaError\getLuaMessage().

Member Data Documentation

◆ $callback

callable Scribunto_LuaSandboxCallback::$callback
protected

Definition at line 376 of file Engine.php.

Referenced by __construct().


The documentation for this class was generated from the following file: