Ferreteria/v0.5/layout/event/renderoutput: Difference between revisions
< Ferreteria | v0.5 | layout | event
Jump to navigation
Jump to search
m (Woozle moved page Ferreteria/v0.5/layout/renderoutput to Ferreteria/v0.5/layout/event/renderoutput: most of this page is actually about the event subsystem) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{fmt/title|''' | {{fmt/title|'''{{l/ver|layout}}\{{l/ver|layout/event|event}}''' subsystem: <code>RenderOutput()</code> method}} | ||
{| style="border: solid 1px grey; background: #eef;" | |||
|- | |||
| | |||
'''{{l/ver/class|cElement}}''' | |||
| | |||
→ '''{{l/ver/class|caNavElement}}''' | |||
→ ''{{l/ver/class|caLinkElement}}'' | |||
→ ''\[[../|ferret]]\{{l/ver/class|cMenuLink}}'' | |||
→ ''\[[../|ferret]]\{{l/ver/class|cArrayLink}}'' | |||
→ ''\[[../|ferret]]\{{l/ver/class|caDynamicLink}}'' | |||
→ \[[../|ferret]]\'''{{l/ver/class|cDropinLink}}''' | |||
<br> | |||
→ ''.\{{l/ver/class|layout/html|html}}\{{l/ver/class|caContentHeader}}'' | |||
→ '''.\{{l/ver/class|layout/html|html}}\{{l/ver/class|cLoginContentHeader}}''' | |||
{| style="border: solid 1px grey; background: #ddf;" | |||
|- | |||
| | |||
→ ''.\{{l/ver/class|layout/html|html}}\{{l/ver/class|caTag}}'' | |||
| | |||
→ '''.\{{l/ver/class|layout/html|html}}\{{l/ver/class|layout/html/tag|tag}}\{{l/ver/class|caUnclosed}}'''<br> | |||
→ '''.\{{l/ver/class|layout/html|html}}\{{l/ver/class|layout/html/tag|tag}}\{{l/ver/class|caClosable}}''' | |||
|} | |||
|} | |||
==About== | ==About== | ||
This method is at the top of the rendering hierarchy for any given element object. Its job is to assemble all the bits of output for which it might be responsible, | This method is at the top of the rendering hierarchy for any given element object. Its job is to ultimately to assemble all the bits of output for which it might be responsible, but this is generally done by invoking {{l/ver/meth|layout/event|RenderValue}} and adding any necessary formatting or conditions. | ||
==Specs== | ==Specs== | ||
* Form: <syntaxhighlight lang=php inline>public function RenderOutput() : string</syntaxhighlight> | * Form: <syntaxhighlight lang=php inline>public function RenderOutput() : string</syntaxhighlight> | ||
* Classes: | * Classes: | ||
** {{l/ver/class|cElement}}: returns {{l/ver/meth|layout|RenderValue}} | ** {{l/ver/class|cElement}}: returns {{l/ver/meth|layout/event|RenderValue}} | ||
** {{l/ver/class|caNavElement}}: if {{l/ver/meth|layout|GetShouldDisplay}}, then returns {{l/ver/meth|layout|RenderDisplay}}. | ** {{l/ver/class|caNavElement}}: if {{l/ver/meth|layout/event|GetShouldDisplay}}, then returns {{l/ver/meth|layout/event|RenderDisplay}}. | ||
** \[[../|ferret]]\'''{{l/ver/class|cDropinLink}} | |||
** html\{{l/ver/class|cLoginContentHeader}} | ** html\{{l/ver/class|cLoginContentHeader}} | ||
** html\tag\{{l/ver/class|caClosable}}: assembles output from {{l/ver/meth|layout|RenderValue}}, {{l/ver/meth|layout/html/tag|GetTagOpen}}, and {{l/ver/meth|layout/html/tag|GetTagName}} | ** html\tag\{{l/ver/class|caClosable}}: assembles output from {{l/ver/meth|layout|RenderValue}}, {{l/ver/meth|layout/html/tag|GetTagOpen}}, and {{l/ver/meth|layout/html/tag|GetTagName}} | ||
** html\tag\{{l/ver/class|caUnclosed}}: returns {{l/ver/meth|layout/html/tag|GetTagOpen}} | ** html\tag\{{l/ver/class|caUnclosed}}: returns {{l/ver/meth|layout/html/tag|GetTagOpen}} |
Latest revision as of 22:49, 21 July 2022
→ caNavElement
→ caLinkElement
→ \ferret\cMenuLink
→ \ferret\cArrayLink
→ \ferret\caDynamicLink
→ \ferret\cDropinLink
|
About
This method is at the top of the rendering hierarchy for any given element object. Its job is to ultimately to assemble all the bits of output for which it might be responsible, but this is generally done by invoking RenderValue() and adding any necessary formatting or conditions.
Specs
- Form:
public function RenderOutput() : string
- Classes:
- cElement: returns RenderValue()
- caNavElement: if GetShouldDisplay(), then returns RenderDisplay().
- \ferret\cDropinLink
- html\cLoginContentHeader
- html\tag\caClosable: assembles output from RenderValue(), GetTagOpen(), and GetTagName()
- html\tag\caUnclosed: returns GetTagOpen()