You are here

public function FrxRenderer::replacedAttributes in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 renderers/FrxRenderer.inc \FrxRenderer::replacedAttributes()
1 call to FrxRenderer::replacedAttributes()
FrxParameterForm::render in renderers/FrxParameterForm.inc

File

./FrxRenderer.inc, line 100
FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Class

FrxRenderer
@file FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Code

public function replacedAttributes() {
  $attributes = array();
  if (isset($this->frxAttributes)) {
    foreach ($this->frxAttributes as $key => $data) {
      $attributes[$key] = $this->teng
        ->replace((string) $data, TRUE);
    }
  }
  if (isset($this->htmlAttributes)) {
    foreach ($this->htmlAttributes as $key => $data) {
      $attributes[$key] = $this->teng
        ->replace((string) $data, TRUE);
    }
  }
  return $attributes;
}