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 /widgets/PageWidget.inc (line 34)
HTMLPageClass | --PageWidget
Class | Description |
---|---|
This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output. | |
PermissionsCheckTestPage | This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output. |
WidgetListPage | This class is used to build content for an entire page. It uses the HTMLPageClass widget from phphtmllib to render the final output. |
This is to enable/disable the permissions checking.
By default it is off.
This enables the ability to view the source of a page bu setting debug=1 in the query string.
The width of the permissions dialog table.
the message box for displaying
permissions errors
Does the user have permission
to build and view the content?
holds the page title text for
a page
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
Constructor:
This method is used to enable or disable the built in permissions checking mechanism.
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
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 meant to be extended by the child class to do any generic permissions checking for access to the content that the child builds
This is the function that renders the HTML for this widget.
This is used to set the various options for displaying the failed permissions box. This should be called prior to returning false in the permissions() method
This is the method used to build the object to display the permissions error.
By default it uses either the MessageBoxWidget or the MessageBoxOK widget which both rely on having the InfoTable object's css included in the page.
This method allows all PageWidget children to do any kind of permissions checking before any content methods are called.
This allows for a very secure method of building and rendering the page content.
do we have permissions to build/view the content?
set the value of the permissions
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:08 -0700 by phpDocumentor 1.3.0RC3