class SecureEvalClass

Properties

array $allowedCalls

Allowed PHP Functions

array $return

Access to all evaluated Variables in your script

array $parseErrors

Parse Errors

Methods

__construct($scriptText)

No description

void
allowHarmlessCalls()

Allow harmless php functions to be used e.g. explode,implode,date,time,round,trunc,rand,ceil,floor,srand,strtolower,strtoupper,substr

string
execute(array $parameters = array())

Execute the script

bool
parse()

Check for Parse Errors

Details

at line 35
__construct($scriptText)

No description

Parameters

$scriptText

at line 46
void allowHarmlessCalls()

Allow harmless php functions to be used e.g. explode,implode,date,time,round,trunc,rand,ceil,floor,srand,strtolower,strtoupper,substr

Return Value

void

at line 114
string execute(array $parameters = array())

Execute the script

Parameters

array $parameters

Return Value

string

at line 57
bool parse()

Check for Parse Errors

Return Value

bool

true - contains no errors