You are here

protected function FrxSQLQueryBuilder::loadblock in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.5 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::loadblock()
  2. 7.3 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::loadblock()

Return value

FrxSQLQueryBuilder

File

./FrxSQLQueryBuilder.inc, line 43
FrxSQLQueryBuilder.inc FrxSQLQuery SQL Builder This class defines a common query builder that is used to make SQL safe queries based on named column filteres. @author metzlerd

Class

FrxSQLQueryBuilder
@file FrxSQLQueryBuilder.inc FrxSQLQuery SQL Builder This class defines a common query builder that is used to make SQL safe queries based on named column filteres. @author metzlerd

Code

protected function loadblock() {
  if ($this->repository && $this->block_name) {
    $this->block = $this->repository
      ->loadBlock($This->block_name);
  }
  return $this;
}