You are here

public function FrxSyntaxEngine::pop_data in Forena Reports 7

Same name and namespace in other branches
  1. 6 FrxSyntaxEngine.inc \FrxSyntaxEngine::pop_data()

Remove data from the data stack. This will make data unavaiable when we leave the context of the current nested reports.

Parameters

$id:

Return value

unknown_type

1 call to FrxSyntaxEngine::pop_data()
FrxSyntaxEngine::replace in ./FrxSyntaxEngine.inc

File

./FrxSyntaxEngine.inc, line 56
FrXSytnaxEngine defines how regular expression procesing/token substitution takes place. It includes support for passing in a formatter oobject that will escape strings properly before substituting them.

Class

FrxSyntaxEngine

Code

public function pop_data($id = '') {
  array_pop($this->data_stack);
  if ($id) {
    unset($this->data_stack[$id]);
  }
}