- Timestamp:
- 03/04/2017 06:26:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/classes/class-bp-notifications-notification.php
r11029 r11447 837 837 * determine which rows should be updated. Of the format 838 838 * array( 'item_id' => 7, 'component_action' => 'members', ). 839 * @return int| boolNumber of rows updated on success, false on failure.839 * @return int|false Number of rows updated on success, false on failure. 840 840 */ 841 841 public static function update( $update_args = array(), $where_args = array() ) { … … 872 872 * which rows should be deleted. Of the format 873 873 * array( 'item_id' => 7, 'component_action' => 'members', ). 874 * @return int| boolNumber of rows deleted on success, false on failure.874 * @return int|false Number of rows deleted on success, false on failure. 875 875 */ 876 876 public static function delete( $args = array() ) { … … 902 902 * 903 903 * @param int $id ID of the notification item to be deleted. 904 * @return boolTrue on success, false on failure.904 * @return int|false True on success, false on failure. 905 905 */ 906 906 public static function delete_by_id( $id ) { … … 1017 1017 * @param string $component_action Name of the component action. 1018 1018 * @param int $secondary_item_id The ID of the secondary item. 1019 * @return bool|intFalse on failure to update. ID on success.1019 * @return int|false False on failure to update. ID on success. 1020 1020 */ 1021 1021 public static function mark_all_for_user( $user_id, $is_new = 0, $item_id = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) { … … 1060 1060 * @param string $component_action Name of the component action. 1061 1061 * @param int $secondary_item_id The ID of the secondary item. 1062 * @return bool|int1062 * @return int|false 1063 1063 */ 1064 1064 public static function mark_all_from_user( $user_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) { … … 1104 1104 * @param int $secondary_item_id Optional. ID of the secondary 1105 1105 * associated item. 1106 * @return bool|int1106 * @return int|false 1107 1107 */ 1108 1108 public static function mark_all_by_type( $item_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.