public function FrxTemplate::extract in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 templates/FrxTemplate.inc \FrxTemplate::extract()
- 7.3 templates/FrxTemplate.inc \FrxTemplate::extract()
Extract a configuration var removing it from the array
Parameters
string $key attribute key for the data being extracted.:
array $config:
4 calls to FrxTemplate::extract()
- FrxEmailMerge::generate in templates/
FrxEmailMerge.inc - * * Enter description here ... *
- FrxGraphTemplate::generate in templates/
FrxGraphTemplate.inc - * * Enter description here ... *
- FrxRptInclude::generate in templates/
FrxRptInclude.inc - * * Enter description here ... *
- FrxTemplate::blockDiv in templates/
FrxTemplate.inc - Generate generic div tag.
File
- templates/
FrxTemplate.inc, line 126
Class
Code
public function extract($key, &$config) {
$value = '';
if (isset($config[$key])) {
$value = $config[$key];
unset($config[$key]);
}
return $value;
}