Ferreteria/v0.5/layout/event/onrender: Difference between revisions
< Ferreteria | v0.5 | layout | event
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
* Form: <syntaxhighlight lang=php inline>public function OnRender(cEventNodeRender $oe) : void</syntaxhighlight> | * Form: <syntaxhighlight lang=php inline>public function OnRender(cEventNodeRender $oe) : void</syntaxhighlight> | ||
* Classes: | * Classes: | ||
** {{l/ver/class|caNavElement}}: $this->{{l/ver/meth|layout|RenderOutput}} | ** {{l/ver/class|caNavElement}}: $this->{{l/ver/meth|layout|RenderOutput}} | ||
** {{l/ver/class|caPageContent}}: stashed content + $this->{{l/ver/meth|layout|RenderOutput}} + value element from ArgPod | ** {{l/ver/class|caPageContent}}: stashed content + $this->{{l/ver/meth|layout|RenderOutput}} + value element from ArgPod |
Revision as of 00:52, 18 July 2022
layout system:
OnRender() method |
cElement |
→ caNavElement
→ caLinkElement
→ ferret\cMenuLink
→ ferret\cArrayLink
→ ferret\caDynamicLink
→ ferret\cDropinLink |
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
- Form:
public function OnRender(cEventNodeRender $oe) : void
- Classes:
- caNavElement: $this->RenderOutput()
- caPageContent: stashed content + $this->RenderOutput() + value element from ArgPod
- cSectionHeader: $this->RenderTitle(), $this->RenderMenu()
- \cDropinLink: $this->AddPageRendering() - expect this to change (2022-07-13)
- login\caWidget: specialized output process