[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress XProfile Classes.
File Size: | 213 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_XProfile_Field_Type_Checkbox:: (5 methods):
__construct()
edit_field_html()
edit_field_options_html()
admin_field_html()
admin_new_field_html()
Class: BP_XProfile_Field_Type_Checkbox - X-Ref
Checkbox xprofile field type.__construct() X-Ref |
Constructor for the checkbox field type. since: 2.0.0 |
edit_field_html( array $raw_properties = array() X-Ref |
Output the edit field HTML for this field type. Must be used inside the {@link bp_profile_fields()} template loop. param: array $raw_properties Optional key/value array of since: 2.0.0 |
edit_field_options_html( array $args = array() X-Ref |
Output the edit field options HTML for this field type. BuddyPress considers a field's "options" to be, for example, the items in a selectbox. These are stored separately in the database, and their templating is handled separately. This templating is separate from {@link BP_XProfile_Field_Type::edit_field_html()} because it's also used in the wp-admin screens when creating new fields, and for backwards compatibility. Must be used inside the {@link bp_profile_fields()} template loop. param: array $args Optional. The arguments passed to {@link bp_the_profile_field_options()}. since: 2.0.0 |
admin_field_html( array $raw_properties = array() X-Ref |
Output HTML for this field type on the wp-admin Profile Fields screen. Must be used inside the {@link bp_profile_fields()} template loop. param: array $raw_properties Optional key/value array of permitted attributes that you want to add. since: 2.0.0 |
admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) X-Ref |
Output HTML for this field type's children options on the wp-admin Profile Fields "Add Field" and "Edit Field" screens. Must be used inside the {@link bp_profile_fields()} template loop. param: BP_XProfile_Field $current_field The current profile field on the add/edit screen. param: string $control_type Optional. HTML input type used to render the current since: 2.0.0 |
Generated: Thu Dec 5 01:00:58 2024 | Cross-referenced by PHPXref 0.7.1 |