public function FrxRenderer::mergedAttributes in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 FrxRenderer.inc \FrxRenderer::mergedAttributes()
- 7.3 FrxRenderer.inc \FrxRenderer::mergedAttributes()
- 7.4 renderers/FrxRenderer.inc \FrxRenderer::mergedAttributes()
* Standard php array containing merged attributes * Enter description here ...
2 calls to FrxRenderer::mergedAttributes()
- FrxChart::render in plugins/
FrxChart.inc - FrxInclude::render in plugins/
FrxInclude.inc
File
- ./
FrxRenderer.inc, line 56
Class
- FrxRenderer
- Base class for Frx custom renderers @author davidmetzler
Code
public function mergedAttributes() {
$attributes = array();
if (isset($this->frxAttributes)) {
foreach ($this->frxAttributes as $key => $data) {
$attributes[$key] = (string) $data;
}
}
if (isset($this->htmlAttributes)) {
foreach ($this->htmlAttributes as $key => $data) {
$attributes[$key] = (string) $data;
}
}
return $attributes;
}