|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Quick search form renderable class. More...
Public Member Functions | |
| __construct ($courseid, $query='') | |
| Constructor. | |
| export_for_template (renderer_base $output) | |
| Function to export the renderer data in a format that is suitable for a mustache template. | |
Protected Attributes | |
| moodle_url | $actionurl |
| The form action URL. | |
| int | $courseid |
| The course ID. | |
| help_icon | $helpicon |
| The help icon. | |
| string | $query |
| Current query. | |
Quick search form renderable class.
| mod_forum\output\quick_search_form::__construct | ( | $courseid, | |
| $query = '' ) |
Constructor.
| int | $courseid | The course ID. |
| string | $query | The current query. |
| mod_forum\output\quick_search_form::export_for_template | ( | renderer_base | $output | ) |
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
| renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
| stdClass|array |
Implements templatable.