Ferreteria/v0.5/@cls/cNavElement: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
|}
|}
* '''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

class ferret\layout\cNavElement
cElement cNavElement

caLinkElement
cMenuFolder

Methods

rendering

  • OnRender(caEvent $oe) (new) returns $this->RenderOutput()).
  • RenderOutput() calls RenderDisplay() iff GetShouldDisplay() returns TRUE.
  • RenderDisplay() calls ArgPod's Name() element value and $this->RenderValue()
  • RenderValue() comes from cElement
  • RenderBranch() comes from cElement
  • RenderTwigs() comes from cElement