class FrxQueryBuilder in Forena Reports 7.4
Same name and namespace in other branches
- 7.5 builders/FrxQueryBuilder.inc \FrxQueryBuilder
@file FrxQueryBuilder.inc Base query builder class used for creating data blocks. Classes that extend this one can be used to create data blocks @author metzlerd
Hierarchy
- class \FrxQueryBuilder
Expanded class hierarchy of FrxQueryBuilder
2 string references to 'FrxQueryBuilder'
- forena_query_editor in ./
forena_query.inc - Basic SQL Editor form hook implementation
- forena_query_forena_query_builders in ./
forena_query.module
File
- builders/
FrxQueryBuilder.inc, line 9 - FrxQueryBuilder.inc Base query builder class used for creating data blocks. Classes that extend this one can be used to create data blocks @author metzlerd
View source
class FrxQueryBuilder {
// The supported plugins for this type
public $supportedPlugins = array(
'FrxDrupal',
'FrxOracle',
'FrxMSSQL',
'FrxPDO',
'FrxPostgres',
);
public $name = 'SQL Statement';
public $type = 'sql';
public function initBlock($block) {
}
public function scrapeConfig() {
return $config();
}
public function configForm($config) {
$form['file'] = array(
'#type' => 'textarea',
'#title' => t('Source'),
'#default_value' => @$config['file'],
);
return $form;
}
/**
* Returns a set of errors keyed by the form elements that
* Can also be used to alter block configuration.
* @param $config
* @param $form_state
*/
public function configValidate(&$config) {
}
public function generate($config) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FrxQueryBuilder:: |
public | property | ||
FrxQueryBuilder:: |
public | property | ||
FrxQueryBuilder:: |
public | property | ||
FrxQueryBuilder:: |
public | function | ||
FrxQueryBuilder:: |
public | function | Returns a set of errors keyed by the form elements that Can also be used to alter block configuration. | |
FrxQueryBuilder:: |
public | function | ||
FrxQueryBuilder:: |
public | function | ||
FrxQueryBuilder:: |
public | function |