public function FrxRepoMan::load_repository in Forena Reports 7.3
Same name and namespace in other branches
- 7.4 FrxRepoMan.inc \FrxRepoMan::load_repository()
1 call to FrxRepoMan::load_repository()
- FrxRepoMan::repository in ./FrxRepoMan.inc
- Load repository
File
- ./FrxRepoMan.inc, line 94
- FrxRepoMan.inc
Enter description here ...
@author davidmetzler
Class
- FrxRepoMan
- @file FrxRepoMan.inc
Enter description here ...
@author davidmetzler
Code
public function load_repository(&$repo, $name) {
$path = @$repo['path'];
$conf = array();
if (file_exists($path . '/settings.php')) {
include $path . '/settings.php';
}
$repo = array_merge($conf, $repo);
if (!isset($repos['data']) || !is_object($repo['data'])) {
$repo['data'] = $this
->load_provider($repo, $path, $name);
}
}