Functions
Search API
Primary tabs
Name![]() |
Location | Description |
---|---|---|
include_module |
includes/ |
This will find and include the module in question, calling it's hook_init() function if it has one. |
include_module_install |
includes/ |
Find and include the module's .install file, if it exists. Returns TRUE or FALSE if it was able to find & include the file. |
install_check_requirements |
./ |
Check for missing requirements of the system. |
install_display_db_form |
./ |
Displays the form to let a user set up a new database |
install_display_lang_selection |
./ |
|
install_display_requirements |
./ |
Displays the requirements on screen for the user. |
install_get_random_string |
./ |
|
install_get_settings_file_template |
./ |
Returns a template for a new settings file. |
install_output_to_browser |
./ |
|
install_perform_install |
./ |
Actually performs the installation of FlightPath |
invoke_hook |
includes/ |
Invoke all module hooks for the supplied hook. |
is_serialized_string |
includes/ |
From: https://stackoverflow.com/questions/1369936/check-to-see-if-a-string-is-... |
l |
includes/ |
This works like Drupal's l() function for creating links. Ex: l("Click here for course search!", "tools/course-search", "abc=xyz&hello=goodbye", array("class" => "my-class")); Do not… |
lassie_check |
modules/ |
Check to see if an email needs to be sent regarding this job. |
lassie_check_all |
modules/ |
Check all of the jobs we are currently waiting on. |
lassie_cron |
modules/ |
Implements hook_cron |
lassie_finish |
modules/ |
Tell Lassie that we have finished the job. |
lassie_get_machine_name |
modules/ |
Converts the string into a compatible "machine name" for Lassie to use. |
lassie_start |
modules/ |
Set a new job for Lassie to watch. |
masquerade_form |
modules/ |
This form will let the user specify which user they wish to impersonate. |
masquerade_form_submit |
modules/ |
The submit handler for masquerade_form. |
masquerade_init |
modules/ |
|
masquerade_menu |
modules/ |
Implementation of hook_menu |
masquerade_perform_masquerade |
modules/ |
Actually perform the switching of users to the selected user. |
masquerade_perm |
modules/ |
Implementation of hook_perm |
menu_check_user_access |
includes/ |
Looks at the router item's details (from menu_get_item) and returns TRUE or FALSE if the user can access this item. |
menu_convert_replacement_pattern |
includes/ |
Look for modules implementing hook_menu_handle_replacement_pattern, and apply to str. |
menu_execute_page_request |
includes/ |
|
menu_get_item |
includes/ |
Figure out which menu_router path matches the supplied path and return it. |
menu_get_items_beginning_with |
includes/ |
Return menu_items whose path begins with the menu_root. Ex: "tools" would return tools/fun and tools/here/there |
menu_get_items_in_tab_family |
includes/ |
|
menu_get_menu_router_item_from_db |
includes/ |
Return array from menu_router for this item. * |
menu_get_module_path |
includes/ |
|
menu_rebuild_cache |
includes/ |
Go through all installed modules and rebuild the menu_router table, based on each module's hook_menu function. |
modules_implement_hook |
includes/ |
Return an array of enabled modules which implement the provided hook. Do not include the preceeding "_" on the hook name! |
module_enabled |
includes/ |
Simple function that returns TRUE if the module is enabled, FALSE otherwise. |
notify_by_mail |
modules/ |
|
notify_by_sms |
modules/ |
|
notify_install |
modules/ |
|
notify_save_notification |
modules/ |
Actually writes our notification to our notification_history table. |
notify_send_notification_to_user |
modules/ |
$cid is the related content's cid, if applicable. |
notify_update |
modules/ |
|
pager_get_querystring |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_ge... |
pager_load_array |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_lo... |
pager_query |
includes/ |
Code adapted from Drupal 6: https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_qu... |
ppm |
includes/ |
Alias of pretty_print($var) |
prereqs_content_alter |
modules/ |
Implememnt hook_content_alter |
prereqs_edit_course_form_submit |
modules/ |
Our submit handler. |
prereqs_edit_course_form_validate |
modules/ |
validate for the edit course form, from admin.courses.inc. |
prereqs_form_alter |
modules/ |
Implements hook_form_alter |