Ferreteria/v0.5/layout/event/renderoutput: Difference between revisions
< Ferreteria | v0.5 | layout | event
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 30: | Line 30: | ||
* 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}} |
Revision as of 21:24, 18 July 2022
layout system:
RenderOutput() method |
→ caNavElement
→ caLinkElement
→ \ferret\cMenuLink
→ \ferret\cArrayLink
→ \ferret\caDynamicLink
→ \ferret\cDropinLink
|
cDropinLink
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.
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()