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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
==Methods==
==Methods==
===rendering===
===rendering===
* <code>OnRender()</code>:
* <code>OnRender()</code> (new):
** <syntaxhighlight lang=php inline>public function OnRender(F\evint\caEvent $oe) : void { $oe->Append($this->RenderOutput()); }</syntaxhighlight>
** tells Event object not to render twigs (we're handling that internally, in this class)
** calls <code>RenderOutput()</code>
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderValue()</code> comes from {{l/ver/class|cElement}}
* <code>RenderValue()</code> comes from {{l/ver/class|cElement}}
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}

Revision as of 12:44, 8 July 2022

Ferreteria class ferret\layout\html\caTag
cElement caTag

→ * \ tag \ caClosable
→ * \ tag \ caUnclosed

Methods

rendering

  • OnRender() (new):
    • tells Event object not to render twigs (we're handling that internally, in this class)
    • calls RenderOutput()
  • RenderOutput() comes from cElement
  • RenderValue() comes from cElement
  • RenderTwigs() comes from cElement