Changeset 9025
- Timestamp:
- 09/17/2014 12:05:45 AM (10 years ago)
- Location:
- trunk/src/bp-notifications
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-actions.php
r8958 r9025 20 20 * @since BuddyPress (1.9.0) 21 21 * 22 * @return bool ean22 * @return bool 23 23 */ 24 24 function bp_notifications_action_mark_read() { … … 56 56 * @since BuddyPress (1.9.0) 57 57 * 58 * @return bool ean58 * @return bool 59 59 */ 60 60 function bp_notifications_action_mark_unread() { … … 92 92 * @since BuddyPress (1.9.0) 93 93 * 94 * @return bool ean94 * @return bool 95 95 */ 96 96 function bp_notifications_action_delete() { -
trunk/src/bp-notifications/bp-notifications-classes.php
r8958 r9025 27 27 * The notification ID. 28 28 * 29 * @since BuddyPress (1.9.0) 30 * @access public 29 31 * @var int 30 32 */ … … 34 36 * The ID of the item associated with the notification. 35 37 * 38 * @since BuddyPress (1.9.0) 39 * @access public 36 40 * @var int 37 41 */ … … 41 45 * The ID of the secondary item associated with the notification. 42 46 * 47 * @since BuddyPress (1.9.0) 48 * @access public 43 49 * @var int 44 50 */ … … 48 54 * The ID of the user the notification is associated with. 49 55 * 56 * @since BuddyPress (1.9.0) 57 * @access public 50 58 * @var int 51 59 */ … … 55 63 * The name of the component that the notification is for. 56 64 * 65 * @since BuddyPress (1.9.0) 66 * @access public 57 67 * @var string 58 68 */ … … 62 72 * The component action which the notification is related to. 63 73 * 74 * @since BuddyPress (1.9.0) 75 * @access public 64 76 * @var string 65 77 */ … … 69 81 * The date the notification was created. 70 82 * 83 * @since BuddyPress (1.9.0) 84 * @access public 71 85 * @var string 72 86 */ … … 76 90 * Is the notification new, or has it already been read. 77 91 * 92 * @since BuddyPress (1.9.0) 93 * @access public 78 94 * @var bool 79 95 */ … … 693 709 } 694 710 695 /** Convenience methods *********************************************** ****/711 /** Convenience methods ***********************************************/ 696 712 697 713 /** … … 806 822 } 807 823 808 /** Mark ************************************************************** ****/824 /** Mark **************************************************************/ 809 825 810 826 /** -
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() { -
trunk/src/bp-notifications/bp-notifications-loader.php
r8958 r9025 56 56 57 57 /** 58 * Setup globals 59 * 60 * The BP_FRIENDS_SLUG constant is deprecated, and only used here for 61 * backwards compatibility. 58 * Set up component global data. 62 59 * 63 60 * @since BuddyPress (1.9.0) -
trunk/src/bp-notifications/bp-notifications-template.php
r8958 r9025 43 43 * @since BuddyPress (1.9.0) 44 44 * 45 * @return string Notifications permalink 45 * @return string Notifications permalink. 46 46 */ 47 47 function bp_get_notifications_permalink() { … … 63 63 * @since BuddyPress (1.9.0) 64 64 * 65 * @return string Unread notifications permalink 65 * @return string Unread notifications permalink. 66 66 */ 67 67 function bp_get_notifications_unread_permalink() { … … 83 83 * @since BuddyPress (1.9.0) 84 84 * 85 * @return string Read notifications permalink 85 * @return string Read notifications permalink. 86 86 */ 87 87 function bp_get_notifications_read_permalink() { … … 943 943 * 944 944 * @param array $args { 945 * @type string $before HTML before the links 946 * @type string $after HTML after the links 947 * @type string $sep HTML between the links 948 * @type array $links Array of links to implode by 'sep' 945 * @type string $before HTML before the links. 946 * @type string $after HTML after the links. 947 * @type string $sep HTML between the links. 948 * @type array $links Array of links to implode by 'sep'. 949 949 * } 950 950 *
Note: See TracChangeset
for help on using the changeset viewer.