[Vtigercrm-developers] Register Event Handler in Manifest
Alan Lord
alanslists at gmail.com
Fri Feb 6 14:04:21 GMT 2015
On 06/02/15 13:45, Alan Lord wrote:
> I'm trying to register an event handler using the manifest file but it
> doesn't seem to be working, i.e. it isn't getting added to the database
> table vtiger_eventhandlers...
Ahhh.
From vtlib/Vtiger/PackageUpdate.php:
> /**
> * Update Event of the module
> * @access private
> */
> function update_Event($modulenode, $moduleInstance, $eventnode) {
> //Vtiger_Event::register($moduleInstance, $eventnode->eventname, $eventnode->classname, $eventnode->filename);
> // TODO Handle event property update
> }
:-(
So I need to write a vtlib handler function in my class file and trigger
it on "postupdate" I guess?
Al
More information about the vtigercrm-developers
mailing list