Ferreteria/v0.5/@cls/caTag: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
* '''File''': {{l/ferreteria/code|layout/page/html/tag/1.php}} | * '''File''': {{l/ferreteria/code|layout/page/html/tag/1.php}} | ||
==Methods== | ==Methods== | ||
Adds nothing except to name two methods for rendering pieces of an HTML tag: | |||
<syntaxhighlight lang=php> | |||
abstract protected function GetTagName() : string; | |||
abstract protected function GetTagTail() : string; // attributes | |||
</syntaxhighlight> | |||
I ''think'' this doesn't make sense; there should be at least one method which uses these, thus defining their meaning. | |||
Revision as of 17:10, 12 July 2022
cElement | → caTag |
→ * \ tag \ caClosable |
Methods
Adds nothing except to name two methods for rendering pieces of an HTML tag:
abstract protected function GetTagName() : string;
abstract protected function GetTagTail() : string; // attributes
I think this doesn't make sense; there should be at least one method which uses these, thus defining their meaning.