See Release Notes
Long Term Support Release
Differences Between: [Versions 400 and 401]
(no description)
File Size: | 200 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
filter:: (12 methods):
define_properties()
validate_reportid()
after_create()
after_update()
after_delete()
get_report()
get_filter_record()
get_filter_records()
get_condition_record()
get_condition_records()
get_max_filterorder()
get_formatted_heading()
define_properties() X-Ref |
Return the definition of the properties of this model. return: array |
validate_reportid(int $reportid) X-Ref |
Validate reportid property param: int $reportid return: bool|lang_string |
after_create() X-Ref |
Ensure report source is notified of new filter |
after_update($result) X-Ref |
Ensure report source is notified of updated filter param: bool $result |
after_delete($result) X-Ref |
Ensure report source is notified of deleted filter param: bool $result |
get_report() X-Ref |
Return the report this filter belongs to return: report |
get_filter_record(int $reportid, int $filterid) X-Ref |
Return filter record param: int $reportid param: int $filterid return: false|static |
get_filter_records(int $reportid, string $sort = '', string $order = 'ASC') X-Ref |
Return filter records for report param: int $reportid param: string $sort param: string $order return: static[] |
get_condition_record(int $reportid, int $conditionid) X-Ref |
Return condition record param: int $reportid param: int $conditionid return: false|static |
get_condition_records(int $reportid, string $sort = '', string $order = 'ASC') X-Ref |
Return condition records for report param: int $reportid param: string $sort param: string $order return: static[] |
get_max_filterorder(int $reportid, bool $iscondition = false) X-Ref |
Helper method to return the current maximum filter order value for a report param: int $reportid param: bool $iscondition return: int |
get_formatted_heading(?context $context = null) X-Ref |
Return formatted filter heading param: context|null $context If the context of the report is already known, it should be passed here return: string |