public function RendererBase::removeChildren in Forena Reports 7.5
Rmove all the children of a dom node in the current report.
Parameters
DOMNode $node:
9 calls to RendererBase::removeChildren()
- FrxCrosstab::generate in src/
Renderer/ FrxCrosstab.php - Generate the template from the configuration.
- FrxEmailMerge::generate in src/
Renderer/ FrxEmailMerge.php - Generate the template from the configuration.
- FrxFieldTable::generate in src/
Renderer/ FrxFieldTable.php - Generate the template from the configuration.
- FrxMergeDocument::generate in src/
Renderer/ FrxMergeDocument.php - Generate the template from the configuration.
- FrxSection::generate in src/
Renderer/ FrxSection.php - Build the template
File
- src/
Renderer/ RendererBase.php, line 846 - FrxRenderer.php Base class for Frx custom Renderer @author davidmetzler
Class
Namespace
Drupal\forena\RendererCode
public function removeChildren(DOMNode $node) {
while (isset($node->firstChild) && $node->firstChild->nodeType < 9) {
$this
->removeChildren($node->firstChild);
$node
->removeChild($node->firstChild);
}
}