[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-xprofile/ -> bp-xprofile-admin.php (summary)

BuddyPress XProfile Admin.

File Size: 806 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  xprofile_add_admin_menu()
  xprofile_admin()
  xprofile_admin_screen()
  xprofile_admin_manage_group()
  xprofile_admin_delete_group()
  xprofile_admin_manage_field()
  xprofile_admin_delete_field()
  xprofile_ajax_reorder_fields()
  xprofile_ajax_reorder_field_groups()
  xprofile_admin_field()
  bp_xprofile_admin_form_field_types()

Functions
Functions that are not part of a class:

xprofile_add_admin_menu()   X-Ref
Creates the administration interface menus and checks to see if the DB
tables are set up.

return: bool
since: 1.0.0

xprofile_admin( $message = '', $type = 'error' )   X-Ref
Handles all actions for the admin area for creating, editing and deleting
profile groups and fields.

since: 1.0.0
param: string $message Message to display.
param: string $type    Type of action to be displayed.

xprofile_admin_screen( $message = '', $type = 'error' )   X-Ref
Output the main XProfile management screen.

since: 2.3.0
param: string $message Feedback message.
param: string $type    Feedback type.

xprofile_admin_manage_group( $group_id = null )   X-Ref
Handles the adding or editing of groups.

since: 1.0.0
param: int|null $group_id Group ID to manage.

xprofile_admin_delete_group( $group_id )   X-Ref
Handles the deletion of profile data groups.

since: 1.0.0
param: int $group_id ID of the group to delete.

xprofile_admin_manage_field( $group_id, $field_id = null )   X-Ref
Handles the adding or editing of profile field data for a user.

since: 1.0.0
param: int      $group_id ID of the group.
param: int|null $field_id ID of the field being managed.

xprofile_admin_delete_field( $field_id, $field_type = 'field', $delete_data = false )   X-Ref
Handles the deletion of a profile field (or field option).

since: 1.0.0
param: int    $field_id    The field to delete.
param: string $field_type  The type of field being deleted.
param: bool   $delete_data Should the field data be deleted too.

xprofile_ajax_reorder_fields()   X-Ref
Handles the ajax reordering of fields within a group.

since: 1.0.0

xprofile_ajax_reorder_field_groups()   X-Ref
Handles the reordering of field groups.

since: 1.5.0

xprofile_admin_field( $admin_field, $admin_group, $class = '' )   X-Ref
Handles the WYSIWYG display of each profile field on the edit screen.

since: 1.5.0
param: BP_XProfile_Field   $admin_field Admin field.
param: object $admin_group Admin group object.
param: string $class       Classes to append to output.

bp_xprofile_admin_form_field_types( $select_field_type )   X-Ref
Print <option> elements containing the xprofile field types.

since: 2.0.0
param: string $select_field_type The name of the field type that should be selected.



Generated: Wed Dec 11 01:01:37 2019 Cross-referenced by PHPXref 0.7.1