Functions
Search API
Primary tabs
Name | Location | Description |
---|---|---|
engagements_create_new_tracking_img_url |
modules/ |
Generates a URL to our tracking pixel, based on the cid included. |
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_send_email_or_txt_form_submit |
modules/ |
|
engagements_send_email_or_txt_form_validate |
modules/ |
|
engagements_form_alter |
modules/ |
Implements hook_form_alter |
engagements_convert_to_pretty_phone_number |
modules/ |
|
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_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_perm |
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_imap_get_body |
modules/ |
|
_engagements_imap_get_attachments |
modules/ |
$inbox is the imap link. email_number is msg_no. |
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_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_get_fp_price |
modules/ |
figure out the price we will charge. |
engagements_sms_get_all_messages |
modules/ |
Retrieve all messages, update the ones which don't have prices associated with them yet. |
engagements_cron |
modules/ |
Implements hook_cron |
engagements_get_sms_from_history |
modules/ |
|
engagements_get_from_phones_for_fapi |
modules/ |
Returns back the phone lines available. |
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_user_notify_sms_receipt_values |
modules/ |
Get an array of numbers which the user should be notified of when they receive an SMS. |
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_from_phones |
modules/ |
Get the available "from phone" numbers in an organized array structure. |
engagements_sms_replace_patterns |
modules/ |
|
engagements_mass_sms_perform_batch_operation |
modules/ |
|
engagements_handle_sms_stop |
modules/ |
This function is called by engagements_handle_incoming_sms, when we receive 'STOP' from the user. We must add them to our "sms_do_not_txt" table, and send a reply letting them know how to re-subscribe in the future. |
engagements_display_advisee_engagements_page |
modules/ |
|
engagements_get_signalwire_sms_error_codes_array |
modules/ |
|
engagements_can_send_sms_to_number |
modules/ |
|
engagements_handle_sms_unstop |
modules/ |
User opted-IN to receiving txt messages. |
engagements_install |
modules/ |
Hook install. Called when the module is installed on the admin modules page. |
engagements_update |
modules/ |
|
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_decrypt |
modules/ |
This will decrypt an encrypted string. |
encryption_encrypt |
modules/ |
|
encryption_menu |
modules/ |
Implements hook_menu |
encryption_perm |
modules/ |
Implements hook_perm |
encryption_get_hash_protocol |
modules/ |
This looks at the hash_algos() return to see if we can use SHA256, else return FALSE. |
encryption_get_key |
modules/ |
Returns back a suitable key, either from our string or file location. |
encryption_settings_form_submit |
modules/ |
The submit handler |
encryption_settings_form_validate |
modules/ |
|
encryption_settings_form |
modules/ |
|
course_search_menu |
modules/ |
|
course_search_perm |
modules/ |
|
course_search_settings_form |
modules/ |
The system settins form for course_search settings. |
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/ |