◆ display_options()
mod_choice_renderer::display_options |
( |
| $options, |
|
|
| $coursemoduleid, |
|
|
| $vertical = false, |
|
|
| $multiple = false ) |
Returns HTML to display choices of option.
- Parameters
-
object | $options | |
int | $coursemoduleid | |
bool | $vertical | |
- Return values
-
◆ display_publish_anonymous()
mod_choice_renderer::display_publish_anonymous |
( |
| $choices, |
|
|
| $displaylayout ) |
Generate the choice result chart.
Can be displayed either in the vertical or horizontal position.
- Parameters
-
stdClass | $choices | Choices responses object. |
int | $displaylayout | The constants CHOICE_DISPLAY_HORIZONTAL or CHOICE_DISPLAY_VERTICAL. |
- Return values
-
string | the rendered chart. |
◆ display_publish_anonymous_horizontal()
mod_choice_renderer::display_publish_anonymous_horizontal |
( |
| $choices | ) |
|
Returns HTML to display choices result.
- Deprecated
- since 3.2
- Parameters
-
- Return values
-
◆ display_publish_anonymous_vertical()
mod_choice_renderer::display_publish_anonymous_vertical |
( |
| $choices | ) |
|
Returns HTML to display choices result.
- Deprecated
- since 3.2
- Parameters
-
- Return values
-
◆ display_publish_name_vertical()
mod_choice_renderer::display_publish_name_vertical |
( |
| $choices | ) |
|
Returns HTML to display choices result.
- Parameters
-
- Return values
-
◆ display_result()
mod_choice_renderer::display_result |
( |
| $choices, |
|
|
| $forcepublish = false ) |
Returns HTML to display choices result.
- Parameters
-
object | $choices | |
bool | $forcepublish | |
- Return values
-
The documentation for this class was generated from the following file: