Ferreteria/v0.5/@cls/caTag
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
cElement | → caTag |
→ * \ tag \ caClosable |
Methods
Adds the following:
- OnRender() 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