Skip to:
Content

BuddyPress.org

Changeset 7396


Ignore:
Timestamp:
10/08/2013 08:57:45 PM (11 years ago)
Author:
boonebgorges
Message:

Inline doc improvements for bp-activity-cache.php

See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-cache.php

    r7051 r7396  
    22
    33/**
    4  * Functions related to the BuddyPress Activity component and the WP Cache
     4 * Functions related to the BuddyPress Activity component and the WP Cache.
    55 *
    66 * @since BuddyPress (1.6)
     
    1111
    1212/**
    13  * Slurps up activitymeta
     13 * Slurp up activitymeta for a specified set of activity items.
    1414 *
    15  * This function is called in two places in the BP_Groups_Group class:
    16  *   - in the populate() method, when single group objects are populated
     15 * This function is called in two places in the BP_Activity_Activity class:
     16 *   - in the populate() method, when single activity objects are populated
    1717 *   - in the get() method, when multiple groups are queried
    1818 *
    19  * It grabs all groupmeta associated with all of the groups passed in $group_ids and adds it to
    20  * the WP cache. This improves efficiency when using groupmeta inline
     19 * It grabs all activitymeta associated with all of the activity items passed
     20 * in $activity_ids and adds it to the WP cache. This improves efficiency when
     21 * using querying activitymeta inline.
    2122 *
    22  * @param int|str|array $group_ids Accepts a single group_id, or a comma-separated list or array of
    23  *    group ids
     23 * @param int|str|array $activity_ids Accepts a single activity ID, or a comma-
     24 *                                    separated list or array of activity ids
    2425 */
    2526function bp_activity_update_meta_cache( $activity_ids = false ) {
     
    3839
    3940/**
    40  * Clear the cache for all metadata of a given activity
     41 * Clear the cache for all metadata of a given activity.
    4142 *
    4243 * @param int $activity_id
Note: See TracChangeset for help on using the changeset viewer.