Class DynamicPhpExpressionValues


Used by PhpMyCellScript addons to request the interpreter to evaluate expressions dynamically.

The logic of the request process:

  1. The interpreter calls an addon instruction method with a new DynamicPhpExpressionValues object.
  2. The addon instruction method requests to evaluate expressions through the DynamicPhpExpressionValues object, then returns control to the interpreter.
  3. The interpreter evaluates the requested expressions, then calls the addon instruction method again.

Located in /PhpMyCellScript/DynamicPhpExpressionValues.php (line 18)

Method Summary
void addExpressionValue (mixed $value)
void requestExpression (string $string)
addExpressionValue (line 51)

Add an expression value.

void addExpressionValue (mixed $value)
  • mixed $value: the expression value.
getExpressionValues (line 62)

Get the expression values.

  • return: the expression values.
array getExpressionValues ()
getRequestedExpressions (line 43)

Get the requested expressions to evaluate.

  • return: the expressions to evaluate.
array getRequestedExpressions ()
requestExpression (line 35)

Used by an addon to request the interpreter to evaluate an expression.

void requestExpression (string $string)
  • string $string: The expression string.

Documentation generated on Sun, 01 Mar 2015 08:43:48 +0000 by phpDocumentor 1.4.3