Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/03/2016 06:14:41 AM (8 years ago)
Author:
tw2113
Message:

More cleanup and new phpdocs for functions or methods in the XProfile component.

See #6406.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-group.php

    r10417 r10434  
    1111defined( 'ABSPATH' ) || exit;
    1212
     13/**
     14 * Class to help set up XProfile Groups.
     15 */
    1316class BP_XProfile_Group {
    1417
     
    1720     *
    1821     * @since 1.1.0
    19      *
    2022     * @var int ID of field group
    2123     */
     
    2628     *
    2729     * @since 1.1.0
    28      *
    2930     * @var string Name of field group
    3031     */
     
    3536     *
    3637     * @since 1.1.0
    37      *
    3838     * @var string Description of field group
    3939     */
     
    4444     *
    4545     * @since 1.1.0
    46      *
    4746     * @var bool Can this group be deleted?
    4847     */
     
    5352     *
    5453     * @since 1.1.0
    55      *
    5654     * @var int Group order relative to other groups
    5755     */
     
    6260     *
    6361     * @since 1.1.0
    64      *
    6562     * @var array Fields of group
    6663     */
     
    180177     * @since 1.1.0
    181178     *
    182      * @global object  $wpdb
     179     * @global object $wpdb
     180     *
    183181     * @return boolean
    184182     */
     
    235233     * Populates the BP_XProfile_Group object with profile field groups, fields,
    236234     * and field data
    237      *
    238      * @package BuddyPress XProfile
    239235     *
    240236     * @global object $wpdb WordPress DB access object.
     
    501497     *
    502498     * @param array $group_ids Array of IDs.
    503      *
    504499     * @return array
    505500     */
     
    592587     *
    593588     * @global $wpdb $wpdb
     589     *
    594590     * @param  int $field_group_id ID of the group the field belongs to.
    595591     * @param  int $position       Field group position.
    596      *
    597592     * @return boolean
    598593     */
     
    619614     * @param int   $user_id The profile owner's user_id.
    620615     * @param array $fields  The database results returned by the get() query.
    621      *
    622616     * @return array $fields The database results, with field_visibility added
    623617     */
Note: See TracChangeset for help on using the changeset viewer.