Ferreteria/v0.5/@cls/cElement: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
|} | |} | ||
* '''file''': {{l/ferreteria/code|layout/elem.php}} | * '''file''': {{l/ferreteria/code|layout/elem.php}} | ||
==Methods== | |||
===rendering=== | |||
* <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 RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }</syntaxhighlight> |
Revision as of 00:32, 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->RenderTwigs(); }
protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }