public function save($data,
$id,
$tags = array
(),
$specificLifetime = false
) { if (!
($specificLifetime === false
)) { $this->
_log("Zend_Cache_Backend_ZendPlatform::save() : non false specifc lifetime is unsuported for this backend"
);
} $lifetime =
$this->_directives
['lifetime'
];
$result1 =
output_cache_put($id, array
($data,
time()));
$result2 =
(count($tags) == 0
);
foreach ($tags as $tag) { $tagid = self::TAGS_PREFIX.
$tag;
$old_tags =
output_cache_get($tagid,
$lifetime);
if ($old_tags === false
) { $old_tags = array
();
} $old_tags[$id] =
$id;
output_cache_remove_key($tagid);
$result2 =
output_cache_put($tagid,
$old_tags);
}