public function RendererBase::extract in Forena Reports 8
Extract a configuration var removing it from the array
Parameters
string $key attribute key for the data being extracted.:
array $config:
Return value
string Value of setting.
3 calls to RendererBase::extract()
- FrxAjax::render in src/
FrxPlugin/ Renderer/ FrxAjax.php - Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
- FrxSVGGraph::prepareGraph in src/
FrxPlugin/ Renderer/ FrxSVGGraph.php - RendererBase::blockDiv in src/
FrxPlugin/ Renderer/ RendererBase.php - Generate generic div tag.
File
- src/
FrxPlugin/ Renderer/ RendererBase.php, line 737 - FrxRenderer.php Base class for FrxAPI custom Renderer @author davidmetzler
Class
- RendererBase
- Crosstab Renderer
Namespace
Drupal\forena\FrxPlugin\RendererCode
public function extract($key, &$config) {
$value = '';
if (isset($config[$key])) {
$value = $config[$key];
unset($config[$key]);
}
return $value;
}