You are here

public function FrxMyReports::render in Forena Reports 7.4

Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.

Return value

Ambigous <string, unknown, unknown_type, text, mixed>

Overrides FrxRenderer::render

File

renderers/FrxMyReports.inc, line 6

Class

FrxMyReports

Code

public function render() {
  $variables = $this
    ->mergedAttributes();
  $category = isset($variables['category']) ? $variables['category'] : '';
  if (user_access('list reports')) {
    return forena_user_reports($category);
  }
}