Ferreteria/v0.5/@cls/cElement: Difference between revisions

From Woozle Writes Code
< 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

Ferreteria class ferret\layout\cElement
tExecutableTree cElement

caContentHeader
cNavElement
caPageContent
cSectionHeader
html\caTag
caWebPage
login\caWidget

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 */ }