library/Extlib/CacheListener.php
public function save(\Zend_EventManager_EventDescription $event)
    {
        $params = $event->getParams();
        if(!isset($params['data'])) {
            throw new \Zend_EventManager_Exception_InvalidArgumentException('Missing param data.');
        }

        $this->cache->save($params['data'], $this->_getIdentifier($event), $this->_getTags($event));
    }
public function save(\Zend_EventManager_EventDescription $event)
    {
        $params = $event->getParams();
        if(!isset($params['data'])) {
            throw new \Zend_EventManager_Exception_InvalidArgumentException('Missing param data.');
        }

        $this->cache->save($params['data'], $this->_getIdentifier($event), $this->_getTags($event));
    }
public function save ( \ Zend_EventManager_EventDescription $ event ) { $ params = $ event -> getParams ( ) ; if ( ! isset ( $ params [ 'data' ] ) ) { throw new \ Zend_EventManager_Exception_InvalidArgumentException ( 'Missing param data.' ) ; } $ this -> cache -> save ( $ params [ 'data' ] , $ this -> _getIdentifier ( $ event ) , $ this -> _getTags ( $ event ) ) ; }
Post event - save content in cache

@param \Zend_EventManager_EventDescription $event
Post event - save content in cache