Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/25/2015 12:18:18 AM (10 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the XProfile component.

See #6576.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-cache.php

    r10022 r10140  
    11<?php
    2 
    3 /**
    4  * BuddyPress XProfile Caching Functions
     2/**
     3 * BuddyPress XProfile Caching Functions.
    54 *
    65 * Caching functions handle the clearing of cached objects and pages on specific
     
    87 *
    98 * @package BuddyPress
    10  */
    11 
    12 // Exit if accessed directly
     9 * @subpackage XProfileCache
     10 */
     11
     12// Exit if accessed directly.
    1313defined( 'ABSPATH' ) || exit;
    1414
     
    1616 * Determine which xprofile fields do not have cached values for a user.
    1717 *
    18  * @since BuddyPress (2.2.0)
     18 * @since 2.2.0
    1919 *
    2020 * @param int   $user_id   User ID to check
     
    4848 * This function is called within a bp_has_profile() loop.
    4949 *
    50  * @since BuddyPress (2.0.0)
     50 * @since 2.0.0
    5151 *
    5252 * @param array $object_ids Multi-dimensional array of object_ids, keyed by
     
    177177 * Clear cached XProfile field group data
    178178 *
    179  * @since BuddyPress (2.1.0)
     179 * @since 2.1.0
    180180 *
    181181 * @param object $group_obj
     
    191191 * Clear cached XProfile fullname data for user
    192192 *
    193  * @since BuddyPress (2.1.0)
     193 * @since 2.1.0
    194194 *
    195195 * @param int $user_id ID of user whose fullname cache to delete
     
    206206 * cases, except where the field is updated directly with xprofile_set_field_data()
    207207 *
    208  * @since BuddyPress (2.0.0)
     208 * @since 2.0.0
    209209 */
    210210function xprofile_clear_fullname_cache_on_profile_field_edit( $data ) {
     
    218218 * Clear caches when a field object is modified.
    219219 *
    220  * @since BuddyPress (2.0.0)
     220 * @since 2.0.0
    221221 *
    222222 * @param BP_XProfile_Field
     
    239239 * Clears member_type cache when a field's member types are updated.
    240240 *
    241  * @since BuddyPress (2.4.0)
     241 * @since 2.4.0
    242242 */
    243243function bp_xprofile_clear_member_type_cache() {
     
    249249 * Clear caches when a user's updates a field data object.
    250250 *
    251  * @since BuddyPress (2.0.0)
     251 * @since 2.0.0
    252252 *
    253253 * @param BP_XProfile_ProfileData $data_obj
     
    272272 * invalidation) is thus for backward compatibility only.
    273273 *
    274  * @since BuddyPress (2.0.0)
     274 * @since 2.0.0
    275275 */
    276276function xprofile_clear_fullname_field_id_cache() {
Note: See TracChangeset for help on using the changeset viewer.