Changeset 9995 for trunk/src/bp-friends/bp-friends-activity.php
- Timestamp:
- 07/04/2015 10:23:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-activity.php
r9819 r9995 2 2 3 3 /** 4 * BuddyPress Friends Activity Functions 4 * BuddyPress Friends Activity Functions. 5 5 * 6 6 * These functions handle the recording, deleting and formatting of activity … … 23 23 * return values. 24 24 * 25 * @param array $args {25 * @param array|string $args { 26 26 * An array of arguments for the new activity item. Accepts all parameters 27 27 * of {@link bp_activity_add()}. The one difference is the following 28 28 * argument, which has a different default here: 29 29 * @type string $component Default: the id of your Friends component 30 * (usually 'friends').30 * (usually 'friends'). 31 31 * } 32 32 * @return bool See {@link bp_activity_add()}. … … 59 59 * @param array $args { 60 60 * An array of arguments for the item to delete. 61 * @type int $item_id ID of the 'item' associated with the activity item.62 * For Friends activity items, this is usually the user ID of one63 * of the friends.64 * @type string $type The 'type' of the activity item (eg65 * 'friendship_accepted').66 * @type int $user_id ID of the user associated with the activity item.61 * @type int $item_id ID of the 'item' associated with the activity item. 62 * For Friends activity items, this is usually the user ID of one 63 * of the friends. 64 * @type string $type The 'type' of the activity item (eg 65 * 'friendship_accepted'). 66 * @type int $user_id ID of the user associated with the activity item. 67 67 * } 68 68 * @return bool True on success, false on failure. … … 128 128 * @since BuddyPress (2.0.0) 129 129 * 130 * @param string $action Activity action string. 130 131 * @param object $activity Activity data. 132 * 131 133 * @return string $action Formatted activity action. 132 134 */ … … 150 152 * @since BuddyPress (2.0.0) 151 153 * 152 * @param string $action String text for the 'friendship_accepted' action.154 * @param string $action String text for the 'friendship_accepted' action. 153 155 * @param object $activity Activity data. 154 156 */ … … 161 163 * @since BuddyPress (2.0.0) 162 164 * 163 * @param string $action Static activity action.165 * @param string $action Static activity action. 164 166 * @param object $activity Activity data. 167 * 165 168 * @return string $action Formatted activity action. 166 169 */ … … 184 187 * @since BuddyPress (2.0.0) 185 188 * 186 * @param string $action String text for the 'friendship_created' action.189 * @param string $action String text for the 'friendship_created' action. 187 190 * @param object $activity Activity data. 188 191 */ … … 198 201 * 199 202 * @param array $activities Array of activity items. 203 * 200 204 * @return array 201 205 */ … … 237 241 * @param array $retval Empty array by default 238 242 * @param array $filter Current activity arguments 243 * 239 244 * @return array 240 245 */ … … 290 295 * @param array $retval Empty array by default 291 296 * @param array $filter Current activity arguments 297 * 292 298 * @return array 293 299 */ … … 364 370 * @since BuddyPress (1.9.0) 365 371 * 366 * @param int $friendship_id367 * @param int $initiator_user_id368 * @param int $friend_user_id369 * @param object $friendship Optional372 * @param int $friendship_id 373 * @param int $initiator_user_id 374 * @param int $friend_user_id 375 * @param object|bool $friendship Optional 370 376 */ 371 377 function bp_friends_friendship_accepted_activity( $friendship_id, $initiator_user_id, $friend_user_id, $friendship = false ) {
Note: See TracChangeset
for help on using the changeset viewer.