Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/20/2011 07:33:20 PM (13 years ago)
Author:
djpaul
Message:

Correct phpdoc for $bp global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-functions.php

    r4398 r4400  
    145145 * @param mixed $field The ID of the field, or the $name of the field.
    146146 * @param int $user_id The ID of the user
    147  * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()
     147 * @global object $bp Global BuddyPress settings object
    148148 * @uses BP_XProfile_ProfileData::get_value_byid() Fetches the value based on the params passed.
    149149 * @return mixed The profile field data.
     
    187187 * @param $user_id The ID of the user
    188188 * @param $value The value for the field you want to set for the user.
    189  * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()
     189 * @global object $bp Global BuddyPress settings object
    190190 * @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name.
    191191 * @return true on success, false on failure.
     
    283283 * @param $user_id User ID of the user to get random data for
    284284 * @param $exclude_fullname whether or not to exclude the full name field as random data.
    285  * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()
     285 * @global object $bp Global BuddyPress settings object
    286286 * @global $wpdb WordPress DB access object.
    287287 * @global $current_user WordPress global variable containing current logged in user information
Note: See TracChangeset for help on using the changeset viewer.