 Interface Cache_Engine
Interface Cache_EngineCache_Engine defines the interface that cache implementations must conform to.
The interface is very simple, only one method is involved. The work is in implementing the object it returns, which must be an instance of Cache_ItemBase or provide the same methods as that class.
Note that what the above is saying is that the engine class does not return cached values directly. It returns an object which can be used to test for, read, or write the value associated with the requested key. So, even if a value does not exist in the cache, the engine must return an object which can be used to create it.
Located in /cache/lib/Cache/Engine.php (line 20)
 static is_supported (line 46)
		static is_supported (line 46)
	Called statically to ensure this engine is supported before constructing it. Most engines will want to always return true, but in some cases it may be a good place to check that all needed extensions are present.
 clear (line 53)
		clear (line 53)
	Clear all items from the cache
 has_locking (line 36)
		has_locking (line 36)
	Return true if this Engine's items provide locking
 item_for_key (line 29)
		item_for_key (line 29)
	Return the cache item object for the provided key.
Documentation generated on Wed, 25 Apr 2012 09:46:42 -0700 by phpDocumentor 1.4.3