class the constructs and renders an entire HTML/XHTML document.
Located in Program_Root/widgets/HTMLPageClass.inc (line 26)
Class | Description |
---|---|
PageWidget | This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output. |
HTMLRedirectPage | This builds an entire HTML Page with the sole purpose of doing a redirect to another url. |
This holds the attributes for the <html> tag.
Holds the value of the indent style the user wants to render the page w/
keeps track of which widgets we have automatically pulled in css for
keeps track of which widgets we have automatically pulled in js for
The encoding of the XHTML
XML tag
Class Constructor
- $title Title string or TITLEtag object for the page.
- one of 3 types of html to render. Setting this will make the object declare the gobal define which tells all of the tag objects what type of html tags to render. some tags support special features. such as the <IMG> tag. If xhtml is selected, the the IMGtag object and all utility functions will not render "border=0" as a default attribute, since this is not proper xhtml. "html" - HTML 4.0 (default) "xhtml_transitional" - render xhtml instead of html
- one of 2 types. INDENT_NICE or INDENT_LEFT_JUSTIFY This tells the page how to render the indenting of the output. By default it is set to INDENT_NICE, which nicely indents each nested tag. You can have all tags rendered left justified (smaller size in output) by using INDENT_LEFT_JUSTIFY
This function adds content to the <body> area of the page.
- any # of parameters
pushes a css external reference to the head area
- link tag object or $url for a css.
this adds content to the head tag of the page
- any content to add
this function adds raw css to the <head> tag. It will automatically be wrapped in a <style type="text/css">
- the raw css
adds raw javascript to the head which will automatically get wrapped in a <script language="JavaScript"> tag.
- raw javascript code to add to the head
This adds a link to an external Javascript file, which will get rendered in the head.
- script tag object or $url of .js file.
Adds the content reference to the <body> tag for later use.
- content to add
This function is used to build the DOCTYPE
tag for the page. It will automatically create a DOCTYPE with a document_element of "html" and a source of "PUBLIC"
- link1
- link2
This function returns the attributes to be used for the <html> tag.
Same as add()
Same ass add_css_link()
Same ass add_head_content()
Same ass add_head_js()
same as add_js_link()
Same as add()
render the page.
set attributes of body tag
the name=>value pairs
set the character set
- the charset for the meta tag
This sets the encoding type for XHTML documents
- the encoding parameter
This function is used to set the FRAMSETtag object for this page. This automatically sets the output for this page object to be a frameset.
object - $frameset
This function sets the attributes for the <html> tag
- the name=>value pair for the attributes
This method sets the lang, and xml:lang setting in the HTML tag.
- the language
Automatically set a page meta tag refresh
- time in seconds to refresh
- the url to go to.
set the $_text_debug flag
- boolean.
set the title of the page output.
- the title of the html page can be TITLEtag object.
this builds the content type meta tag.
builds the head object and its content.
This is responsible for creating the BODYtag object. We only will create a new $this->_body if it doesn't already exist.
This builds a frameset body tag wrapped in a <noframes> tag.
Documention generated on Thu, 31 Jul 2003 18:32:48 -0700 by phpDocumentor 1.2.0