- Timestamp:
- 09/25/2015 12:18:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
r9819 r10140 1 1 <?php 2 2 /** 3 * BuddyPress XProfile Classes 3 * BuddyPress XProfile Classes. 4 4 * 5 5 * @package BuddyPress … … 7 7 */ 8 8 9 // Exit if accessed directly 9 // Exit if accessed directly. 10 10 defined( 'ABSPATH' ) || exit; 11 11 … … 13 13 * Checkbox xprofile field type. 14 14 * 15 * @since BuddyPress (2.0.0)15 * @since 2.0.0 16 16 */ 17 17 class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type { … … 20 20 * Constructor for the checkbox field type 21 21 * 22 * @since BuddyPress (2.0.0)22 * @since 2.0.0 23 23 */ 24 24 public function __construct() { … … 37 37 * Fires inside __construct() method for BP_XProfile_Field_Type_Checkbox class. 38 38 * 39 * @since BuddyPress (2.0.0)39 * @since 2.0.0 40 40 * 41 41 * @param BP_XProfile_Field_Type_Checkbox $this Current instance of … … 51 51 * 52 52 * @param array $raw_properties Optional key/value array of {@link http://dev.w3.org/html5/markup/input.checkbox.html permitted attributes} that you want to add. 53 * @since BuddyPress (2.0.0)53 * @since 2.0.0 54 54 */ 55 55 public function edit_field_html( array $raw_properties = array() ) { … … 98 98 * 99 99 * @param array $args Optional. The arguments passed to {@link bp_the_profile_field_options()}. 100 * @since BuddyPress (2.0.0)100 * @since 2.0.0 101 101 */ 102 102 public function edit_field_options_html( array $args = array() ) { … … 148 148 * Filters the HTML output for an individual field options checkbox. 149 149 * 150 * @since BuddyPress (1.1.0)150 * @since 1.1.0 151 151 * 152 152 * @param string $new_html Label and checkbox input field. … … 168 168 * 169 169 * @param array $raw_properties Optional key/value array of permitted attributes that you want to add. 170 * @since BuddyPress (2.0.0)170 * @since 2.0.0 171 171 */ 172 172 public function admin_field_html( array $raw_properties = array() ) { … … 181 181 * @param BP_XProfile_Field $current_field The current profile field on the add/edit screen. 182 182 * @param string $control_type Optional. HTML input type used to render the current field's child options. 183 * @since BuddyPress (2.0.0)183 * @since 2.0.0 184 184 */ 185 185 public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.