- Timestamp:
- 09/17/2014 12:05:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-functions.php
r8958 r9025 114 114 * 115 115 * @param int $id ID of the user whose notifications are being deleted. 116 * @param int $is_new 0 for read, 1 for unread 116 * @param int $is_new 0 for read, 1 for unread. 117 117 * @return bool True on success, false on failure. 118 118 */ … … 129 129 130 130 /** 131 * Get all notifications for a user and cache them 131 * Get all notifications for a user and cache them. 132 132 * 133 133 * @since BuddyPress (2.1.0) 134 134 * 135 * @param int $user_id 135 * @param int $user_id ID of the user whose notifications are being fetched. 136 136 * @return array 137 137 */ … … 161 161 * @since BuddyPress (1.9.0) 162 162 * 163 * @param int $user_id ID of the user whose notification are being fetched.163 * @param int $user_id ID of the user whose notifications are being fetched. 164 164 * @param string $format Format of the returned values. 'string' returns HTML, 165 165 * while 'object' returns a structured object for parsing. … … 404 404 * @param string $component_name Name of the associated component. 405 405 * @param string $component_action Name of the associated action. 406 * @param int $is_new 0 for read, 1 for unread 406 * @param int $is_new 0 for read, 1 for unread. 407 407 * @return bool True on success, false on failure. 408 408 */ … … 433 433 * @param string $component_action Name of the associated action. 434 434 * @param int $secondary_item_id ID of the secondary associated item. 435 * @param int $is_new 0 for read, 1 for unread 435 * @param int $is_new 0 for read, 1 for unread. 436 436 * @return bool True on success, false on failure. 437 437 */ … … 463 463 * @param string $component_action Optional. Name of the associated action. 464 464 * @param int $secondary_item_id Optional. ID of the secondary associated item. 465 * @param int $is_new 0 for read, 1 for unread 465 * @param int $is_new 0 for read, 1 for unread. 466 466 * @return bool True on success, false on failure. 467 467 */ … … 495 495 * @param string $component_name Name of the associated component. 496 496 * @param string $component_action Name of the associated action. 497 * @param int $is_new 0 for read, 1 for unread 497 * @param int $is_new 0 for read, 1 for unread. 498 498 * @return bool True on success, false on failure. 499 499 */ … … 551 551 * 552 552 * @see http://buddypress.trac.wordpress.org/ticket/5300 553 * 554 * @return array 553 555 */ 554 556 function bp_notifications_get_registered_components() {
Note: See TracChangeset
for help on using the changeset viewer.