HTML_Page2
[ class tree: HTML_Page2 ] [ index: HTML_Page2 ] [ all elements ]

File: Page2.php

Source Location: /HTML_Page2-0.6.4/HTML/Page2.php

Classes:

HTML_Page2
(X)HTML Page generation class

Page Details:

The PEAR::HTML_Page2 package provides a simple interface for generating an XHTML compliant page

Features:

  • supports virtually all HTML doctypes, from HTML 2.0 through XHTML 1.1 and XHTML Basic 1.0 plus preliminary support for XHTML 2.0
  • namespace support
  • global language declaration for the document
  • line ending styles
  • full META tag support
  • support for stylesheet declaration in the head section
  • support for script declaration in the head section
  • support for linked stylesheets and scripts
  • full support for header <link> tags
  • body can be a string, object with toHtml or toString methods or an array (can be combined)
Ideas for use:
  • Use to validate the output of a class for XHTML compliance
  • Quick prototyping using PEAR packages is now a breeze
PHP versions 4 and 5

Includes:

require_once('HTML/Common.php') [line 76]
Include HTML_Common class

Additional required files:

HTML/Page2/Doctypes.php is required in private method _getDoctype()

HTML/Page2/Namespaces.php is required in private method _getNamespace()

HTML/Page2/Frameset.php is optionally required in method setDoctype() if the doctype variant is frameset.

require_once('PEAR.php') [line 60]
Include PEAR core

HTML_PAGE2_APPEND [line 85]

HTML_PAGE2_APPEND = 0
Determines how content is added to the body.

Use with the @see addBodyContent method.

  • Since: 2.0.0

[ Top ]



HTML_PAGE2_PREPEND [line 86]

HTML_PAGE2_PREPEND = 1
Determines how content is added to the body.

Use with the @see addBodyContent method.

  • Since: 2.0.0

[ Top ]



HTML_PAGE2_REPLACE [line 87]

HTML_PAGE2_REPLACE = 2
Determines how content is added to the body.

Use with the @see addBodyContent method.

  • Since: 2.0.0

[ Top ]



Documentation generated on Mon, 11 Mar 2019 16:03:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.