30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

Zend Data Cache - PHP API<br />

Table of Contents<br />

248<br />

• Zend Data Cache functions<br />

o zend_shm_cache_store - Stores a variable identified by key into the cache. If a<br />

namespace is provided, the key is stored under that namespace. Identical keys can exist<br />

under different namespaces<br />

o zend_disk_cache_store - Stores a variable identified by a key into the cache. If a<br />

namespace is provided, the key is stored under that namespace. Identical keys can exist<br />

under different namespaces<br />

o zend_shm_cache_fetch - Fetches data from the cache. The key can be prefixed with a<br />

namespace to indicate searching within the specified namespace only. If a namespace is<br />

not provided, the Data Cache searches for the key in the global namespace<br />

o zend_disk_cache_fetch - Fetches data from the cache. The key can be prefixed with a<br />

namespace to indicate searching within the specified namespace only. If a namespace is<br />

not provided, the Data Cache searches for the key in the global namespace<br />

o zend_shm_cache_delete - Finds and deletes an entry from the cache, using a key to<br />

identify it. The key can be prefixed with a namespace to indicate that the key can be<br />

deleted within that namespace only. If a namespace is not provided, the Data Cache<br />

searches for the key in the global namespace<br />

o zend_disk_cache_delete - Finds and deletes an entry from the cache, using a key to<br />

identify it. The key can be prefixed with a namespace to indicate that the key can be<br />

deleted within that namespace only. If a namespace is not provided, the Data Cache<br />

searches for the key in the global namespace<br />

o zend_shm_cache_clear - Deletes all entries from all namespaces in the cache, if a<br />

'namespace' is provided, only the entries in that namespace are deleted<br />

o zend_disk_cache_clear - Deletes all entries from all namespaces in the cache, if a<br />

'namespace' is provided, only the entries in that namespace are deleted

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!