| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Popup message processor, stores messages to be shown using the message popup
| Copyright: | 2008 Luis Rodrigues |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later |
| File Size: | 97 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
message_output_popup:: (4 methods):
send_message()
config_form()
process_form()
load_data()
Class: message_output_popup - X-Ref
The popup message processor| send_message($eventdata) X-Ref |
| Process the popup message. The popup doesn't send data only saves in the database for later use, the popup_interface.php takes the message from the message table into the message_read. param: object $eventdata the event data submitted by the message sender plus $eventdata->savedmessageid return: true if ok, false if error |
| config_form($preferences) X-Ref |
| Creates necessary fields in the messaging config form. param: array $preferences An array of user preferences |
| process_form($form, &$preferences) X-Ref |
| Parses the submitted form data and saves it into preferences array. param: stdClass $form preferences form class param: array $preferences preferences array |
| load_data(&$preferences, $userid) X-Ref |
| Loads the config data from database to put on the form during initial form display param: array $preferences preferences array param: int $userid the user id |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |