A custom renderer class that extends the plugin_renderer_base and is used by the forum module.
More...
A custom renderer class that extends the plugin_renderer_base and is used by the forum module.
- Copyright
- 2009 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ forum_post_template()
mod_forum_renderer::forum_post_template |
( |
| ) |
|
◆ neighbouring_discussion_navigation()
mod_forum_renderer::neighbouring_discussion_navigation |
( |
| $prev, |
|
|
| $next ) |
Returns the navigation to the previous and next discussion.
- Parameters
-
mixed | $prev | Previous discussion record, or false. |
mixed | $next | Next discussion record, or false. |
- Return values
-
◆ render_activity_actionbar()
Render the view action area.
- Parameters
-
- Return values
-
string | rendered HTML string |
◆ render_big_search_form()
Render big search form.
- Parameters
-
- Return values
-
◆ render_digest_options()
mod_forum_renderer::render_digest_options |
( |
| $forum, |
|
|
| $value ) |
Create the inplace_editable used to select forum digest options.
- Parameters
-
stdClass | $forum | The forum to create the editable for. |
int | $value | The current value for this user |
- Return values
-
◆ render_forum_post_email()
Display a forum post in the relevant context.
- Parameters
-
- Return values
-
◆ render_quick_search_form()
Render quick search form.
- Parameters
-
- Return values
-
string | rendered HTML string from the template. |
◆ subscribed_users()
This is used to display a control containing all of the subscribed users so that it can be searched.
- Parameters
-
- Return values
-
◆ subscriber_overview()
mod_forum_renderer::subscriber_overview |
( |
| $users, |
|
|
| $forum, |
|
|
| $course ) |
This function generates HTML to display a subscriber overview, primarily used on the subscribers page if editing was turned off.
- Parameters
-
array | $users | |
object | $forum | |
object | $course | |
- Return values
-
◆ subscriber_selection_form()
This method is used to generate HTML for a subscriber selection form that uses two user_selector controls.
- Parameters
-
- Return values
-
◆ subscription_actionbar()
Render the subscription action area.
- Parameters
-
- Return values
-
bool|string | rendered HTML string. |
◆ timed_discussion_tooltip()
mod_forum_renderer::timed_discussion_tooltip |
( |
| $discussion, |
|
|
| $visiblenow ) |
Generate the HTML for an icon to be displayed beside the subject of a timed discussion.
- Parameters
-
object | $discussion | |
bool | $visiblenow | Indicicates that the discussion is currently visible to all users. |
- Return values
-
The documentation for this class was generated from the following file: