TScript
in package
Base class for scripts
Tags
Table of Contents
Methods
- create() : mixed
- Create a script
- importFromFile() : mixed
- Import script
Methods
create()
Create a script
public
static create(mixed $code[, mixed $show = TRUE ][, mixed $timeout = null ]) : mixed
Parameters
- $code : mixed
-
source code
- $show : mixed = TRUE
- $timeout : mixed = null
importFromFile()
Import script
public
static importFromFile(mixed $script[, mixed $show = TRUE ][, mixed $timeout = null ]) : mixed
Parameters
- $script : mixed
-
Script file name
- $show : mixed = TRUE
- $timeout : mixed = null