You are here

public function FrxEditor::foreachLinks in Forena Reports 7.4

Add foreach section links to blocks.

Parameters

unknown $block_name:

string $id:

string $context:

Return value

string

File

./FrxEditor.inc, line 1081
FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

FrxEditor
@file FrxEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Code

public function foreachLinks($block_name, $id = '', $context = '') {
  $o = '';
  $report_name = $this->report_name;

  // Add the block or ID link
  $o .= '<div class="forena-edit-links">' . $this
    ->l_icon("reports/{$report_name}/edit/select-data/add-data/{$id}", 'plus.svg', 'Add Detail', null, t("Data")) . "</div>";
  return $o;
}