app/code/community/Nexcessnet/Turpentine/controllers/Varnish/ManagementController.php
public function flushAllAction() {
        Mage::dispatchEvent('turpentine_varnish_flush_all');
        $result = Mage::getModel('turpentine/varnish_admin')->flushAll();
        foreach ($result as $name => $value) {
            if ($value === true) {
                $this->_getSession()
                    ->addSuccess(Mage::helper('turpentine/data')
                        ->__('Flushed Varnish cache for: ').$name);
            } else {
                $this->_getSession()
                    ->addError(Mage::helper('turpentine/data')
                        ->__('Error flushing Varnish cache on: ').$name);
            }
        }
        $this->_redirect('*/cache');
    }
public function flushAllAction() {
        Mage::dispatchEvent('turpentine_varnish_flush_all');
        $result = Mage::getModel('turpentine/varnish_admin')->flushAll();
        foreach ($result as $name => $value) {
            if ($value === true) {
                $this->_getSession()
                    ->addSuccess(Mage::helper('turpentine/data')
                        ->__('Flushed Varnish cache for: ').$name);
            } else {
                $this->_getSession()
                    ->addError(Mage::helper('turpentine/data')
                        ->__('Error flushing Varnish cache on: ').$name);
            }
        }
        $this->_redirect('*/cache');
    }
public function flushAllAction ( ) { Mage :: dispatchEvent ( 'turpentine_varnish_flush_all' ) ; $ result = Mage :: getModel ( 'turpentine/varnish_admin' ) -> flushAll ( ) ; foreach ( $ result as $ name => $ value ) { if ( $ value === true ) { $ this -> _getSession ( ) -> addSuccess ( Mage :: helper ( 'turpentine/data' ) -> __ ( 'Flushed Varnish cache for: ' ) . $ name ) ; } else { $ this -> _getSession ( ) -> addError ( Mage :: helper ( 'turpentine/data' ) -> __ ( 'Error flushing Varnish cache on: ' ) . $ name ) ; } } $ this -> _redirect ( '*/cache' ) ; }
Full flush action, flushes all Magento URLs in Varnish cache

@return null
Full flush action flushes all Magento URLs in Varnish cache