Ferreteria/v0.5/@cls/caTag
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
cElement | → caTag |
→ * \ tag \ caClosable |
Methods
dispatch
No change from tExecutableTwig.
rendering
Adds the following:
- OnRender() unstubbed: calls RenderOutput()
- two abstract methods for rendering pieces of an HTML tag (GetTagName(), GetTagTail())
- a method to assemble a tag-opener from those two (GetTagOpen())
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