Ferreteria/v0.5/layout/event/renderbranch

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | layout‎ | event
Revision as of 21:58, 18 July 2022 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
layout system: RenderBranch() method

F\layout\cElementF\layout\cNavElementF\layout\caLinkElementF\layout\cMenuFolderF\layout\emerald\cNavbar

Specs

  • Form: protected function RenderBranch() : string:

Definitions

if ($this->ShouldDoTwigs()) {
    return $this->RenderTwigs();
} else {
    return '';
}
$sSub = $this->RenderTwigs();
$sOut = "\n<ul class=dropin-menu>$sSub\n</ul>";
return $sOut;