app/code/community/Nexcessnet/Turpentine/Model/Shim/Mage/Core/App.php
public function shim_addEventObserver($area, $eventName, $obsName,
            $type = null, $class = null, $method = null) {
        $eventConfig = new Varien_Simplexml_Config();
        $eventConfig->loadDom($this->_shim_getEventDom(
            $area, $eventName, $obsName, $type, $class, $method ));
        $this->_shim_getConfig()->extend($eventConfig, true);
        // this wouldn't work if PHP had a sane object model
        $this->_shim_getApp()->_events[$area][$eventName] = null;
        /* clear the event area cache because by the time this gets executed all <global> events have already been
           cached in Magento EE 1.11 */
        $this->_shim_getConfigShim()->unsetEventAreaCache($area);
        return $this;
    }
public function shim_addEventObserver($area, $eventName, $obsName,
            $type = null, $class = null, $method = null) {
        $eventConfig = new Varien_Simplexml_Config();
        $eventConfig->loadDom($this->_shim_getEventDom(
            $area, $eventName, $obsName, $type, $class, $method ));
        $this->_shim_getConfig()->extend($eventConfig, true);
        // this wouldn't work if PHP had a sane object model
        $this->_shim_getApp()->_events[$area][$eventName] = null;
        /* clear the event area cache because by the time this gets executed all <global> events have already been
           cached in Magento EE 1.11 */
        $this->_shim_getConfigShim()->unsetEventAreaCache($area);
        return $this;
    }
public function shim_addEventObserver ( $ area , $ eventName , $ obsName , $ type = null , $ class = null , $ method = null ) { $ eventConfig = new Varien_Simplexml_Config ( ) ; $ eventConfig -> loadDom ( $ this -> _shim_getEventDom ( $ area , $ eventName , $ obsName , $ type , $ class , $ method ) ) ; $ this -> _shim_getConfig ( ) -> extend ( $ eventConfig , true ) ; // this wouldn't work if PHP had a sane object model $ this -> _shim_getApp ( ) -> _events [ $ area ] [ $ eventName ] = null ; /* clear the event area cache because by the time this gets executed all <global> events have already been
           cached in Magento EE 1.11 */ $ this -> _shim_getConfigShim ( ) -> unsetEventAreaCache ( $ area ) ; return $ this ; }
Adds new observer for specified event

@param string $area (global|admin...)
@param string $eventName name of the event to observe
@param string $obsName name of the observer (as specified in config.xml)
@param string $type (model|singleton)
@param string $class identifier of the observing model class
@param string $method name of the method to call
@return Nexcessnet_Turpentine_Model_Shim_Mage_Core_App
Adds new observer for specified event