You are here

public function FrxRenderer::mergedAttributes in Forena Reports 7.2

Same name and namespace in other branches
  1. 6.2 FrxRenderer.inc \FrxRenderer::mergedAttributes()
  2. 7.3 FrxRenderer.inc \FrxRenderer::mergedAttributes()
  3. 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;
}