Ferreteria/v0.5/@cls/caTag

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Revision as of 17:25, 12 July 2022 by Woozle (talk | contribs)
Jump to navigation Jump to search
Ferreteria class ferret\layout\html\caTag
cElement caTag

→ * \ tag \ caClosable
→ * \ tag \ caUnclosed

Methods

Adds nothing except to name two methods for rendering pieces of an HTML tag, and another method to assemble a tag-opener from them:

protected function GetTagOpen() : string { /* build output from GetTagName() and GetTagTail() */ }
abstract protected function GetTagName() : string; // what goes <here></here> or <here [...] />
abstract protected function GetTagTail() : string; // attributes