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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
|}
|}
* '''File''': {{l/ferreteria/code|layout/page/html/tag/container.php}}
* '''File''': {{l/ferreteria/code|layout/page/html/tag/container.php}}
==Methods==
===rendering===
* <code>OnRender()</code> comes from {{l/ver/class|caTag}}
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderValue()</code> overrides {{l/ver/class|cElement}}:
** <syntaxhighlight lang=php inline>protected function RenderValue() : string { return $this->TagData()->Render(); }</syntaxhighlight>
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}

Revision as of 00:44, 8 July 2022

Ferreteria class ferret\layout\html\tag\caContainer
caClosableAttribs caContainer

cBody
cHeader
cHtml

Methods

rendering

  • OnRender() comes from caTag
  • RenderOutput() comes from cElement
  • RenderValue() overrides cElement:
    • protected function RenderValue() : string { return $this->TagData()->Render(); }
  • RenderTwigs() comes from cElement