Class MyLayoutPage

Description

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/examples/example3.php (line 94)

HTMLPageClass
   |
   --PageWidget
      |
      --MyLayoutPage
Direct descendents
Class Description
Form1Page A simple Page Layout object child.
Form2Page A simple Page Layout object child.
Method Summary
void MyLayoutPage (string $title, [- $render_type = HTML])
void body_content ()
HTMLTag content_block ()
HTMLTag left_block ()
void main_block (TABLEtag 0)
Variables
Methods
Constructor MyLayoutPage (line 105)

This is the constructor.

void MyLayoutPage (string $title, [- $render_type = HTML])
  • string $title:

    - $title - the title for the page and the titlebar object.

  • - $render_type:

    string - The render type (HTML, XHTML, etc. )

body_content (line 124)

This builds the main content for the page.

void body_content ()

Redefinition of:
PageWidget::body_content()
This function is meant to be overridden by the child class.
content_block (line 215)

this function returns the contents of the right block. It is already wrapped in a TD

  • return:

    object

HTMLTag content_block ()

Redefined in descendants as:
footer_block (line 230)

This function is responsible for building the footer block for every page.

  • return:

    object.

HTMLtag footer_block ()
header_block (line 159)

This function is responsible for building the header block that lives at the top of every page.

  • return:

    object.

HTMLtag header_block ()
left_block (line 198)

this function returns the contents of the left block. It is already wrapped in a TD

  • return:

    object

HTMLTag left_block ()
main_block (line 174)

We override this method to automatically break up the main block into a left block and a right block

void main_block (TABLEtag 0)

Inherited Methods

Inherited From PageWidget

PageWidget::PageWidget()
PageWidget::body_content()
PageWidget::enable_debug()
PageWidget::frameset()
PageWidget::get_title()
PageWidget::head_content()
PageWidget::head_javascript()
PageWidget::render()

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:27 -0700 by phpDocumentor 1.2.0