You are here

public function FrxRenderer::replacedAttributes in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.3 FrxRenderer.inc \FrxRenderer::replacedAttributes()

Gives the token replaced attributes of a node.

Return value

multitype:NULL Ambigous <unknown_type, text, mixed, string, unknown>

3 calls to FrxRenderer::replacedAttributes()
FrxAjax::render in renderers/FrxAjax.inc
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
FrxCrosstab::render in renderers/FrxCrosstab.inc
Render the crosstab
FrxParameterForm::render in renderers/FrxParameterForm.inc
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.

File

renderers/FrxRenderer.inc, line 489
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;
}