Changeset 7400 for trunk/bp-activity/bp-activity-loader.php
- Timestamp:
- 10/08/2013 08:58:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-loader.php
r7352 r7400 2 2 3 3 /** 4 * BuddyPress Activity Streams Loader 4 * BuddyPress Activity Streams Loader. 5 5 * 6 6 * An activity stream component, for users, groups, and site tracking. … … 14 14 15 15 /** 16 * Main Activity Class 16 * Main Activity Class. 17 17 * 18 18 * @since BuddyPress (1.5) … … 21 21 22 22 /** 23 * Start the activity component creation process23 * Start the activity component setup process. 24 24 * 25 25 * @since BuddyPress (1.5) … … 34 34 35 35 /** 36 * Include files 37 * 38 * @since BuddyPress (1.5) 36 * Include component files. 37 * 38 * @since BuddyPress (1.5) 39 * 40 * @see BP_Component::includes() for a description of arguments. 41 * 42 * @param array $includes See BP_Component::includes() for a description. 39 43 */ 40 44 public function includes( $includes = array() ) { … … 65 69 66 70 /** 67 * Set up globals71 * Set up component global variables. 68 72 * 69 73 * The BP_ACTIVITY_SLUG constant is deprecated, and only used here for … … 71 75 * 72 76 * @since BuddyPress (1.5) 77 * 78 * @see BP_Component::setup_globals() for a description of arguments. 79 * 80 * @param array $args See BP_Component::setup_globals() for a description. 73 81 */ 74 82 public function setup_globals( $args = array() ) { … … 100 108 101 109 /** 102 * Set up BuddyBar navigation103 * 104 * @since BuddyPress (1.5) 105 * 106 * @ global object $bp BuddyPress global settings110 * Set up component navigation. 111 * 112 * @since BuddyPress (1.5) 113 * 114 * @see BP_Component::setup_nav() for a description of arguments. 107 115 * @uses bp_is_active() 108 116 * @uses is_user_logged_in() 109 117 * @uses bp_get_friends_slug() 110 118 * @uses bp_get_groups_slug() 119 * 120 * @param array $main_nav Optional. See BP_Component::setup_nav() for 121 * description. 122 * @param array $sub_nav Optional. See BP_Component::setup_nav() for 123 * description. 111 124 */ 112 125 public function setup_nav( $main_nav = array(), $sub_nav = array() ) { … … 202 215 203 216 /** 204 * Set up the Toolbar 205 * 206 * @since BuddyPress (1.5) 207 * 208 * @global object $bp BuddyPress global settings 217 * Set up the component entries in the WordPress Admin Bar. 218 * 219 * @since BuddyPress (1.5) 220 * 221 * @see BP_Component::setup_nav() for a description of the $wp_admin_nav 222 * parameter array. 209 223 * @uses is_user_logged_in() 210 224 * @uses trailingslashit() … … 214 228 * @uses bp_get_friends_slug() 215 229 * @uses bp_get_groups_slug() 230 * 231 * @param array $wp_admin_nav See BP_Component::setup_admin_bar() for a 232 * description. 216 233 */ 217 234 public function setup_admin_bar( $wp_admin_nav = array() ) { … … 294 311 295 312 /** 296 * Sets up the title for pages and <title> 297 * 298 * @since BuddyPress (1.5) 299 * 300 * @global object $bp BuddyPress global settings 313 * Set up the title for pages and <title>. 314 * 315 * @since BuddyPress (1.5) 316 * 301 317 * @uses bp_is_activity_component() 302 318 * @uses bp_is_my_profile() … … 324 340 325 341 /** 326 * Set up the actions342 * Set up actions necessary for the component. 327 343 * 328 344 * @since BuddyPress (1.6) … … 336 352 } 337 353 354 /** 355 * Bootstrap the Activity component. 356 */ 338 357 function bp_setup_activity() { 339 358 buddypress()->activity = new BP_Activity_Component();
Note: See TracChangeset
for help on using the changeset viewer.