accept_policies($policyversionid, $userid=null, $note=null, $lang=null) | tool_policy\api | static |
can_accept_policies(array $versionids, $userid=null, $throwexception=false) | tool_policy\api | static |
can_decline_policies(array $versionids, $userid=null, $throwexception=false) | tool_policy\api | static |
can_delete_version($version) | tool_policy\api | static |
can_revoke_policies(array $versionids, $userid=null, $throwexception=false) | tool_policy\api | static |
can_user_view_policy_version($policy, $behalfid=null, $userid=null) | tool_policy\api | static |
count_total_users() | tool_policy\api | static |
create_acceptances_user_created(\core\event\user_created $event) | tool_policy\api | static |
decline_policies($policyversionid, $userid=null, $note=null, $lang=null) | tool_policy\api | static |
delete($versionid) | tool_policy\api | static |
distribute_policy_document_sortorder() | tool_policy\api | protectedstatic |
fix_revision_values(array $versions) | tool_policy\api | static |
form_policydoc_add(stdClass $form) | tool_policy\api | static |
form_policydoc_data(policy_version $version) | tool_policy\api | static |
form_policydoc_update_new(stdClass $form) | tool_policy\api | static |
form_policydoc_update_overwrite(stdClass $form) | tool_policy\api | static |
get_agreement_optional($versionid) | tool_policy\api | static |
get_current_versions_ids($audience=null) | tool_policy\api | static |
get_policies_with_acceptances($userid) | tool_policy\api | static |
get_policy_version($versionid, $policies=null) | tool_policy\api | static |
get_user_acceptances($userid, $versions=null) | tool_policy\api | static |
get_user_minors($userid, array $extrafields=null) | tool_policy\api | static |
get_user_version_acceptance($userid, $versionid, $acceptances=null) | tool_policy\api | static |
inactivate($policyid) | tool_policy\api | static |
is_user_version_accepted($userid, $versionid, $acceptances=null) | tool_policy\api | static |
list_current_versions($audience=null) | tool_policy\api | static |
list_policies($ids=null, $countacceptances=false) | tool_policy\api | static |
make_current($versionid) | tool_policy\api | static |
move_down($policyid) | tool_policy\api | static |
move_policy_document($policyid, $step) | tool_policy\api | protectedstatic |
move_up($policyid) | tool_policy\api | static |
policy_content_field_options() | tool_policy\api | static |
policy_summary_field_options() | tool_policy\api | static |
revert_to_draft($versionid) | tool_policy\api | static |
revoke_acceptance($policyversionid, $userid, $note=null) | tool_policy\api | static |
set_acceptances_status($policyversionid, $userid=null, $note=null, $lang=null, $status=1) | tool_policy\api | protectedstatic |
update_policyagreed($user=null) | tool_policy\api | static |