Functions

NameLocationDescription
system_disable_modulemodules/system/system.moduleHandles the disabling of the module in question.
system_display_completed_db_updatesmodules/system/system.moduleOnce db updates are run, display contents of this page.
system_display_install_finished_pagemodules/system/system.moduleThis page is displayed to the user once FlightPath has been installed.
system_display_login_pagemodules/system/system.moduleDisplay the "login" page. This is the default page displayed to the user, at /login, if they have not logged in yet.
system_display_main_pagemodules/system/system.moduleDisplay the "main" tab-page for FlightPath. Displays announcements as well as the Tools menu, and the "special administrative tools" menu.
system_display_status_pagemodules/system/system.moduleThis page displayes the results of each module's hook_status.
system_enablemodules/system/system.installImplementation of hook_enable.
system_enable_modulemodules/system/system.moduleHandles the enabling (and possible installation) of module.
system_execute_php_formmodules/system/system.module
system_execute_php_form_submitmodules/system/system.module
system_get_roles_for_usermodules/system/system.moduleReturn an array containing the roles which have been assigned to a specific user.
system_handle_form_submitmodules/system/system.moduleIntercepts form submissions from System Settings Forms.
system_handle_logoutmodules/system/system.module
system_handle_uninstall_modulemodules/system/system.moduleCalled from the menu (ie, a URL) this function will uninstall a module.
system_initmodules/system/system.moduleCalled on every page load.
system_installmodules/system/system.installImplementation of hook_install.
system_login_formmodules/system/system.moduleThis draws the form which facilitates logins.
system_login_form_submitmodules/system/system.moduleSubmit handler for login form. If we are here, it probably means we have indeed authenticated. Just in case, we will test the form_state["passed_authentication"] value, which we expect to have been set in our validate handler.
system_login_form_validatemodules/system/system.moduleValidate function for the login form. This is where we will do all of the lookups to verify username and password. If you want to write your own login handler (like for LDAP) this is the function you would duplicate in a custom module, then use…
system_menumodules/system/system.module
system_modules_formmodules/system/system.moduleThis is the form which an admin may use to manage the modules in the system.
system_modules_form_submitmodules/system/system.moduleSubmit handler for the modules form.
system_perform_clear_cachemodules/system/system.moduleThis function will clear our various caches by calling on the hook_clear_cache in each module.
system_perform_clear_menu_cachemodules/system/system.moduleClears only the menu cache
system_perform_run_cronmodules/system/system.moduleCalled from menu, will run hook_cron() for all modules.
system_permmodules/system/system.moduleImplementation of hook_perm(). Expects to return an array of permissions recognized by this module.
system_popup_report_contact_formmodules/system/system.moduleThis is the form which lets users send an email to the FlightPath production team,
system_popup_report_contact_form_submitmodules/system/system.module
system_popup_report_contact_thank_youmodules/system/system.moduleThis is the thank you page you see after submitting the contact form.
system_render_blockmodules/system/system.module
system_school_data_formmodules/system/system.moduleThis form is for the school-data, like subject code descriptions, colleges, etc.
system_school_data_form_validatemodules/system/system.moduleValidate handler for the school_data_form.
system_settings_formmodules/system/system.moduleThis is the "system settings" form.
system_settings_form_submitmodules/system/system.moduleExtra submit handler for the system_settings_form
system_statusmodules/system/system.moduleImplementation of hook_status Expected return is array( "severity" => "normal" or "warning" or "alert", "status" => "A message to display to the user.", );
system_updatemodules/system/system.install
tincludes/misc.incEventually, this function will be used to translate strings. For now, just pass through. Allows variable replacements. Use like this: t("@name's blob", array("@name" => "Richard")); or simply t("My…
timer_readincludes/misc.incWorks with the timer_start() function to return how long it has been since the start.
timer_startincludes/misc.incBegin a microtime timer for later use.
tinymce_config_formmodules/tinymce/tinymce.module
tinymce_form_altermodules/tinymce/tinymce.moduleImplementation of hook_form_alter
tinymce_initmodules/tinymce/tinymce.module
tinymce_installmodules/tinymce/tinymce.installImplementation of hook_install
tinymce_menumodules/tinymce/tinymce.moduleImplementation of hook_menu
tinymce_permmodules/tinymce/tinymce.module
update_status_check_nowmodules/update_status/update_status.moduleThis will force a re-check of modules for this update_status module.
update_status_cronmodules/update_status/update_status.moduleImplementation of hook_cron()
update_status_get_install_status_urlmodules/update_status/update_status.moduleReturns a URL containing install statuses for all installed modules on this site.
update_status_menumodules/update_status/update_status.moduleImplementation of hook_menu
update_status_perform_checkmodules/update_status/update_status.moduleThis function actually performs the update status check with getflightpath.com

Pages