public function save($data)
    {
        $tags = array();
        foreach ($this->_tags as $tag) {
            $tags[] = $tag->getNativeId();
        }
        $raw = serialize($data);
        $this->_getBackend()->save($raw, $this->_id, $tags, $this->_lifetime);
    }
public function save($data)
    {
        $tags = array();
        foreach ($this->_tags as $tag) {
            $tags[] = $tag->getNativeId();
        }
        $raw = serialize($data);
        $this->_getBackend()->save($raw, $this->_id, $tags, $this->_lifetime);
    }
public function save ( $ data ) { $ tags = array ( ) ; foreach ( $ this -> _tags as $ tag ) { $ tags [ ] = $ tag -> getNativeId ( ) ; } $ raw = serialize ( $ data ) ; $ this -> _getBackend ( ) -> save ( $ raw , $ this -> _id , $ tags , $ this -> _lifetime ) ; }
Saves a data for this slot.

@param mixed $data   Data to be saved.
@return void
Saves a data for this slot .