This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output.
Located in Program_Root/widgets/PageWidget.inc (line 25)
HTMLPageClass | --PageWidget
Class | Description |
---|---|
MyLayoutPage | This is an example Child of the PageWidget |
This enables the ability to view the source of a page bu setting debug=1 in the query string.
holds the page title text for
a page
Inherited from HTMLPageClass
HTMLPageClass::$_html_attributes
HTMLPageClass::$_indent_style
HTMLPageClass::$_widget_css_auto
HTMLPageClass::$_widget_js_auto
HTMLPageClass::$_xml_encoding
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 is meant to be overridden by the child class.
This provides all of the content for the page. NOTE: You add the content to the body in 1 of 2 ways. 1) return the content from this call. 2) inside the call, you can just call $this->add(); and then return NULL;
This sets the debug option for the HTMLPageClass
TRUE for on, FALSE for off
This function is used to save
a frameset to the page. This will automatically output a properly formatted
gets the current title of the page.
This function is used to build addition head content that isn't built by the HTMLPageClass parent class by default.
NOTE: you can add addition content to the head in 1 of 2 ways. 1) inside the call return the addition content in the return $foo; 2) or use the HTMLPageClass' $this->add_head_content() from within the head_content() call.
This function is called to build any JavaScript that is needed in the <HEAD> portion of a document.
This is the function that renders the HTML for this widget.
Inherited From HTMLPageClass
HTMLPageClass::HTMLPageClass()
HTMLPageClass::add()
HTMLPageClass::add_css_link()
HTMLPageClass::add_head_content()
HTMLPageClass::add_head_css()
HTMLPageClass::add_head_js()
HTMLPageClass::add_js_link()
HTMLPageClass::add_reference()
HTMLPageClass::build_doctype()
HTMLPageClass::get_html_attributes()
HTMLPageClass::push()
HTMLPageClass::push_css_link()
HTMLPageClass::push_head_content()
HTMLPageClass::push_head_js()
HTMLPageClass::push_js_link()
HTMLPageClass::push_reference()
HTMLPageClass::render()
HTMLPageClass::set_body_attributes()
HTMLPageClass::set_charset()
HTMLPageClass::set_encoding()
HTMLPageClass::set_frameset()
HTMLPageClass::set_html_attributes()
HTMLPageClass::set_language()
HTMLPageClass::set_refresh()
HTMLPageClass::set_text_debug()
HTMLPageClass::set_title()
HTMLPageClass::_build_content_type_tag()
HTMLPageClass::_build_head()
HTMLPageClass::_create_body()
HTMLPageClass::_frameset_wrap_body()
Documention generated on Thu, 31 Jul 2003 18:32:56 -0700 by phpDocumentor 1.2.0