Difference between revisions of "Ferreteria/v0.5/@cls/caHypertextPage"

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
m (Woozle moved page Ferreteria/v0.5/@cls/caHTML to Ferreteria/v0.5/@cls/caHypertextPage without leaving a redirect: class renamed)
m (tEventNodeBuild no longer exists)
Line 3: Line 3:
 
|-
 
|-
 
| align=right |
 
| align=right |
{{l/ver/class|caWebPage}} &rarr;<br>
+
{{l/ver/class|caWebPage}} &rarr;
{{l/ver/class|tEventNodeBuild}} &rarr;
 
 
| {{l/ver/class|caHypertextPage}}
 
| {{l/ver/class|caHypertextPage}}
 
| &rarr; {{l/ver/class|cStandard}}
 
| &rarr; {{l/ver/class|cStandard}}

Revision as of 16:42, 23 July 2022

class ferret\layout\caHypertextPage

caWebPage

caHypertextPage cStandard

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> tag
    • DocTypeClass(): returns layout\html\tag\cDocType
  • element-node creation:
    • AddTagNode_html()
  • element-node access:
    • DocTypeNode()
    • GetTagNode_html()
    • GetTagNode_body()

History

  • 2022-07-23 renamed from caHtml to caHypertextPage, for clarity