Changeset 9352 for trunk/src/bp-notifications/bp-notifications-classes.php
- Timestamp:
- 01/13/2015 01:35:21 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-classes.php
r9351 r9352 139 139 $data_format = array( '%d', '%d', '%d', '%s', '%s', '%s', '%d' ); 140 140 141 /** 142 * Fires before the current notification item gets saved. 143 * 144 * Please use this hook to filter the properties above. Each part will be passed in. 145 * 146 * @since BuddyPress (2.0.0) 147 * 148 * @param BP_Notifications_Notification Current instance of the notification item being saved. Passed by reference. 149 */ 141 150 do_action_ref_array( 'bp_notification_before_save', array( &$this ) ); 142 151 … … 158 167 } 159 168 169 /** 170 * Fires after the current notification item gets saved. 171 * 172 * @since BuddyPress (2.0.0) 173 * 174 * @param BP_Notifications_Notification Current instance of the notification item being saved. Passed by reference. 175 */ 160 176 do_action_ref_array( 'bp_notification_after_save', array( &$this ) ); 161 177 … … 704 720 $where = self::get_query_clauses( $args ); 705 721 722 /** 723 * Fires before the deletion of a notification item. 724 * 725 * @since BuddyPress (2.0.0) 726 * 727 * @param array $args Associative array of columns/values, to determine 728 * which rows should be deleted. Of the format 729 * array( 'item_id' => 7, 'component_action' => 'members' ). 730 */ 706 731 do_action( 'bp_notification_before_delete', $args ); 707 732
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)