Ferreteria/v0.5/layout/event/onrender: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | layout‎ | event
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{fmt/title|'''{{l/ver|layout}}\{{l/ver|layout/event|event}}''' subsystem: <code>OnRender()</code> method}}
{{fmt/title|'''{{l/ver|layout}}\{{l/ver|layout/event|event}}''' subsystem: <code>OnRender()</code> method}}
{{fmt/warning|'''NOTE''': This documentation is obsolete and needs updating.}}
==Definition==
* {{l/ver/class|tExecutableTwig}} defines it as a stub, so podling overrides can always call parent::OnRender() to ensure any parental dependencies are met.
* {{l/ver/class|tRenderableTwig}} defines it as <syntaxhighlight lang=php inline>oe->Append($this->FetchRendered());</syntaxhighlight>
{{fmt/warning|'''NOTE''': The remainder of this documentation is obsolete and needs updating.}}
{| style="border: solid 1px grey; background: #eef;"
{| style="border: solid 1px grey; background: #eef;"
|-
|-

Latest revision as of 23:51, 21 July 2022

layout\event subsystem: OnRender() method

Definition

  • tExecutableTwig defines it as a stub, so podling overrides can always call parent::OnRender() to ensure any parental dependencies are met.
  • tRenderableTwig defines it as oe->Append($this->FetchRendered());
NOTE: The remainder of this documentation is obsolete and needs updating.
cElement

caNavElementcaLinkElementferret\cMenuLinkferret\cArrayLinkferret\caDynamicLinkferret\cDropinLink
caPageContent
cSectionHeader
caWidget
caTag

About

This method is called by objects of the cEventNodeRender class. Its job is to funnel the object's output (typically from RenderOutput()) into the given Event object ($oe) via $oe->Append().

Specs