Changeset 5109 for trunk/bp-activity/bp-activity-loader.php
- Timestamp:
- 09/06/2011 12:30:01 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-loader.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-loader.php
r4961 r5109 1 1 <?php 2 2 3 /** 3 4 * BuddyPress Activity Streams Loader … … 6 7 * 7 8 * @package BuddyPress 8 * @subpackage Activity Core9 * @subpackage ActivityCore 9 10 */ 10 11 … … 12 13 if ( !defined( 'ABSPATH' ) ) exit; 13 14 15 /** 16 * Main Activity Class 17 * 18 * @since 1.5.0 19 */ 14 20 class BP_Activity_Component extends BP_Component { 15 21 … … 17 23 * Start the activity component creation process 18 24 * 19 * @since 1.5 25 * @since 1.5.0 20 26 */ 21 27 function BP_Activity_Component() { … … 33 39 /** 34 40 * Include files 41 * 42 * @since 1.5.0 35 43 */ 36 44 function includes() { … … 55 63 * backwards compatibility. 56 64 * 57 * @since 1.5 58 * @global obj $bp 65 * @since 1.5.0 66 * 67 * @global object $bp BuddyPress global settings 59 68 */ 60 69 function setup_globals() { … … 89 98 * Setup BuddyBar navigation 90 99 * 91 * @global obj $bp 100 * @since 1.5.0 101 * 102 * @global object $bp BuddyPress global settings 103 * @uses bp_is_active() 104 * @uses is_user_logged_in() 105 * @uses bp_get_friends_slug() 106 * @uses bp_get_groups_slug() 92 107 */ 93 108 function setup_nav() { … … 183 198 * Set up the admin bar 184 199 * 185 * @global obj $bp 200 * @since 1.5.0 201 * 202 * @global object $bp BuddyPress global settings 203 * @uses is_user_logged_in() 204 * @uses trailingslashit() 205 * @uses bp_get_total_mention_count_for_user() 206 * @uses bp_loggedin_user_id() 207 * @uses bp_is_active() 208 * @uses bp_get_friends_slug() 209 * @uses bp_get_groups_slug() 186 210 */ 187 211 function setup_admin_bar() { … … 259 283 * Sets up the title for pages and <title> 260 284 * 261 * @global obj $bp 285 * @since 1.5.0 286 * 287 * @global object $bp BuddyPress global settings 288 * @uses bp_is_activity_component() 289 * @uses bp_is_my_profile() 290 * @uses bp_core_fetch_avatar() 262 291 */ 263 292 function setup_title() { … … 280 309 } 281 310 } 311 282 312 // Create the activity component 283 313 $bp->activity = new BP_Activity_Component();
Note: See TracChangeset
for help on using the changeset viewer.