(no description)
File Size: | 142 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
question_bank_filter_ui:: (3 methods):
__construct()
get_filtertypes()
export_for_template()
Class: question_bank_filter_ui - X-Ref
Class for rendering filters on the base view.__construct(\context $context,protected array $searchconditions,protected array $additionalparams,protected string $component,protected string $callback,protected string $view,?string $tableregionid = null,protected ?int $cmid = null,array $pagevars = [],protected array $extraparams = []) X-Ref |
Create a new datafilter param: \context $context The context of the course being displayed param: array $searchconditions Array of condition objects for the current filters param: array $additionalparams Additional display parameters param: string $component the component for the fragment param: string $callback the callback for the fragment param: string $view the view class param: ?string $tableregionid The ID of the region to update with the fragment param: ?int $cmid if in an activity, the cmid. param: array $pagevars current filter parameters param: array $extraparams additional parameters required for a particular view class. |
get_filtertypes() X-Ref |
Get data for all filter types. return: array |
export_for_template(renderer_base $output) X-Ref |
Export the renderer data in a mustache template friendly format. param: renderer_base $output Unused. return: stdClass Data in a format compatible with a mustache template. |