| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
This file contains a custom renderer class used by the forum module.
| Copyright: | 2009 Sam Hemelryk |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 206 lines (9 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
mod_forum_renderer:: (7 methods):
neighbouring_discussion_navigation()
subscriber_selection_form()
subscriber_overview()
subscribed_users()
timed_discussion_tooltip()
render_forum_post_email()
forum_post_template()
Class: mod_forum_renderer - X-Ref
A custom renderer class that extends the plugin_renderer_base and| neighbouring_discussion_navigation($prev, $next) X-Ref |
| Returns the navigation to the previous and next discussion. param: mixed $prev Previous discussion record, or false. param: mixed $next Next discussion record, or false. return: string The output. |
| subscriber_selection_form(user_selector_base $existinguc, user_selector_base $potentialuc) X-Ref |
| This method is used to generate HTML for a subscriber selection form that uses two user_selector controls param: user_selector_base $existinguc param: user_selector_base $potentialuc return: string |
| subscriber_overview($users, $forum , $course) X-Ref |
| This function generates HTML to display a subscriber overview, primarily used on the subscribers page if editing was turned off param: array $users param: object $forum param: object $course return: string |
| subscribed_users(user_selector_base $existingusers) X-Ref |
| This is used to display a control containing all of the subscribed users so that it can be searched param: user_selector_base $existingusers return: string |
| timed_discussion_tooltip($discussion, $visiblenow) X-Ref |
| Generate the HTML for an icon to be displayed beside the subject of a timed discussion. param: object $discussion param: bool $visiblenow Indicicates that the discussion is currently return: string |
| render_forum_post_email(\mod_forum\output\forum_post_email $post) X-Ref |
| Display a forum post in the relevant context. param: \mod_forum\output\forum_post $post The post to display. return: string |
| forum_post_template() X-Ref |
| The template name for this renderer. return: string |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |