The page section class
The class takes care of page sections. A page section is any part of a webpage. Page sections we define for HTML pages are: head, body and foot. Each section has a common set of properties and methods and these are defined here.
Located in /plugin-defs.php (line 37)
RenderableObject | --page_section
Class | Description |
---|---|
![]() |
Plugin class A plugin is something which can be used by the system to render content to be plugged into a webpage in any specified place. |
![]() |
The head class. |
![]() |
The body class The class is a special kind of page section. It contains all of the main page content. |
![]() |
The foot class |
![]() |
The error page class Allows us to render errors as either HTML or WML. |
Constructor Create a new page section object.
Add new content to the page section.
This adds a specific lump of script to the webpage under a unique name.
It allows you to collect multiple additions of script content under a single grouping, and so cause the final rendering to group it all together.
Add popup window scripting.
This method adds Javascript which specifically supports the opening of a popup window from a function call elsewhere in the webpage. There are various options to force the size and position, or leave to be passed as parameters in the javascript function call. NB: This does NOT open the window. It inserts the Javascript for you to be able to call a function to open the window from elsewhere in the page.
Add more scripting to this page section.
Add script reference link Add more scripting to this section in the form of a link to a script source file.
Read in the template for this page section.
This renders the page section as HTML.
Replaces multiple occurrences of the given tag (pattern) in the body content with the specified new stuff.
Returns all of the defined script. Literal script is rendered for each language if more than one language is being used. Each language is bracketed with the usual <script language=foo></script> tags. Any script sources (URL references to scripts) are also rendered.
This renders the page section as WML.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3