public function FrxData::contextExists in Forena Reports 7.3
Same name and namespace in other branches
- 6.2 FrxData.inc \FrxData::contextExists()
- 7.2 FrxData.inc \FrxData::contextExists()
- 7.4 FrxData.inc \FrxData::contextExists()
Determines whether an array context exists for the specified id. Returns true if the key exists othewise false
Parameters
string $id:
Return value
boolean
1 call to FrxData::contextExists()
- FrxData::getValue in ./
FrxData.inc - Get the value from the data. This is used by token_replace method to extract the data based on the path provided.
File
- ./
FrxData.inc, line 197
Class
Code
public function contextExists($id) {
if (array_key_exists($id, $this->data_sources)) {
return TRUE;
}
else {
return FALSE;
}
}