public function FrxRepoMan::repository in Forena Reports 7.3
Same name and namespace in other branches
- 7.4 FrxRepoMan.inc \FrxRepoMan::repository()
Load repository
Parameters
$name Name of the repository:
Return value
7 calls to FrxRepoMan::repository()
- FrxRepoMan::buildSQL in ./
FrxRepoMan.inc - Build an SQL statement from the data provider
- FrxRepoMan::data in ./
FrxRepoMan.inc - Extract the data by running a block
- FrxRepoMan::deleteBlock in ./
FrxRepoMan.inc - Save a data block ...
- FrxRepoMan::loadBlock in ./
FrxRepoMan.inc - Load Block Enter description here ...
- FrxRepoMan::saveBlock in ./
FrxRepoMan.inc - Save a data block ...
File
- ./
FrxRepoMan.inc, line 80 - FrxRepoMan.inc Enter description here ... @author davidmetzler
Class
- FrxRepoMan
- @file FrxRepoMan.inc Enter description here ... @author davidmetzler
Code
public function repository($name) {
// Now determine if the object exists
if (isset($this->repositories[$name])) {
if (@(!is_object($this->repositories[$name]['data']))) {
$this
->load_repository($this->repositories[$name], $name);
}
return $this->repositories[$name]['data'];
}
else {
Frx::error('Undefined repository' . $name, "Undefined Repository: {$name} ");
}
}