Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/01/2015 04:18:13 AM (11 years ago)
Author:
tw2113
Message:

First pass of documentation cleanup for the XProfile Component.

See #6406.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php

    r10142 r10163  
    11<?php
    22/**
    3  * BuddyPress XProfile Classes
     3 * BuddyPress XProfile Classes.
    44 *
    55 * @package BuddyPress
    … …  
    1818
    1919        /**
    20          * Constructor for the textbox field type
     20         * Constructor for the textbox field type.
    2121         *
    2222         * @since 2.0.0
    23          */
     23         */
    2424        public function __construct() {
    2525                parent::__construct();
    … …  
    4343        /**
    4444         * Output the edit field HTML for this field type.
    45          *
    4645         * Must be used inside the {@link bp_profile_fields()} template loop.
    4746         *
    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.
    4947         * @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.
    5052         */
    5153        public function edit_field_html( array $raw_properties = array() ) {
    5254
    53                 // user_id is a special optional parameter that certain other fields
     55                // User_id is a special optional parameter that certain other fields
    5456                // types pass to {@link bp_the_profile_field_options()}.
    5557                if ( isset( $raw_properties['user_id'] ) ) {
    … …  
    8486         * Must be used inside the {@link bp_profile_fields()} template loop.
    8587         *
     88         * @since 2.0.0
     89         *
    8690         * @param array $raw_properties Optional key/value array of permitted attributes that you want to add.
    87          * @since 2.0.0
    8891         */
    8992        public function admin_field_html( array $raw_properties = array() ) {
    … …  
    102105         * "Add Field" and "Edit Field" screens, but for this field type, we don't want it, so it's stubbed out.
    103106         *
     107         * @since 2.0.0
     108         *
    104109         * @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.0
     110         * @param string            $control_type  Optional. HTML input type used to render the
     111         *                                         current field's child options.
    107112         */
    108113        public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}
Note: See TracChangeset for help on using the changeset viewer.