class FrxContext in Forena Reports 7.3
Same name and namespace in other branches
- 7.5 FrxContext.inc \FrxContext
- 7.4 FrxContext.inc \FrxContext
Interface class for Data contexts. The basic methods are implemented as below. This is too simple for real use in Forena, but serves as a model for implementation. @author davidmetzler
Hierarchy
- class \FrxContext
Expanded class hierarchy of FrxContext
2 string references to 'FrxContext'
- forena_forena_plugins in ./
forena.module - Self register plugins with forena.
- Frx::Context in ./
Frx.inc - Factory object to get the context based on a name. IF the context doesn't exist we assume the default data context (FrxData).
File
- ./
FrxContext.inc, line 9
View source
class FrxContext {
private $values;
public function __construct() {
$this->values = array();
}
public function getValue($key, $context = '') {
$value = @$values[$key];
return $value;
}
public function setValue($key, $value, $context = '') {
$this->values[$key] = $value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FrxContext:: |
private | property | ||
FrxContext:: |
public | function | 1 | |
FrxContext:: |
public | function | 1 | |
FrxContext:: |
public | function |