public function FrxSyntaxEngine::push_data in Forena Reports 6
Same name and namespace in other branches
- 7 FrxSyntaxEngine.inc \FrxSyntaxEngine::push_data()
Push a data context onto the data stacks to make sure that we can address these using an appropriate syntax. I think we don't need data_stack but i'm holding it there in case we develop a "relative" path syntax.
Parameters
$data:
$id:
Return value
unknown_type
1 call to FrxSyntaxEngine::push_data()
File
- ./
FrxSyntaxEngine.inc, line 42 - 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
Code
public function push_data($data, $id = '') {
$this->data_stack[] = $data;
if ($id) {
$this->data_sources[$id] = $data;
}
}