You are here

public function FrxContext::getValue in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.5 FrxContext.inc \FrxContext::getValue()
  2. 7.4 FrxContext.inc \FrxContext::getValue()
1 method overrides FrxContext::getValue()
FrxData::getValue in ./FrxData.inc
Get the value from the data. This is used by token_replace method to extract the data based on the path provided.

File

./FrxContext.inc, line 16

Class

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

Code

public function getValue($key, $context = '') {
  $value = @$values[$key];
  return $value;
}