public function FrxData::setContext in Forena Reports 7.4
Same name and namespace in other branches
- 6.2 FrxData.inc \FrxData::setContext()
- 7.2 FrxData.inc \FrxData::setContext()
- 7.3 FrxData.inc \FrxData::setContext()
2 calls to FrxData::setContext()
- FrxData::contextExists in ./
FrxData.inc - Determines whether an array context exists for the specified id. Returns true if the key exists othewise false
- FrxData::__construct in ./
FrxData.inc - Constructor to initialize drupal site specific settings.
File
- ./
FrxData.inc, line 272
Class
Code
public function setContext($id, &$data) {
if (is_object($data)) {
$this->data_sources[$id] = $data;
}
else {
$this->data_sources[$id] =& $data;
}
}