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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | layout‎ | event
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{fmt/title|'''[[../|layout]]''' system: <code>RenderOutput()</code> method}}
{{fmt/title|'''{{l/ver|layout}}\{{l/ver|layout/event|event}}''' subsystem: <code>RenderOutput()</code> method}}
{| style="border: solid 1px grey; background: #eef;"
{| style="border: solid 1px grey; background: #eef;"
|-
|-
Line 23: Line 23:
|}
|}
|}
|}
cDropinLink
==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, including any twigs.
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}}
** \[[../|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

layout\event subsystem: RenderOutput() method

cElement

caNavElementcaLinkElement\ferret\cMenuLink\ferret\cArrayLink\ferret\caDynamicLink → \ferret\cDropinLink
.\html\caContentHeader.\html\cLoginContentHeader

.\html\caTag

.\html\tag\caUnclosed
.\html\tag\caClosable

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