You are here

Functions in Encrypt Submissions 6

Primary tabs

Namesort descending Location Description Direct uses Strings
encrypt_submissions_add_form_css_js ./encrypt_submissions.module We will use this function as an #after_build to ensure we always attach our CSS and JS to the page. 1
encrypt_submissions_admin_form ./encrypt_submissions.module This is our admin/settings/encrypt-submissions form. 1
encrypt_submissions_check_library_files_exist ./encrypt_submissions.module This function will check to see if the jcryption libraries have been installed correctly, and warn the user if they have not. 4
encrypt_submissions_form_alter ./encrypt_submissions.module
encrypt_submissions_generate_keypair ./encrypt_submissions.module This function, taken largely from the examples which come with jCryption, is called by AJAX and returns the relavant values needed to encrypt our form. It also places those same values into the SESSION, so we can decrypt it after the form submits. 1
encrypt_submissions_init ./encrypt_submissions.module
encrypt_submissions_install ./encrypt_submissions.install Implementation of hook_install. All we really need from this is to make sure that the module's weight is lower than other's, so that our hook_init fires before everyone else's
encrypt_submissions_menu ./encrypt_submissions.module Implementation of hook_menu
encrypt_submissions_perm ./encrypt_submissions.module Implementation of hook_perm.
encrypt_submissions_uninstall ./encrypt_submissions.install Implementation of hook_uninstall. We want to remove our extra variables from the variable table, to be tidy.
encrypt_submissions_update_7100 ./encrypt_submissions.install In this update, we make sure the weight has been set low as in hook_install

Other projects