You are here

public function FrxRepoMan::listRepos in Forena Reports 7.4

File

./FrxRepoMan.inc, line 383
FrxRepoMan.inc Enter description here ... @author davidmetzler

Class

FrxRepoMan
@file FrxRepoMan.inc Enter description here ... @author davidmetzler

Code

public function listRepos() {
  $r = array();
  foreach ($this->repositories as $k => $repos) {
    if (user_access("access {$k} data")) {
      $r[$k] = $repos['title'];
    }
  }
  asort($r);
  return $r;
}