You are here

public function DataManager::listRepos in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/DataManager.php \Drupal\forena\DataManager::listRepos()

File

src/DataManager.php, line 408
DataManager.inc Enter description here ... @author davidmetzler

Class

DataManager

Namespace

Drupal\forena

Code

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