approve_data_request($requestid) | tool_dataprivacy\api | static |
can_contact_dpo() | tool_dataprivacy\api | static |
can_create_data_deletion_request_for_children(int $userid, int $requesterid=null) | tool_dataprivacy\api | static |
can_create_data_deletion_request_for_other(int $userid=null) | tool_dataprivacy\api | static |
can_create_data_deletion_request_for_self(int $userid=null) | tool_dataprivacy\api | static |
can_create_data_download_request_for_self(int $userid=null) | tool_dataprivacy\api | static |
can_create_data_request_for_user($user, $requester=null) | tool_dataprivacy\api | static |
can_download_data_request_for_user($userid, $requesterid, $downloaderid=null) | tool_dataprivacy\api | static |
can_manage_data_requests($userid) | tool_dataprivacy\api | static |
check_can_manage_data_registry($contextid=false) | tool_dataprivacy\api | static |
create_category(stdClass $record) | tool_dataprivacy\api | static |
create_data_request($foruser, $type, $comments='', $creationmethod=data_request::DATAREQUEST_CREATION_MANUAL, $notify=null) | tool_dataprivacy\api | static |
create_expired_context($contextid) | tool_dataprivacy\api | static |
create_purpose(stdClass $record) | tool_dataprivacy\api | static |
DATAREQUEST_ACTION_APPROVE | tool_dataprivacy\api | |
DATAREQUEST_ACTION_REJECT | tool_dataprivacy\api | |
DATAREQUEST_STATUS_APPROVED | tool_dataprivacy\api | |
DATAREQUEST_STATUS_AWAITING_APPROVAL | tool_dataprivacy\api | |
DATAREQUEST_STATUS_CANCELLED | tool_dataprivacy\api | |
DATAREQUEST_STATUS_COMPLETE | tool_dataprivacy\api | |
DATAREQUEST_STATUS_DELETED | tool_dataprivacy\api | |
DATAREQUEST_STATUS_DOWNLOAD_READY | tool_dataprivacy\api | |
DATAREQUEST_STATUS_EXPIRED | tool_dataprivacy\api | |
DATAREQUEST_STATUS_PENDING | tool_dataprivacy\api | |
DATAREQUEST_STATUS_PROCESSING | tool_dataprivacy\api | |
DATAREQUEST_STATUS_REJECTED | tool_dataprivacy\api | |
DATAREQUEST_TYPE_DELETE | tool_dataprivacy\api | |
DATAREQUEST_TYPE_EXPORT | tool_dataprivacy\api | |
DATAREQUEST_TYPE_OTHERS | tool_dataprivacy\api | |
delete_category($id) | tool_dataprivacy\api | static |
delete_expired_context($id) | tool_dataprivacy\api | static |
delete_purpose($id) | tool_dataprivacy\api | static |
deny_data_request($requestid) | tool_dataprivacy\api | static |
find_ongoing_request_types_for_users(array $userids) | tool_dataprivacy\api | static |
format_retention_period(\DateInterval $interval) | tool_dataprivacy\api | static |
get_approved_contextlist_collection_for_collection(contextlist_collection $collection, stdClass $foruser, int $type) | tool_dataprivacy\api | static |
get_assigned_privacy_officer_roles() | tool_dataprivacy\api | static |
get_categories() | tool_dataprivacy\api | static |
get_data_requests($userid=0, $statuses=[], $types=[], $creationmethods=[], $sort='', $offset=0, $limit=0) | tool_dataprivacy\api | static |
get_data_requests_count($userid=0, $statuses=[], $types=[], $creationmethods=[]) | tool_dataprivacy\api | static |
get_download_link(\context_user $usercontext, $requestid) | tool_dataprivacy\api | static |
get_dpo_role_names() | tool_dataprivacy\api | static |
get_effective_context_category(\context $context, $forcedvalue=false) | tool_dataprivacy\api | static |
get_effective_context_purpose(\context $context, $forcedvalue=false) | tool_dataprivacy\api | static |
get_effective_contextlevel_category($contextlevel) | tool_dataprivacy\api | static |
get_effective_contextlevel_purpose($contextlevel, $forcedvalue=false) | tool_dataprivacy\api | static |
get_purposes() | tool_dataprivacy\api | static |
get_request($requestid) | tool_dataprivacy\api | static |
get_site_dpos() | tool_dataprivacy\api | static |
has_ongoing_request($userid, $type) | tool_dataprivacy\api | static |
is_active($status) | tool_dataprivacy\api | static |
is_automatic_request_approval_on(int $type) | tool_dataprivacy\api | static |
is_site_dpo($userid) | tool_dataprivacy\api | static |
notify_dpo($dpo, data_request $request) | tool_dataprivacy\api | static |
queue_data_request_task(int $requestid, int $userid=null) | tool_dataprivacy\api | static |
require_can_create_data_request_for_user($user, $requester=null) | tool_dataprivacy\api | static |
set_context_defaults($contextlevel, $categoryid, $purposeid, $activity=null, $override=false) | tool_dataprivacy\api | static |
set_context_instance($record) | tool_dataprivacy\api | static |
set_contextlevel($record) | tool_dataprivacy\api | static |
set_expired_context_status(expired_context $expiredctx, $status) | tool_dataprivacy\api | static |
unset_context_instance(context_instance $instance) | tool_dataprivacy\api | static |
update_category(stdClass $record) | tool_dataprivacy\api | static |
update_purpose(stdClass $record) | tool_dataprivacy\api | static |
update_request_status($requestid, $status, $dpoid=0, $comment='') | tool_dataprivacy\api | static |