Regarding the issue of viewing events (no matter what they may be), see Mage_Core_Model_App::dispatchEvent() . Example debug / registration code:
public function dispatchEvent($eventName, $args) { $argsArray = array(); $logfile = fopen(Mage::getBaseDir().'/var/log/events.log','a'); if(is_array($args)){ foreach ($args as $k => $v){ switch (gettype($v)) { case 'object': $v = get_class($v); break; case 'array': $v = 'array'; } $argsArray[$k] = $v; } } $log = $eventName.":\r\t"; foreach($argsArray as $k => $v){ $log .= $k; $log .= "\r\t\t".$v; } $log .= "\r\r"; fwrite($logfile,$log); fclose($logfile);
benmarks
source share