public function save($data, $id, $tags = array(), $specificLifetime = false)
    {
        $result = parent::save($data, $id, array(), $specificLifetime);
        if ($tags) {
            if (!method_exists($this->_handle, 'tag_add')) {
                \Zend_Cache::throwException('Method tag_add() is not supported by the PHP memcached extension!');
            }
            foreach ($tags as $tag) {
                $this->_handle->tag_add($tag, $id);
            }
            return true;
        }
        return $result;
    }
public function save($data, $id, $tags = array(), $specificLifetime = false)
    {
        $result = parent::save($data, $id, array(), $specificLifetime);
        if ($tags) {
            if (!method_exists($this->_handle, 'tag_add')) {
                \Zend_Cache::throwException('Method tag_add() is not supported by the PHP memcached extension!');
            }
            foreach ($tags as $tag) {
                $this->_handle->tag_add($tag, $id);
            }
            return true;
        }
        return $result;
    }
public function save ( $ data , $ id , $ tags = array ( ) , $ specificLifetime = false ) { $ result = parent :: save ( $ data , $ id , array ( ) , $ specificLifetime ) ; if ( $ tags ) { if ( ! method_exists ( $ this -> _handle , 'tag_add' ) ) { \ Zend_Cache :: throwException ( 'Method tag_add() is not supported by the PHP memcached extension!' ) ; } foreach ( $ tags as $ tag ) { $ this -> _handle -> tag_add ( $ tag , $ id ) ; } return true ; } return $ result ; }
Saves a data in memcached.
Supports tags.

@see \Zend_Cache_Backend_Memcached::save()
Saves a data in memcached . Supports tags .