sloodle_base_viewThe base class for viewing a SLOODLE module or feature.
Should be inherited and overridden. Child class MUST be named "sloodle_view_NAME", where NAME replaces the name of the feature or module. For example, "sloodle_view_controller" or "sloodle_view_course". For modules, the NAME must match the "type" specifier in the "sloodle" table, such as "controller", "distributor", or "presenter". Modules should be automatically found, although special features (such as courses or users) will need to coded manually into the main view.php script.
Located in /view/base/base_view.php (line 24)
| Class | Description |
|---|---|
sloodle_base_view_module
|
The base class for viewing a SLOODLE module. |
sloodle_view_course
|
Class for rendering a view of SLOODLE course information. |
sloodle_view_user
|
Class for rendering a view of SLOODLE user information. |
sloodle_view_users
|
Class for rendering a view of SLOODLE users. |
Check that the user has permission to access the current resources.
This must be overridden to add functionality.
Output the page footer.
This does not usually have to be overridden, unless there is something to be added or a block element to be closed.
Print the standard page header.
This should usually be overridden to add additional information, such as page title, header, and navigation links.
Process any form data which has been submitted.
This must be overridden to add functionality.
Check for incoming request data identifying a particular course or module.
This must be overridden to add functionality.
Render the view of the module or feature.
This MUST be overridden to provide functionality.
The main viewing function.
This gets called by the system to render the view of the module.
Documentation generated on Fri, 17 Jul 2009 11:01:01 +0100 by phpDocumentor 1.4.0