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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
&rarr; {{l/ver/class|layout/login|login}}\{{l/ver/class|caWidget}}
&rarr; {{l/ver/class|layout/login|login}}\{{l/ver/class|caWidget}}
|}
|}
* '''file''': {{l/ferreteria/code|layout/elem.php}}
* '''file''': {{l/ferreteria/code|layout/elem/1.php}}
==Methods==
==Methods==
===rendering===
===rendering===

Revision as of 18:01, 10 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->RenderBranch(); }
  • protected function RenderBranch() : string { return $this->RenderTwigs(); }
  • protected function RenderTwigs() : string { /* call twig->RenderOutput() for each twig */ }