Ferreteria/v0.5/@cls/cElement
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
tExecutableTree | → cElement |
→ caContentHeader |
- file: layout/elem/1.php
Methods
events
General event-handling is defined by tExecutableTree.
event: rendering
public function RenderOutput() : string { return $this->RenderValue(); }
protected function RenderValue() : string { return $this->RenderBranch(); }
protected function RenderBranch() : string { /*...*/ }
:if $this->ShouldDoTwigs()
, then:return $this->RenderTwigs();
- else return empty string
protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }
protected function ShouldDoTwigs() : bool { return TRUE; }