[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Message deleted event.
Copyright: | 2015 Mark Nelson <markn@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 155 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
message_deleted:: (6 methods):
create_from_ids()
init()
get_name()
get_description()
validate_data()
get_other_mapping()
Class: message_deleted - X-Ref
Message deleted event class.create_from_ids($userfromid, $usertoid, $userdeleted, $messagetable, $messageid) X-Ref |
Create event using ids. param: int $userfromid the user who the message was from. param: int $usertoid the user who the message was sent to. param: int $userdeleted the user who deleted it. param: string $messagetable the table we are marking the message as deleted in. param: int $messageid the id of the message that was deleted. return: message_deleted |
init() X-Ref |
Init method. |
get_name() X-Ref |
Returns localised general event name. return: string |
get_description() X-Ref |
Returns description of what happened. return: string |
validate_data() X-Ref |
Custom validation. return: void |
get_other_mapping() X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |