| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 127 lines (4 kb) |
| Included or required: | 5 times |
| Referenced: | 0 times |
| Includes or requires: | 3 files modules/Users/Users.php include/events/include.inc vtlib/Vtiger/Utils.php |
Vtiger_Event:: (5 methods):
log()
hasSupport()
register()
trigger()
getAll()
Class: Vtiger_Event - X-Ref
Provides API to work with vtiger CRM Eventing (available from vtiger 5.1)| log($message, $delim=true) X-Ref |
| Helper function to log messages param: String Message to log param: Boolean true appends linebreak, false to avoid it |
| hasSupport() X-Ref |
| Check if vtiger CRM support Events |
| register($moduleInstance, $eventname, $classname, $filename, $condition='', $dependent='[]') X-Ref |
| Handle event registration for module param: Vtiger_Module Instance of the module to use param: String Name of the Event like vtiger.entity.aftersave, vtiger.entity.beforesave param: String Name of the Handler class (should extend VTEventHandler) param: String File path which has Handler class definition param: String Condition for the event to trigger (default blank) |
| trigger($eventname, $crmid) X-Ref |
| Trigger event based on CRM Record param: String Name of the Event to trigger param: Integer CRM record id on which event needs to be triggered. |
| getAll($moduleInstance) X-Ref |
| Get all the registered module events param: Vtiger_Module Instance of the module to use |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |