Functions
Search API
Primary tabs
Name | Location | Description |
---|---|---|
course_search_download_syllabus |
modules/ |
This function will actually deliver a syllabus to the user's browser for download. |
course_search_display_courses |
modules/ |
Show the user their select of courses. |
course_search_get_course_rotation_schedule_not_anticipated |
modules/ |
|
course_search_get_course_rotation_schedule |
modules/ |
|
course_search_get_course_syllabus_details |
modules/ |
|
course_search_display_search |
modules/ |
Displays the search pulldown for the user to use to find courses. |
encryption_perm |
modules/ |
Implements hook_perm |
encryption_menu |
modules/ |
Implements hook_menu |
encryption_settings_form |
modules/ |
|
encryption_settings_form_validate |
modules/ |
|
encryption_settings_form_submit |
modules/ |
The submit handler |
encryption_get_key |
modules/ |
Returns back a suitable key, either from our string or file location. |
encryption_get_hash_protocol |
modules/ |
This looks at the hash_algos() return to see if we can use SHA256, else return FALSE. |
encryption_get_cipher_algorithm |
modules/ |
Similar to the function above, this finds the "best" cipher which the server can support. Or, it can be manually set in the settings.php file by entering: $GLOBALS['encryption_cipher'] = 'NAME OF CIPHER'; |
encryption_encrypt |
modules/ |
|
encryption_decrypt |
modules/ |
This will decrypt an encrypted string. |
engagements_update |
modules/ |
|
engagements_install |
modules/ |
Hook install. Called when the module is installed on the admin modules page. |
engagements_menu |
modules/ |
Implement hook_menu |
engagements_imap_settings_form |
modules/ |
Configure the imap settings used by Engagements |
engagements_sms_settings_form |
modules/ |
Configure the various SMS settings |
engagements_get_sms_from_history |
modules/ |
|
engagements_cron |
modules/ |
Implements hook_cron |
engagements_sms_get_all_messages |
modules/ |
Retrieve all messages, update the ones which don't have prices associated with them yet. |
engagements_get_fp_price |
modules/ |
figure out the price we will charge. |
engagements_get_file_extension_from_mime_type |
modules/ |
This function will look at the mime type (aka content type) to figure out what the file extension should be. This is useful when retrieving txt message media. |
engagements_imap_get_all_received_messages |
modules/ |
Connect to our imap server, download all received messages from students (or others). We will then delete them, so they don't get read twice. |
_engagements_imap_get_attachments |
modules/ |
$inbox is the imap link. email_number is msg_no. |
_engagements_imap_get_body |
modules/ |
|
engagements_handle_tracking_pixel_request |
modules/ |
The user has opened an email with a tracking pixel. We will now record that it was opened in our engagements_tracking table. |
engagements_perm |
modules/ |
|
engagements_content_register_content_type |
modules/ |
For use with the content module. We will register our custom content type(s) for use with this module. |
engagements_convert_to_valid_phone_number |
modules/ |
Converts the string into a plain phone number, then tests to see if it is valid or not. RETURNS FALSE if not valid, otherwise, returns the converted phone number. This will be a valid number for use with our SMS service. (in the US anyway). |
engagements_convert_to_pretty_phone_number |
modules/ |
|
engagements_form_alter |
modules/ |
Implements hook_form_alter |
engagements_send_email_or_txt_form_validate |
modules/ |
|
engagements_send_email_or_txt_form_submit |
modules/ |
|
engagements_send_sms_to_number |
modules/ |
Actually send a text message. Will drupal_set_message() as an error if there is a problem, and return FALSE. Returns TRUE on success, no drupal_set_message is printed. |
engagements_create_new_tracking_img_url |
modules/ |
Generates a URL to our tracking pixel, based on the cid included. |
engagements_display_main |
modules/ |
displays the main Engagements tab, which shows the history of past engagements. |
engagements_mass_sms_form |
modules/ |
|
engagements_mass_sms_form_validate |
modules/ |
|
engagements_mass_sms_form_submit |
modules/ |
Our submit function. Our main task is simply to set off a batch routine. |
engagements_mass_sms_perform_batch_operation |
modules/ |
|
engagements_sms_replace_patterns |
modules/ |
|
engagements_get_from_phones |
modules/ |
Get the available "from phone" numbers in an organized array structure. |
engagements_handle_incoming_sms |
modules/ |
This catches incoming sms messages from POST, but can also be used by our "sms_get_all_messages" function, but it is also used by the sms_get_all_messages to save/update information. |
engagements_get_user_notify_sms_receipt_values |
modules/ |
Get an array of numbers which the user should be notified of when they receive an SMS. |
engagements_get_users_to_be_notified_for_sms_on_number |
modules/ |
Returns an array of all the user who should receive notifications when we receive an SMS at a particular number. |
engagements_get_from_phones_for_fapi |
modules/ |
Returns back the phone lines available. |