You are here

public function FrxTemplate::idFromBlock in Forena Reports 6.2

Same name and namespace in other branches
  1. 7.2 templates/FrxTemplate.inc \FrxTemplate::idFromBlock()
  2. 7.3 templates/FrxTemplate.inc \FrxTemplate::idFromBlock()
2 calls to FrxTemplate::idFromBlock()
FrxTable::generate in templates/FrxTable.inc
* * Enter description here ... *
FrxTemplate::blockDiv in templates/FrxTemplate.inc
Generate generic div tag.

File

templates/FrxTemplate.inc, line 214

Class

FrxTemplate

Code

public function idFromBlock($block) {
  $parts = explode('/', $block);
  $id = str_replace('.', '_', array_pop($parts));
  return $id;
}