See Release Notes
Long Term Support Release
(no description)
File Size: | 175 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
user_filter_manager:: (7 methods):
user_preference_name()
set()
get()
merge()
reset_all()
reset_single()
get_all_for_user()
Class: user_filter_manager - X-Ref
This class handles the setting and retrieving of a users' filter values for given reportsuser_preference_name(int $reportid, int $index) X-Ref |
Generate user preference name for given report param: int $reportid param: int $index return: string |
set(int $reportid, array $values, int $userid = null) X-Ref |
Set user filters for given report param: int $reportid param: array $values param: int|null $userid return: bool |
get(int $reportid, int $userid = null) X-Ref |
Get user filters for given report param: int $reportid param: int|null $userid return: array |
merge(int $reportid, array $values, int $userid = null) X-Ref |
Merge individual user filter values for given report param: int $reportid param: array $values param: int|null $userid return: bool |
reset_all(int $reportid, int $userid = null, int $index = 0) X-Ref |
Reset all user filters for given report param: int $reportid param: int|null $userid param: int $index If specified, then preferences will be reset starting from this index return: bool |
reset_single(int $reportid, string $uniqueidentifier, int $userid = null) X-Ref |
Reset single user filter for given report param: int $reportid param: string $uniqueidentifier param: int|null $userid return: bool |
get_all_for_user(int $userid) X-Ref |
Get all report filters for given user This is primarily designed for the privacy provider, and allows us to preserve all the preference logic within this class. param: int $userid return: array |