Ferreteria/v0.5/@cls/cNavElement: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|class <code>ferret\{{l/ver/class|layout}}\cNavElement</code>}} {| style="border: solid 1px grey; background: #eef;" |- | {{l/ver/class|cElement}} → |...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{| style="border: solid 1px grey; background: #eef;" | {| style="border: solid 1px grey; background: #eef;" | ||
|- | |- | ||
| {{l/ver/class|cElement}} → | | {{l/ver/class|cElement}} | ||
| {{l/ver/class| | | → {{l/ver/class|cNavElement}} | ||
| | |||
→ {{l/ver/class|caLinkElement}}<br> | |||
→ {{l/ver/class|cMenuFolder}} | |||
|} | |} | ||
* '''Source''': {{l/ferreteria/code|layout/nav/NavElem.php}} | * '''Source''': {{l/ferreteria/code|layout/nav/NavElem.php}} | ||
==Methods== | |||
===rendering=== | |||
* <code>OnRender(caEvent $oe)</code> (new) returns <code>$this->RenderOutput())</code>. | |||
* <code>RenderOutput()</code> calls <code>RenderDisplay()</code> iff <code>GetShouldDisplay()</code> returns TRUE. | |||
* <code>RenderDisplay()</code> calls ArgPod's Name() element value and <code>$this->RenderValue()</code> | |||
* <code>RenderValue()</code> comes from {{l/ver/class|cElement}} | |||
* <code>RenderBranch()</code> comes from {{l/ver/class|cElement}} | |||
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}} |
Latest revision as of 19:16, 9 July 2022
cElement | → cNavElement |
- Source: layout/nav/NavElem.php
Methods
rendering
OnRender(caEvent $oe)
(new) returns$this->RenderOutput())
.RenderOutput()
callsRenderDisplay()
iffGetShouldDisplay()
returns TRUE.RenderDisplay()
calls ArgPod's Name() element value and$this->RenderValue()
RenderValue()
comes from cElementRenderBranch()
comes from cElementRenderTwigs()
comes from cElement