69 calls to user_has_permission()
Search API
- admin_display_main in modules/
admin/ admin.module - This is the "main" page for the admin module. It's what the user first sees when the click to go to the Admin page.
- admin_edit_course_form in modules/
admin/ admin.courses.inc - This form lets the user edit details about a course.
- admin_edit_course_form_submit in modules/
admin/ admin.courses.inc - admin_edit_degree_form in modules/
admin/ admin.degrees.inc - Meant to replace the old-fashioned display_edit_degree function...
- admin_edit_degree_form_submit in modules/
admin/ admin.degrees.inc - admin_edit_group_form in modules/
admin/ admin.groups.inc - This function lets the user edit a group.
- admin_edit_group_form_submit in modules/
admin/ admin.groups.inc - advise_can_access_view in modules/
advise/ advise.module - Used by the menu to determine if the user can see the View (Degree and What If) tab for the current student.
- advise_display_history in modules/
advise/ advise.history.inc - Displays the history tab on screen.
- advise_display_popup_course_description in modules/
advise/ advise.module - advise_display_popup_group_select in modules/
advise/ advise.module - advise_display_view in modules/
advise/ advise.module - This is the page which actually displays the "view" for the user to see their advising session, or for an advisor to advise them.
- advise_user_can_view_advising_session_access_callback in modules/
advise/ advise.module - This is an access callback. Can the user view the advising session specified in the REQUEST?
- AdvisingScreen::build_footnotes in classes/
AdvisingScreen.php - Constructs the HTML which will show footnotes for substitutions and transfer credits.
- AdvisingScreen::display_popup_course_description in classes/
AdvisingScreen.php - Displays the contents of the Descripton tab for the course popup.
- AdvisingScreen::display_popup_group_select in classes/
AdvisingScreen.php - This function displays the popup which lets a user select a course to be advised into a group.
- AdvisingScreen::display_screen in classes/
AdvisingScreen.php - This function generates the HTML to display the screen. Should be used in conjunction with output_to_browser()
- AdvisingScreen::draw_course_row in classes/
AdvisingScreen.php - This is used by lots of other functions to display a course on the screen. It will show the course, the hours, the grade, and quality points, as well as any necessary icons next to it.
- AdvisingScreen::draw_menu_items in classes/
AdvisingScreen.php - Uses the draw_menu_item method to draw the HTML for all the supplied menu items, assuming the user has permission to view them.
- alerts_advisees_alerts_form in modules/
alerts/ alerts.module - Displays alerts for our various advisees.
- audit_can_access_audit in modules/
audit/ audit.module - Used by the menu to determine if the user can see the Audit tab at all.
- audit_display_audit in modules/
audit/ audit.module - audit_hidden_approval_form_submit in modules/
audit/ audit.module - blank_degrees_display_blank_degree in modules/
blank_degrees/ blank_degrees.module - calendar_access_can_cancel_appointment in modules/
calendar/ calendar.module - Make sure the user is allowed to cancel this appointment.
- calendar_build_custom_calendar in modules/
calendar/ calendar.module - Actually renders the HTML for the calendar.
- calendar_content_alter in modules/
calendar/ calendar.module - Implements hook_content_alter. We want to alter the way that our calendar appointments are displayed.
- comments_can_access_comments in modules/
comments/ comments.module - Used by the menu to determine if the comments tab should appear.
- comments_display_main in modules/
comments/ comments.module - This displays the primary Comments tab, where we see past comments and can enter a new one (with the right permissions).
- comments_perform_delete_comment in modules/
comments/ comments.module - "delete" a comment (actually, all we do is flag it as deleted)
- comments_popup_display_all_comments in modules/
comments/ comments.module - Displays all comments for a student in a popup window, meant for printing.
- comments_render_comment in modules/
comments/ comments.module - Display the comment array in a pretty way.
- content_display_content_admin_list in modules/
content/ content.module - Display a list of content for the administrator
- content_public_files_form in modules/
content/ content.module - This screen lets the user upload/manage/delete "public files" stored at custom/files/content_uploads/public_uploads/
- content_user_access in modules/
content/ content.module - Custom user access function to determine if the user can add, edit, etc, the content
- course_search_display_search in modules/
course_search/ course_search.module - Displays the search pulldown for the user to use to find courses.
- engagements_display_main in modules/
engagements/ engagements.module - displays the main Engagements tab, which shows the history of past engagements.
- engagements_get_from_phones_for_fapi in modules/
engagements/ engagements.module - Returns back the phone lines available.
- FlightPath::flag_outdated_substitutions in classes/
FlightPath.php - FlightPath::save_advising_session_from_post in classes/
FlightPath.php - fpm in includes/
misc.inc - Uses fp_add_message, but in this case, it also adds in the filename and line number which the message came from!
- fp_render_student_profile_header in includes/
theme.inc - Returns the HTML for the "profile" header html for a student
- fp_render_top_nav_content in includes/
theme.inc - Returns the HTML for the top navigation content of the screen itself.
- prereqs_content_alter in modules/
prereqs/ prereqs.module - Implememnt hook_content_alter
- prereqs_theme_advise_course_row in modules/
prereqs/ prereqs.module - Implements hook_theme_advise_course_row. Lets us re-write how our course rows are drawn, if desired.
- schools_check_access in modules/
schools/ schools.module - this is our custom access callback.
- schools_content_alter in modules/
schools/ schools.module - schools_get_schools_for_fapi in modules/
schools/ schools.module - Return a list of schools in an array, for use in the "options" of a select list in the Form API.
- search_user_can_search_for_some_advisees in modules/
student_search/ student_search.module - Basically, can the user see the "Advisees" tab at all? The answer is TRUE if they have any of the permissions that let them do so.
- Student::load_courses_taken in classes/
Student.php - student_files_content_alter in modules/
student_files/ student_files.module - Implememnt hook_content_alter
- student_files_user_may_delete_student_file in modules/
student_files/ student_files.module - Returns TRUE or FALSE if the current user is allowed to delete the file.
- student_files_user_may_download_student_file in modules/
student_files/ student_files.module - Returns TRUE or FALSE if the user has access to download this particular student's file.
- student_profile_display_student_profile_page in modules/
student_profile/ student_profile.module - student_search_get_school_ids_user_is_allowed_to_search in modules/
student_search/ student_search.module - student_search_query_advisees in modules/
student_search/ student_search.module - The limit is how many we will query, and also how many will appear on the page at one time.
- system_can_access_student in modules/
system/ system.module - Used by the menu to determine if the user can access some basic information about the student (like Profile page, etc)
- system_display_dashboard_page in modules/
system/ system.module - This is the "dashboard" page for FlightPath, which replaces the "main" page from FP 5.
- system_execute_php_form_submit in modules/
system/ system.module - system_popup_report_contact_form in modules/
system/ system.module - This is the form which lets users send an email to the FlightPath production team,
- update_status_status in modules/
update_status/ update_status.module - Implementation of hook_status.
- user_alter_student_profile_items in modules/
user/ user.module - Implements hook_alter_student_profile_items
- user_edit_student_user_form in modules/
user/ user.student.inc - Let the user edit a studentuser's information.
- user_edit_student_user_form_submit in modules/
user/ user.student.inc - Submit handler for editing student users.
- user_edit_user_attributes_form in modules/
user/ user.module - user_edit_user_attributes_form_submit in modules/
user/ user.module - user_edit_user_form in modules/
user/ user.module - Let the user edit a user's roles and other information.
- user_edit_user_form_submit in modules/
user/ user.module - Submit handler for our edit faculty form
- user_user_settings_form in modules/
user/ user.module - This is the main settings form for a user.