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 normal plugin just provides a receptacle for content, and which will be plugged in when the webpage is built. You can also specify a path of a file containing content, an object to render() content, or a function to return content. We can have multiple types of plugin:
Located in /plugin-defs.php (line 367)
RenderableObject | --page_section | --plugin
ID or name of this plugin
Array of plugin content objects
Inherited from page_section
page_section::$content
page_section::$script
page_section::$scriptsrc
Constructor Create a new plugin object.
Allows adding of any type of content to the plugin. This could be
literal (string), a file path referencing a file full of content, or and object supporting render(), or the name of a function which is in scope. In the latter case, the function name is saved here, and will only be executed later on when plugins are rendered prior to sending the webpage. This allows 'late' content rendering.
Returns the string which represents all of the content
types which have been stored in this plugin. Note that we do not differentiate between HTML or WML etc. since the content from our point of view is all generic at this stage. Hence we override the render() method, and not html() and/or wml().
Inherited From page_section
page_section::page_section()
page_section::add()
page_section::add_named_script()
page_section::add_popup_script()
page_section::add_script()
page_section::add_scriptsrc()
page_section::clear()
page_section::get_template()
page_section::get_trimcontent()
page_section::html()
page_section::replace()
page_section::script()
page_section::wml()
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3