app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php
public function loadCacheClearEvents($eventObject) {
        Varien_Profiler::start('turpentine::observer::esi::loadCacheClearEvents');
        $events = Mage::helper('turpentine/esi')->getCacheClearEvents();
        $appShim = Mage::getSingleton('turpentine/shim_mage_core_app');
        foreach ($events as $ccEvent) {
            $appShim->shim_addEventObserver('global', $ccEvent,
                'turpentine_ban_'.$ccEvent, 'singleton',
                'turpentine/observer_ban', 'banClientEsiCache');
        }
        Varien_Profiler::stop('turpentine::observer::esi::loadCacheClearEvents');
    }
public function loadCacheClearEvents($eventObject) {
        Varien_Profiler::start('turpentine::observer::esi::loadCacheClearEvents');
        $events = Mage::helper('turpentine/esi')->getCacheClearEvents();
        $appShim = Mage::getSingleton('turpentine/shim_mage_core_app');
        foreach ($events as $ccEvent) {
            $appShim->shim_addEventObserver('global', $ccEvent,
                'turpentine_ban_'.$ccEvent, 'singleton',
                'turpentine/observer_ban', 'banClientEsiCache');
        }
        Varien_Profiler::stop('turpentine::observer::esi::loadCacheClearEvents');
    }
public function loadCacheClearEvents ( $ eventObject ) { Varien_Profiler :: start ( 'turpentine::observer::esi::loadCacheClearEvents' ) ; $ events = Mage :: helper ( 'turpentine/esi' ) -> getCacheClearEvents ( ) ; $ appShim = Mage :: getSingleton ( 'turpentine/shim_mage_core_app' ) ; foreach ( $ events as $ ccEvent ) { $ appShim -> shim_addEventObserver ( 'global' , $ ccEvent , 'turpentine_ban_' . $ ccEvent , 'singleton' , 'turpentine/observer_ban' , 'banClientEsiCache' ) ; } Varien_Profiler :: stop ( 'turpentine::observer::esi::loadCacheClearEvents' ) ; }
Load the cache clear events from stored config

@param  Varien_Object $eventObject
@return null
Load the cache clear events from stored config