public function DataContext::pop in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Context/DataContext.php \Drupal\forena\Context\DataContext::pop()
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
mixed
File
- src/
Context/ DataContext.php, line 280 - DataContext.php The FrxData class holds all of the data contexts during the report rendering process. The general idea is that during the report render, data objects are pushed on the stack with the id's of the block or foreach objects that…
Class
Namespace
Drupal\forena\ContextCode
public function pop() {
$this->id = array_pop($this->id_stack);
$this->cur_context = array_pop($this->data_stack);
$this->cur_context_xml = '';
}