Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Search form renderable class. More...
Public Member Functions | |
__construct ($courseid) | |
Constructor. More... | |
export_for_template (renderer_base $output) | |
Function to export the renderer data in a format that is suitable for a mustache template. More... | |
Protected Attributes | |
moodle_url | $actionurl |
The form action URL. | |
moodle_url | $advancedsearchurl |
The advanced search URL. | |
int | $courseid |
The course ID. | |
help_icon | $helpicon |
The help icon. | |
Search form renderable class.
block_search_forums\output\search_form::__construct | ( | $courseid | ) |
Constructor.
int | $courseid | The course ID. |
block_search_forums\output\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.