Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/16/2012 12:52:24 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Replace ambiguous 'object' phpdoc references with more accurate descriptions for the $bp global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-classes.php

    r5906 r5926  
    374374     * Fetches the user details for all the users who username starts with the letter given.
    375375     *
    376      * @global object $bp Global BuddyPress settings object
     376     * @global BuddyPress $bp The one true BuddyPress instance
    377377     * @global wpdb $wpdb WordPress database object
    378378     * @param string $letter The letter the users names are to start with.
     
    482482     * Find users who match on the value of an xprofile data.
    483483     *
    484      * @global object $bp Global BuddyPress settings object
     484     * @global BuddyPress $bp The one true BuddyPress instance
    485485     * @global wpdb $wpdb WordPress database object
    486486     * @param string $search_terms The terms to search the profile table value column for.
     
    526526     * Accepts multiple user IDs to fetch data for.
    527527     *
    528      * @global object $bp Global BuddyPress settings object
     528     * @global BuddyPress $bp The one true BuddyPress instance
    529529     * @global wpdb $wpdb WordPress database object
    530530     * @param array $paged_users an array of stdClass containing the users
     
    707707     * Update or insert notification details into the database.
    708708     *
    709      * @global object $bp Global BuddyPress settings object
     709     * @global BuddyPress $bp The one true BuddyPress instance
    710710     * @global wpdb $wpdb WordPress database object
    711711     * @return bool Success or failure
     
    736736     * Fetches the notification data from the database.
    737737     *
    738      * @global object $bp Global BuddyPress settings object
     738     * @global BuddyPress $bp The one true BuddyPress instance
    739739     * @global wpdb $wpdb WordPress database object
    740740     */
     
    764764     * Fetches all the notifications in the database for a specific user.
    765765     *
    766      * @global object $bp Global BuddyPress settings object
     766     * @global BuddyPress $bp The one true BuddyPress instance
    767767     * @global wpdb $wpdb WordPress database object
    768768     * @param integer $user_id User ID
     
    782782     * Delete all the notifications for a user based on the component name and action.
    783783     *
    784      * @global object $bp Global BuddyPress settings object
     784     * @global BuddyPress $bp The one true BuddyPress instance
    785785     * @global wpdb $wpdb WordPress database object
    786786     * @param integer $user_id
     
    798798     * Delete all the notifications that have a specific item id, component name and action.
    799799     *
    800      * @global object $bp Global BuddyPress settings object
     800     * @global BuddyPress $bp The one true BuddyPress instance
    801801     * @global wpdb $wpdb WordPress database object
    802802     * @param integer $user_id The ID of the user who the notifications are for.
     
    818818     * Deletes all the notifications sent by a specific user, by component and action.
    819819     *
    820      * @global object $bp Global BuddyPress settings object
     820     * @global BuddyPress $bp The one true BuddyPress instance
    821821     * @global wpdb $wpdb WordPress database object
    822822     * @param integer $user_id The ID of the user whose sent notifications we wish to delete.
     
    834834     * Deletes all the notifications for all users by item id, and optional secondary item id, and component name and action.
    835835     *
    836      * @global object $bp Global BuddyPress settings object
     836     * @global BuddyPress $bp The one true BuddyPress instance
    837837     * @global wpdb $wpdb WordPress database object
    838838     * @param string $item_id The item id that they notifications are to be for.
Note: See TracChangeset for help on using the changeset viewer.