You are here

public function FrxMyReports::render in Forena Reports 7.5

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 RendererBase::render

File

src/Renderer/FrxMyReports.php, line 7

Class

FrxMyReports

Namespace

Drupal\forena\Renderer

Code

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