[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-xprofile/classes/ -> class-bp-xprofile-field-type-textbox.php (summary)

BuddyPress XProfile Classes.

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

Defines 1 class

BP_XProfile_Field_Type_Textbox:: (4 methods):
  __construct()
  edit_field_html()
  admin_field_html()
  admin_new_field_html()


Class: BP_XProfile_Field_Type_Textbox  - X-Ref

Textbox xprofile field type.

__construct()   X-Ref
Constructor for the textbox 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.

since: 2.0.0
param: array $raw_properties Optional key/value array of

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.

since: 2.0.0
param: array $raw_properties Optional key/value array of permitted attributes that you want to add.

admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' )   X-Ref
This method usually outputs HTML for this field type's children options on the wp-admin Profile Fields
"Add Field" and "Edit Field" screens, but for this field type, we don't want it, so it's stubbed out.

since: 2.0.0
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



Generated: Sun Dec 8 01:01:37 2019 Cross-referenced by PHPXref 0.7.1