You are here

Functions in Profile Complete Percent 7

Primary tabs

Namesort descending Location Description Direct uses Strings
pcp_admin_settings includes/pcp.admin.inc Form builder; Configure PCP fields for core profile. 1
pcp_admin_settings_form_data includes/pcp.admin.inc Function that sets up parameters to be used when the pcp_admin_settings_form() function is executed. 2
pcp_admin_settings_submit includes/pcp.admin.inc Submit callback. 3
pcp_block_info ./pcp.module Implements hook_block_info().
pcp_block_view ./pcp.module Implements hook_block_view().
pcp_delete_field_requireness ./pcp.module Called when a user deletes a profile field We then need to delete the pcp value too 1
pcp_form_alter ./pcp.module Implements hook_form_alter().
pcp_form_field_ui_field_delete_form_alter ./pcp.module Implements hook_form_FORM_ID_alter(). We need an extra submit handler to delete the PCP field settings when a field is deleted
pcp_form_field_ui_field_edit_form_alter ./pcp.module Implements hook_form_FORM_ID_alter().
pcp_form_profile2_type_form_alter ./pcp.module Implements hook_form_FORM_ID_alter(). Form builder; Configure PCP fields for profile2 profile types.
pcp_form_user_admin_settings_alter ./pcp.module Implements hook_form_FORM_ID_alter().
pcp_get_additional_tagged_fields ./pcp.module Get all additional tagged fields that where not created using the profile module. This allows additional PCP support for other drupal features. 1
pcp_get_bundles ./pcp.module Get array of available pcp bundles.
pcp_get_complete_percentage_data ./pcp.module Get the profile complete percentage data for a given user. 6
pcp_get_profile_fields ./pcp.module Get all the profile fields stored in the system, tagged or not tagged. 1
pcp_get_tagged_profile_fields ./pcp.module Get all the profile fields that have been tagged. If an $fiid is passed in, only the data for that field will be returned. 3
pcp_get_user_additional_values ./pcp.module Return a users additional field values that have been saved for a given user. 1
pcp_get_user_profile_values ./pcp.module Return a users profile field values that have been saved for a given user. 1
pcp_menu ./pcp.module Implements hook_menu().
pcp_permission ./pcp.module Implements hook_permission().
pcp_rules_condition_info ./pcp.rules.inc Implements hook_rules_condition_info().
pcp_rules_profile_is_completed ./pcp.rules.inc Helper function for the condition 'User profile is completed' 1
pcp_theme ./pcp.module Implements hook_theme().
pcp_tokens ./pcp.tokens.inc Implements hook_tokens().
pcp_token_info ./pcp.tokens.inc Implements hook_token_info().
pcp_uninstall ./pcp.install Implements hook_uninstall().
pcp_update_7000 ./pcp.install Implements hook_update(). Change schema and profile_pcp values for compatibility with Profile2.
pcp_update_7001 ./pcp.install We don't need a table to store our configuration. So move all settings to a variable.
pcp_update_7002 ./pcp.install Update the fields to use machine names.
pcp_user_login ./pcp.module Implements hook_user_login().
pcp_views_api ./pcp.module Implements hook_views_api().
pcp_views_data_alter includes/pcp.views.inc Implements hook_views_data_alter().
template_preprocess_pcp_template ./pcp.module Process variables for pcp-template.tpl.php.
_pcp_block_identifier ./pcp.module Helper function to retrieve the block identifier. Because block names cannot be longer than 32 characters, we make a md5 string if it's longer. 2
_pcp_check_user_field_access ./pcp.module Check is the user has access to the field. 1
_pcp_disable_field ./pcp.module 3
_pcp_enable_field ./pcp.module 2
_pcp_save_profile_fields includes/pcp.admin.inc Utility function used to save fields. 1

Other projects