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