You are here

public function RendererBase::replacedAttributes in Forena Reports 7.5

Gives the token replaced attributes of a node.

Return value

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

2 calls to RendererBase::replacedAttributes()
FrxCrosstab::render in src/Renderer/FrxCrosstab.php
Render the crosstab
FrxParameterForm::render in src/Renderer/FrxParameterForm.php
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.

File

src/Renderer/RendererBase.php, line 498
FrxRenderer.php Base class for Frx custom Renderer @author davidmetzler

Class

RendererBase

Namespace

Drupal\forena\Renderer

Code

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