Changeset 7558 for trunk/bp-friends/bp-friends-loader.php
- Timestamp:
- 11/11/2013 12:52:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-loader.php
r7494 r7558 3 3 * BuddyPress Friends Streams Loader 4 4 * 5 * The friends component is for users to create relationships with each other 5 * The friends component is for users to create relationships with each other. 6 6 * 7 7 * @package BuddyPress 8 * @subpackage Friends Core8 * @subpackage Friends 9 9 */ 10 10 … … 15 15 16 16 /** 17 * Start the friends component creation process 18 * 19 * @since BuddyPress (1.5 )17 * Start the friends component creation process. 18 * 19 * @since BuddyPress (1.5.0) 20 20 */ 21 21 function __construct() { … … 31 31 32 32 /** 33 * Include files 33 * Include bp-friends files. 34 * 35 * @see BP_Component::includes() for description of parameters. 36 * 37 * @param array $includes See {@link BP_Component::includes()}. 34 38 */ 35 39 public function includes( $includes = array() ) { … … 50 54 51 55 /** 52 * Set up globals56 * Set up bp-friends global settings. 53 57 * 54 58 * The BP_FRIENDS_SLUG constant is deprecated, and only used here for 55 59 * backwards compatibility. 56 60 * 57 * @since BuddyPress (1.5) 61 * @since BuddyPress (1.5.0) 62 * 63 * @see BP_Component::setup_globals() for description of parameters. 64 * 65 * @param array $args See {@link BP_Component::setup_globals()}. 58 66 */ 59 67 public function setup_globals( $args = array() ) { … … 90 98 91 99 /** 92 * Setup BuddyBar navigation 100 * Set up component navigation. 101 * 102 * @since BuddyPress (1.5.0) 103 * 104 * @see BP_Component::setup_nav() for a description of arguments. 105 * 106 * @param array $main_nav Optional. See BP_Component::setup_nav() for 107 * description. 108 * @param array $sub_nav Optional. See BP_Component::setup_nav() for 109 * description. 93 110 */ 94 111 public function setup_nav( $main_nav = array(), $sub_nav = array() ) { … … 141 158 142 159 /** 143 * Set up the Toolbar 160 * Set up bp-friends integration with the WordPress admin bar. 161 * 162 * @since BuddyPress (1.5.0) 163 * 164 * @see BP_Component::setup_admin_bar() for a description of arguments. 165 * 166 * @param array $wp_admin_nav See BP_Component::setup_admin_bar() 167 * for description. 144 168 */ 145 169 public function setup_admin_bar( $wp_admin_nav = array() ) { … … 192 216 193 217 /** 194 * Set s up the title for pages and <title>218 * Set up the title for pages and <title>. 195 219 */ 196 220 function setup_title() { … … 215 239 } 216 240 241 /** 242 * Set up the bp-forums component. 243 */ 217 244 function bp_setup_friends() { 218 245 buddypress()->friends = new BP_Friends_Component();
Note: See TracChangeset
for help on using the changeset viewer.