public function FrxSQLQueryBuilder::block in Forena Reports 7.5
Same name and namespace in other branches
- 7.3 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::block()
- 7.4 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::block()
Parameters
unknown_type $block:
Return value
File
- ./
FrxSQLQueryBuilder.inc, line 31 - 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
public function block($block) {
list($provider, $block_name) = @explode('/', $block, 2);
$this->provider = $provider;
$this->block_name = $block_name;
$this->repository = Frx::RepoMan()
->repository($provider);
$this
->loadBlock();
return $this;
}