- Timestamp:
- 10/01/2015 04:18:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
r10142 r10163 1 1 <?php 2 2 /** 3 * BuddyPress XProfile Classes 3 * BuddyPress XProfile Classes. 4 4 * 5 5 * @package BuddyPress … … 18 18 19 19 /** 20 * Constructor for the textbox field type 20 * Constructor for the textbox field type. 21 21 * 22 22 * @since 2.0.0 23 23 */ 24 24 public function __construct() { 25 25 parent::__construct(); … … 43 43 /** 44 44 * Output the edit field HTML for this field type. 45 *46 45 * Must be used inside the {@link bp_profile_fields()} template loop. 47 46 * 48 * @param array $raw_properties Optional key/value array of {@link http://dev.w3.org/html5/markup/input.text.html permitted attributes} that you want to add.49 47 * @since 2.0.0 48 * 49 * @param array $raw_properties Optional key/value array of 50 * {@link http://dev.w3.org/html5/markup/input.text.html permitted attributes} 51 * that you want to add. 50 52 */ 51 53 public function edit_field_html( array $raw_properties = array() ) { 52 54 53 // user_id is a special optional parameter that certain other fields55 // User_id is a special optional parameter that certain other fields 54 56 // types pass to {@link bp_the_profile_field_options()}. 55 57 if ( isset( $raw_properties['user_id'] ) ) { … … 84 86 * Must be used inside the {@link bp_profile_fields()} template loop. 85 87 * 88 * @since 2.0.0 89 * 86 90 * @param array $raw_properties Optional key/value array of permitted attributes that you want to add. 87 * @since 2.0.088 91 */ 89 92 public function admin_field_html( array $raw_properties = array() ) { … … 102 105 * "Add Field" and "Edit Field" screens, but for this field type, we don't want it, so it's stubbed out. 103 106 * 107 * @since 2.0.0 108 * 104 109 * @param BP_XProfile_Field $current_field The current profile field on the add/edit screen. 105 * @param string $control_type Optional. HTML input type used to render the current field's child options.106 * @since 2.0.0110 * @param string $control_type Optional. HTML input type used to render the 111 * current field's child options. 107 112 */ 108 113 public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}
Note: See TracChangeset
for help on using the changeset viewer.