- Timestamp:
- 05/12/2015 04:39:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/classes/class-bp-messages-message.php
r9819 r9862 101 101 * 102 102 * @return int|bool ID of the newly created message on success, false 103 * on failure.103 * on failure. 104 104 */ 105 105 public function send() { … … 121 121 * @since BuddyPress (1.0.0) 122 122 * 123 * @param BP_Messages_Message Current instance of the message item being saved. Passed by reference.123 * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference. 124 124 */ 125 125 do_action_ref_array( 'messages_message_before_save', array( &$this ) ); … … 167 167 * @since BuddyPress (1.0.0) 168 168 * 169 * @param BP_Messages_Message Current instance of the message item being saved. Passed by reference.169 * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference. 170 170 */ 171 171 do_action_ref_array( 'messages_message_after_save', array( &$this ) ); … … 193 193 * 194 194 * @param array $recipient_usernames Usernames of recipients. 195 * 195 196 * @return array 196 197 */ … … 214 215 * 215 216 * @param int $thread_id ID of the thread. 217 * 216 218 * @return int|null ID of the message if found, otherwise null. 217 219 */ … … 227 229 * Check whether a user is the sender of a message. 228 230 * 229 * @param int $user_id ID of the user.231 * @param int $user_id ID of the user. 230 232 * @param int $message_id ID of the message. 233 * 231 234 * @return int|null Returns the ID of the message if the user is the 232 * sender, otherwise null.235 * sender, otherwise null. 233 236 */ 234 237 public static function is_user_sender( $user_id, $message_id ) { … … 244 247 * 245 248 * @param int $message_id ID of the message. 249 * 246 250 * @return int|null The ID of the sender if found, otherwise null. 247 251 */
Note: See TracChangeset
for help on using the changeset viewer.