Changeset 8481 for trunk/src/bp-messages/bp-messages-loader.php
- Timestamp:
- 06/07/2014 11:47:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-loader.php
r8223 r8481 13 13 if ( !defined( 'ABSPATH' ) ) exit; 14 14 15 /** 16 * Implementation of BP_Component for the Messages component. 17 * 18 * @since BuddyPress (1.5.0) 19 */ 15 20 class BP_Messages_Component extends BP_Component { 16 21 /** … … 24 29 25 30 /** 26 * Start the messages component creation process 27 * 28 * @since BuddyPress (1.5 )31 * Start the messages component creation process. 32 * 33 * @since BuddyPress (1.5.0) 29 34 */ 30 35 public function __construct() { … … 40 45 41 46 /** 42 * Include files 47 * Include files. 48 * 49 * @since BuddyPress (1.5.0) 50 * 51 * @param array $includes See {BP_Component::includes()} for details. 43 52 */ 44 53 public function includes( $includes = array() ) { … … 62 71 63 72 /** 64 * Set up globals73 * Set up globals for the Messages component. 65 74 * 66 75 * The BP_MESSAGES_SLUG constant is deprecated, and only used here for 67 76 * backwards compatibility. 68 77 * 69 * @since BuddyPress (1.5) 78 * @since BuddyPress (1.5.0) 79 * 80 * @param array $args Not used. 70 81 */ 71 82 public function setup_globals( $args = array() ) { … … 99 110 100 111 /** 101 * Setup BuddyBar navigation 112 * Set up navigation for user pages. 113 * 114 * @param array $main_nav See {BP_Component::setup_nav()} for details. 115 * @param array $sub_nav See {BP_Component::setup_nav()} for details. 102 116 */ 103 117 public function setup_nav( $main_nav = array(), $sub_nav = array() ) { … … 182 196 183 197 /** 184 * Set up the Toolbar 198 * Set up the Toolbar. 199 * 200 * @param array $wp_admin_nav See {BP_Component::setup_admin_bar()} 201 * for details. 185 202 */ 186 203 public function setup_admin_bar( $wp_admin_nav = array() ) { … … 251 268 252 269 /** 253 * Set s up the title for pages and <title>270 * Set up the title for pages and <title>. 254 271 */ 255 272 public function setup_title() { … … 273 290 } 274 291 292 /** 293 * Bootstrap the Messages component. 294 */ 275 295 function bp_setup_messages() { 276 296 buddypress()->messages = new BP_Messages_Component();
Note: See TracChangeset
for help on using the changeset viewer.