class FrxFiles in Forena Reports 7.4
Same name and namespace in other branches
- 6.2 plugins/FrxFiles.inc \FrxFiles
- 6 plugins/FrxFiles.inc \FrxFiles
- 7 plugins/FrxFiles.inc \FrxFiles
- 7.2 plugins/FrxFiles.inc \FrxFiles
- 7.3 plugins/FrxFiles.inc \FrxFiles
@file File class for loading raw xml files as Sample data This class is used as a reference implementation of a data engine, but is also used to provide sample data files and reports. @author metzlerd
Hierarchy
- class \FrxDataSource
- class \FrxFiles
Expanded class hierarchy of FrxFiles
2 string references to 'FrxFiles'
- forena_forena_plugins in ./
forena.module - Self register plugins with forena.
- settings.php in repos/
forena_help/ settings.php
File
- plugins/
FrxFiles.inc, line 11 - File class for loading raw xml files as Sample data This class is used as a reference implementation of a data engine, but is also used to provide sample data files and reports. @author metzlerd
View source
class FrxFiles extends FrxDataSource {
private $path;
public function __construct($conf, $repos_path, $name) {
parent::__construct($conf, $repos_path, $name);
$this->comment_prefix = '<!--';
$this->comment_suffix = '-->';
$this->block_ext = 'xml';
list($protocol, $path) = explode('://', $conf['uri'], 2);
if (!$path) {
$path = $protocol;
}
$this->path = $path;
}
public function getName() {
return 'XML File';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | property | 1 | |
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
protected | property | ||
FrxDataSource:: |
public | property | ||
FrxDataSource:: |
public | function | Implements the basic default security check of calling an access method. | |
FrxDataSource:: |
public | function | Build the SQL clause based on builder data. | |
FrxDataSource:: |
public | function | 1 | |
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | Find all the blocks matching a provided search string | |
FrxDataSource:: |
function | Load blcok data from filesystem | ||
FrxDataSource:: |
protected | function | ||
FrxDataSource:: |
public | function | Perform generic type conversion based on attributes. | |
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | 5 | |
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | Method to return an array of tables that start with the string indicated in $str | 5 |
FrxDataSource:: |
public | function | ||
FrxDataSource:: |
public | function | Dummy method for returning sql data | 5 |
FrxDataSource:: |
public | function | Load tokens from block source | |
FrxDataSource:: |
public | function | Implement static XML functioin | |
FrxFiles:: |
private | property | ||
FrxFiles:: |
public | function | ||
FrxFiles:: |
public | function |
Overrides FrxDataSource:: |