You are here

function FrxDataSource::loadBlock in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.3 FrxDataSource.inc \FrxDataSource::loadBlock()

Load blcok data from filesystem

Parameters

$block_name:

1 call to FrxDataSource::loadBlock()
FrxDataSource::getSQLInclude in ./FrxDataSource.inc

File

./FrxDataSource.inc, line 104
Class that defines default methods for access control in an FrxDataSource

Class

FrxDataSource
@file Class that defines default methods for access control in an FrxDataSource

Code

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