You are here

public function Context::getValue in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/Context/Context.php \Drupal\forena\Context\Context::getValue()
1 call to Context::getValue()
Context::__get in src/Context/Context.php
1 method overrides Context::getValue()
DataContext::getValue in src/Context/DataContext.php
Get the value from the data. This is used by token_replace method to extract the data based on the path provided.

File

src/Context/Context.php, line 17

Class

Context

Namespace

Drupal\forena\Context

Code

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