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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
(Created page with "{{fmt/title|class <code>ferret\{{l/ver/class|layout}}\cLoginContentHeader</code>}} {| style="border: solid 1px grey; background: #eef;" |- | {{l/ver/class|caContentHea...")
 
(eliminated unnecessary RenderDisplay() method)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{fmt/title|class <code>[[../|ferret]]\{{l/ver/class|layout}}\cLoginContentHeader</code>}}
{{fmt/title|class <code>[[../|ferret]]\{{l/ver/class|layout}}\{{l/ver/class|layout/html|html}}\cLoginContentHeader</code>}}
{| style="border: solid 1px grey; background: #eef;"
{| style="border: solid 1px grey; background: #eef;"
|-
|-
Line 6: Line 6:
|}
|}
* '''Source''': {{l/ferreteria/code|layout/page/html/login/core.php}}
* '''Source''': {{l/ferreteria/code|layout/page/html/login/core.php}}
==Methods==
===rendering===
* <code>RenderOutput()</code> '''overrides''' {{l/ver/class|cElement}}: assembles output from <code>GetTitleString()</code> and <code>RenderWidgets()</code>
* <code>RenderValue()</code> is provided by {{l/ver/class|cElement}}
* <code>RenderBranch()</code> is provided by {{l/ver/class|cElement}}
* <code>RenderTwigs()</code> is provided by {{l/ver/class|cElement}}
* <code>RenderWidgets()</code> (new) calls <code>RenderMenu()</code>
* <code>RenderMenu()</code> (new) gets the Menu element (if there is one) and returns Menu<code>->RenderOutput()</code>. (If not found, returns empty string.)

Latest revision as of 15:14, 9 July 2022

class ferret\layout\html\cLoginContentHeader
caContentHeader cLoginContentHeader

Methods

rendering

  • RenderOutput() overrides cElement: assembles output from GetTitleString() and RenderWidgets()
  • RenderValue() is provided by cElement
  • RenderBranch() is provided by cElement
  • RenderTwigs() is provided by cElement
  • RenderWidgets() (new) calls RenderMenu()
  • RenderMenu() (new) gets the Menu element (if there is one) and returns Menu->RenderOutput(). (If not found, returns empty string.)