You are here

function FrxDataSource::loadBlock in Forena Reports 7.5

Load blcok data from filesystem

Parameters

$block_name:

1 call to FrxDataSource::loadBlock()
FrxDataSource::getSQLInclude in src/Driver/FrxDataSource.php

File

src/Driver/FrxDataSource.php, line 106
Class that defines default methods for access control in an FrxDataSource

Class

FrxDataSource

Namespace

Drupal\forena\Driver

Code

function loadBlock($block_name, $include = FALSE) {
  if ($include) {
    $this->block_name = $block_name;
  }
  $block = $this
    ->loadBlockFromFile($block_name);
  return $block;
}