Ferreteria/v0.5/@cls/cElement: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==Methods== | ==Methods== | ||
===rendering=== | ===rendering=== | ||
* <syntaxhighlight lang=php inline>public function RenderOutput() : string { return $this->RenderValue(); }</syntaxhighlight> | * <syntaxhighlight lang=php inline>public function RenderOutput() : string { return $this->RenderValue(); }</syntaxhighlight> | ||
* <syntaxhighlight lang=php inline>protected function RenderValue() : string { return $this->RenderTwigs(); }</syntaxhighlight> | * <syntaxhighlight lang=php inline>protected function RenderValue() : string { return $this->RenderBranch(); }</syntaxhighlight> | ||
* <syntaxhighlight lang=php inline>protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }</syntaxhighlight> | * <syntaxhighlight lang=php inline>protected function RenderBranch() : string { return $this->RenderTwigs(); }</syntaxhighlight> | ||
* <syntaxhighlight lang=php inline>protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }</syntaxhighlight> |
Revision as of 15:52, 8 July 2022
tExecutableTree | → cElement |
→ caContentHeader |
- file: layout/elem.php
Methods
rendering
public function RenderOutput() : string { return $this->RenderValue(); }
protected function RenderValue() : string { return $this->RenderBranch(); }
protected function RenderBranch() : string { return $this->RenderTwigs(); }
protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }