Commit 24b2b27f authored by metzlerd's avatar metzlerd
Browse files

added missing file

parent bbd08f2d
<?php
/**
* 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
*
*/
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;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment