Skip to:
Content

BuddyPress.org

Changeset 10023


Ignore:
Timestamp:
07/21/2015 02:04:27 PM (10 years ago)
Author:
boonebgorges
Message:

Normalize whitespace in BP_XProfile_Group::get() documentation after [10022].

File:
1 edited

Legend:

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

    r10022 r10023  
    230230     * @param array $args {
    231231     *  Array of optional arguments:
    232      *  @type int   $profile_group_id  Limit results to a single profile group.
    233      *      @type int   $user_id           Required if you want to load a specific user's data.
    234      *                                     Default: displayed user's ID.
     232     *  @type int   $profile_group_id   Limit results to a single profile group.
     233     *      @type int   $user_id            Required if you want to load a specific user's data.
     234     *                                      Default: displayed user's ID.
    235235     *      @type array|string $member_type Limit fields by those restricted to a given member type, or array of
    236236     *                                      member types. If `$user_id` is provided, the value of `$member_type`
     
    238238     *                                      special value of 'any' will return only those fields that are
    239239     *                                      unrestricted by member type - i.e., those applicable to any type.
    240      *      @type bool  $hide_empty_groups True to hide groups that don't have any fields. Default: false.
    241      *  @type bool  $hide_empty_fields True to hide fields where the user has not provided data. Default: false.
    242      *      @type bool  $fetch_fields      Whether to fetch each group's fields. Default: false.
    243      *      @type bool  $fetch_field_data  Whether to fetch data for each field. Requires a $user_id.
    244      *                                     Default: false.
    245      *      @type array $exclude_groups    Comma-separated list or array of group IDs to exclude.
    246      *      @type array $exclude_fields    Comma-separated list or array of field IDs to exclude.
    247      *      @type bool  $update_meta_cache Whether to pre-fetch xprofilemeta for all retrieved groups, fields,
    248      *                                     and data. Default: true.
     240     *      @type bool  $hide_empty_groups  True to hide groups that don't have any fields. Default: false.
     241     *  @type bool  $hide_empty_fields  True to hide fields where the user has not provided data.
     242     *                                  Default: false.
     243     *      @type bool  $fetch_fields       Whether to fetch each group's fields. Default: false.
     244     *      @type bool  $fetch_field_data   Whether to fetch data for each field. Requires a $user_id.
     245     *                                      Default: false.
     246     *      @type array $exclude_groups     Comma-separated list or array of group IDs to exclude.
     247     *      @type array $exclude_fields     Comma-separated list or array of field IDs to exclude.
     248     *      @type bool  $update_meta_cache  Whether to pre-fetch xprofilemeta for all retrieved groups, fields,
     249     *                                      and data. Default: true.
    249250     * }
    250251     * @return array $groups
Note: See TracChangeset for help on using the changeset viewer.