public function FrxData::contextExists in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 FrxData.inc \FrxData::contextExists()
- 7.3 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
File
- ./
FrxData.inc, line 100
Class
Code
public function contextExists($id) {
if (array_key_exists($id, $this->data_sources)) {
return TRUE;
}
else {
return FALSE;
}
}