app/code/community/Nexcessnet/Turpentine/Helper/Esi.php
protected function _loadEsiCacheClearEvents() {
        Varien_Profiler::start('turpentine::helper::esi::_loadEsiCacheClearEvents');
        $layoutXml = $this->getLayoutXml();
        $events = $layoutXml->xpath(
            '//action[@method=\'setEsiOptions\']/params/flush_events/*' );
        if ($events) {
            $events = array_unique(array_map(
                create_function('$e',
                    'return (string)$e->getName();'),
                $events ));
        } else {
            $events = array();
        }
        Varien_Profiler::stop('turpentine::helper::esi::_loadEsiCacheClearEvents');
        return $events;
    }
protected function _loadEsiCacheClearEvents() {
        Varien_Profiler::start('turpentine::helper::esi::_loadEsiCacheClearEvents');
        $layoutXml = $this->getLayoutXml();
        $events = $layoutXml->xpath(
            '//action[@method=\'setEsiOptions\']/params/flush_events/*' );
        if ($events) {
            $events = array_unique(array_map(
                create_function('$e',
                    'return (string)$e->getName();'),
                $events ));
        } else {
            $events = array();
        }
        Varien_Profiler::stop('turpentine::helper::esi::_loadEsiCacheClearEvents');
        return $events;
    }
protected function _loadEsiCacheClearEvents ( ) { Varien_Profiler :: start ( 'turpentine::helper::esi::_loadEsiCacheClearEvents' ) ; $ layoutXml = $ this -> getLayoutXml ( ) ; $ events = $ layoutXml -> xpath ( '//action[@method=\'setEsiOptions\']/params/flush_events/*' ) ; if ( $ events ) { $ events = array_unique ( array_map ( create_function ( '$e' , 'return (string)$e->getName();' ) , $ events ) ) ; } else { $ events = array ( ) ; } Varien_Profiler :: stop ( 'turpentine::helper::esi::_loadEsiCacheClearEvents' ) ; return $ events ; }
Load the ESI cache clear events from the layout

@return array
Load the ESI cache clear events from the layout