Ferreteria/v0.5/@cls/caHypertextPage: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{fmt/title|class <code>[[../|ferret]]\{{l/ver/class|layout}}\ | {{fmt/title|class <code>[[../|ferret]]\{{l/ver/class|layout}}\caHypertextPage</code>}} | ||
{| style="border: solid 1px grey; background: #eef;" | {| style="border: solid 1px grey; background: #eef;" | ||
|- | |- | ||
| | |||
{{l/ver/class|caWebPage}} → | {{l/ver/class|caWebPage}} → | ||
{{l/ver/class| | {{l/ver/class|caHypertextPage}} | ||
→ {{l/ver/class|caStandard}} | |||
|} | |} | ||
* '''Source''': {{l/ferreteria/code|layout/page/html/1.php}} | * '''Source''': {{l/ferreteria/code|layout/page/html/1.php}} | ||
==About== | ==About== | ||
This class handles web pages rendered as HTML (as opposed to XML or whatever other doctypes might be worth implementing). It sets the doctype to HTML and adds an html tag element but doesn't specify the class (to be determined by how <code>Class_forTagHTML()</code> is cemented). | This class handles web pages rendered as HTML (as opposed to XML or whatever other doctypes might be worth implementing). It sets the doctype to HTML and adds an html tag element but doesn't specify the class (to be determined by how the <code>Class_forTagHTML()</code> method is cemented). | ||
==Methods== | ==Methods== | ||
===config=== | |||
* <code>Class_forTagHTML()</code> (abstract): returns class to use for {{xml/tag|html}} tag | |||
* <code>DocTypeClass()</code>: returns {{l/ver/class|layout}}\{{l/ver/class|layout/html|html}}\{{l/ver/class|layout/html/tag|tag}}\{{l/ver/class|cDocType}} | |||
* '' | ===events=== | ||
====dispatch receivers==== | |||
* {{l/ver/meth|layout/event|OnBuild}} calls parent::OnBuild(), SetDocType('HTML'), and AddTagNode_html(). | |||
====element-node creation==== | |||
* <code>AddTagNode_html()</code> | |||
====element-node access==== | |||
* <code>DocTypeNode()</code> | |||
* <code>GetTagNode_html()</code> | |||
** <code>GetTagNode_body()</code> | ** <code>GetTagNode_body()</code> | ||
==History== | |||
* '''2022-07-23''' renamed from caHtml to caHypertextPage, for clarity |
Latest revision as of 15:56, 17 December 2022
- Source: layout/page/html/1.php
About
This class handles web pages rendered as HTML (as opposed to XML or whatever other doctypes might be worth implementing). It sets the doctype to HTML and adds an html tag element but doesn't specify the class (to be determined by how the Class_forTagHTML()
method is cemented).
Methods
config
Class_forTagHTML()
(abstract): returns class to use for <html> tagDocTypeClass()
: returns layout\html\tag\cDocType
events
dispatch receivers
- OnBuild() calls parent::OnBuild(), SetDocType('HTML'), and AddTagNode_html().
element-node creation
AddTagNode_html()
element-node access
DocTypeNode()
GetTagNode_html()
GetTagNode_body()
History
- 2022-07-23 renamed from caHtml to caHypertextPage, for clarity