Пример #1
0
 public function __construct($LuaScriptFile = null)
 {
     if ($LuaScriptFile !== null) {
         parent::__construct($LuaScriptFile);
     } else {
         parent::__construct();
     }
     $Functions = array('var_dump' => 'var_dump', 'php_load_function' => array($this, 'php_load_function'), 'php_load_class' => array($this, 'php_load_class'), 'include' => array($this, 'include'));
     $this->RegisterCallbacks($Functions);
 }