Functions
Search API
Primary tabs
Name![]() |
Location | Description |
---|---|---|
content_display_content_admin_list |
modules/ |
Display a list of content for the administrator |
content_dialog_handle_after_save |
modules/ |
This is the URL we redirect to after saving a piece of content in a dialog, so all we really want to do is close the dialog and reload the parent page. |
content_cron |
modules/ |
hook_cron |
content_content_save |
modules/ |
Implements hook_content_save. We will save the content object to the database. |
content_content_register_content_type |
modules/ |
Implementation of this module's hook_content_register_content_type. |
content_content_load |
modules/ |
Implementation of content's hook_content_load |
content_blocks |
modules/ |
hook_blocks. Returns an array of available blocks offered by this module in this format: array( delta => "This is the title of the block.", ), ); |
content_add_new_uploaded_file |
modules/ |
bool_replace_existing means should we replace an existing file (based on filename) with this new one? Instead of creating an INSERT, that is. |
comments_render_comment |
modules/ |
Display the comment array in a pretty way. |
comments_popup_display_comment |
modules/ |
|
comments_popup_display_all_comments |
modules/ |
Displays all comments for a student in a popup window, meant for printing. |
comments_perm |
modules/ |
|
comments_perform_delete_comment |
modules/ |
"delete" a comment (actually, all we do is flag it as deleted) |
comments_menu |
modules/ |
|
comments_get_comments |
modules/ |
Returns an array of comments for this student, sorted most recent first. |
comments_get_comment |
modules/ |
|
comments_display_main |
modules/ |
This displays the primary Comments tab, where we see past comments and can enter a new one (with the right permissions). |
comments_cron |
modules/ |
hook_cron |
comments_comment_form_submit |
modules/ |
|
comments_comment_form |
modules/ |
This is the form to enter a new comment. |
comments_can_access_comments |
modules/ |
Used by the menu to determine if the comments tab should appear. |
clear_session_form_values |
includes/ |
Clear the form submissions variable from the SESSION for this callback. |
calendar_update |
modules/ |
|
calendar_schedule_appointment_confirm_form_validate |
modules/ |
This is our last chance to validate the form before saving. |
calendar_schedule_appointment_confirm_form_submit |
modules/ |
We passed validation, it's time to actually submit now! |
calendar_schedule_appointment_confirm_form |
modules/ |
The confirmation form the user will see once they have made their schedule selections. |
calendar_render_mini_calendar |
modules/ |
|
calendar_perm |
modules/ |
|
calendar_menu |
modules/ |
implements hook_menu |
calendar_install |
modules/ |
Hook install. Called when the module is installed on the admin modules page. |
calendar_ics_split |
modules/ |
This lets us split up a line for ics into 75-char octets, according to the rules from: https://icalendar.org/iCalendar-RFC-5545/3-1-content-lines.html |
calendar_get_upcoming_appointments_for_cwid |
modules/ |
Returns an array of upcoming appointments, where the user is specified by CWID. start_date and end_date is meant to be in UTC, in the form of Y-m-d |
calendar_get_ics_invitation_string |
modules/ |
Return back an ics file (as a string) to be used as an attachment for emails, which will facilitate a calendar invitation. |
calendar_get_date_range |
modules/ |
Creating date collection between two dates |
calendar_get_available_times_on_date |
modules/ |
|
calendar_get_available_faculty_schedule |
modules/ |
Returns back an array of time slots available for this faculty member and event_type |
calendar_get_appointments_for_faculty |
modules/ |
Return back a list of appointment content nodes for this faculty member, which fall between the specified datetimes. |
calendar_form_alter |
modules/ |
Implements hook_form_alter |
calendar_find_and_remind_notify_upcoming_appointments |
modules/ |
This function will find appointments approaching within X number of minutes, and send out notifications to all involved. |
calendar_display_user_appointment_settings_page |
modules/ |
This page is where the user can configure their various appointment settings (like when they offer them) |
calendar_display_upcoming_appointments |
modules/ |
|
calendar_display_schedule_staff_page |
modules/ |
This page (primarily meant for students) is for quickly finding your advisor or professor or whomever, and finding their link to schedule an appointment with them. |
calendar_display_schedule_appointment_page |
modules/ |
This is the page which lets students schedule an appointment with the faculty member supplied in the user_id. |
calendar_display_schedule_appointment_completed_page |
modules/ |
The user has successfully completed their appointment scheduling. Display a Thank You page. |
calendar_display_mobile_date_page |
modules/ |
This function is specifically for displaying the events on a particular day for the user, presumed to be in a mobile experience. |
calendar_display_calendar |
modules/ |
|
calendar_cron |
modules/ |
Implements hook_cron |
calendar_content_register_content_type |
modules/ |
For use with the content module. We will register our custom content type(s) for use with this module. |
calendar_content_alter |
modules/ |
Implements hook_content_alter. We want to alter the way that our calendar appointments are displayed. |
calendar_confirm_cancel_appointment_form_submit |
modules/ |