You are here

function forena_report_path in Forena Reports 6

Same name and namespace in other branches
  1. 8 forena.module \forena_report_path()
  2. 6.2 forena.module \forena_report_path()
  3. 7.5 forena.module \forena_report_path()
  4. 7 forena.module \forena_report_path()
  5. 7.2 forena.module \forena_report_path()
  6. 7.3 forena.module \forena_report_path()
  7. 7.4 forena.module \forena_report_path()

Load the report repository path

Return value

unknown

11 calls to forena_report_path()
forena_db_sync in ./forena.admin.inc
Syncronize the data
forena_delete_report in ./forena.admin.inc
Remove the report from the database and file system.
forena_get_report in ./forena.common.inc
Accepts the name of a file
forena_get_report_editor in ./forena.admin.inc
Accepts the name of a file
forena_layout_form_submit in ./forena.admin.inc
builds a string of the xml document, submits it to forena_save_report.

... See full list

File

./forena.module, line 570

Code

function forena_report_path() {
  $report_path = variable_get('forena_report_repos', '');
  if (!$report_path) {
    $report_path = drupal_get_path('module', 'forena') . '/repos/reports';
  }
  return trim($report_path, '/');
}