function ctools_math_expr_stack::push

Push the value onto the stack.

Parameters

mixed $val:

File

includes/math-expr.inc, line 846

Class

ctools_math_expr_stack
Class implementing a simple stack structure, used by ctools_math_expr.

Code

public function push($val) {
    $this->stack[$this->count] = $val;
    $this->count++;
}