Docs For Class PermissionsCheckTestPage

## Class PermissionsCheckTestPage

Description

This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output.

- author: Walter A. Boring IV <waboring@newsblob.com>

Located in /examples/widget13.php (line 24)

    HTMLPageClass
       |
       --PageWidget
          |
          --PermissionsCheckTestPage

Method Summary
PermissionsCheckTestPage PermissionsCheckTestPage (mixed $title)
object body_content ()
boolean permission ()
Variables

#### Inherited Variables

Inherited from PageWidget

> PageWidget::$_allow_permissions_checks
> PageWidget::$_enable_debug
> PageWidget::$_permissions_error_width
> PageWidget::$_permission_box
> PageWidget::$_perm_options
> PageWidget::$_title_text

Inherited from HTMLPageClass

> HTMLPageClass::$_favicon
> HTMLPageClass::$_html_attributes
> HTMLPageClass::$_html_render_type
> HTMLPageClass::$_indent_style
> HTMLPageClass::$_widget_css_auto
> HTMLPageClass::$_widget_js_auto
> HTMLPageClass::$_xml_encoding

Methods
Constructor PermissionsCheckTestPage (line 27)
PermissionsCheckTestPage PermissionsCheckTestPage (mixed $title)
body_content (line 67)

This will only get called if we have permissions to build and render the content for this page object.

object body_content ()

Redefinition of:

PageWidget::body_content()
  This function is meant to be overridden by the child class.

permission (line 45)

This method is called during constructor time to check to make sure the page is allowed to build and render any content.

- return: FALSE = not allowed.

boolean permission ()

Redefinition of:

PageWidget::permission()
  This is meant to be extended by the child class to do any generic permissions checking for access to the content that the child builds

#### Inherited Methods

Inherited From PageWidget

> PageWidget::PageWidget()
> PageWidget::allow_permissions_checks()
> PageWidget::body_content()
> PageWidget::enable_debug()
> PageWidget::frameset()
> PageWidget::get_title()
> PageWidget::head_content()
> PageWidget::head_javascript()
> PageWidget::permission()
> PageWidget::render()
> PageWidget::set_permissions_message()
> PageWidget::_build_permission_box()
> PageWidget::_check_permissions()
> PageWidget::_has_permission()
> PageWidget::_set_perms()

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_favicon()
> HTMLPageClass::set_favicon_flag()
> 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()

Documentation generated on Thu, 1 Sep 2005 17:06:35 -0700 by phpDocumentor 1.3.0RC3