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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
* <code>OnRender()</code> comes from {{l/ver/class|caTag}}
* <code>OnRender()</code> comes from {{l/ver/class|caTag}}
* <code>RenderOutput()</code> comes from {{l/ver/class|caClosable}}
* <code>RenderOutput()</code> comes from {{l/ver/class|caClosable}}
* <code>RenderValue()</code> overrides {{l/ver/class|cElement}}:
* <code>RenderValue()</code> comes from {{l/ver/class|cElement}}:
** <syntaxhighlight lang=php inline>protected function RenderValue() : string { return $this->TagData()->Render(); }</syntaxhighlight>
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}
==History==
* '''2022-07-08''' <code>RenderValue()</code> was overriding {{l/ver/class|cElement}} with code that returns just the tag attributes. That seemed wrong, because caClosable assembles a more complete tag from RenderValue(), GetTagName(), and GetTagTail(). Commented out the override.

Revision as of 12:18, 8 July 2022

Ferreteria class ferret\layout\html\tag\caContainer
caClosableAttribs caContainer

cBody
cHeader
cHtml

Methods

rendering

History

  • 2022-07-08 RenderValue() was overriding cElement with code that returns just the tag attributes. That seemed wrong, because caClosable assembles a more complete tag from RenderValue(), GetTagName(), and GetTagTail(). Commented out the override.