Saves a component to cache.
This method saves the serialized component into memory and as a file (if necessary).
Derived classes may override this method to provide other ways of caching component. Be sure to override cloneComponent to make it consistent.
Parameters:
Creates a component from cache.
This method unserializes a component from memory or a file.
Derived classes may override this method to provide other ways of caching component. Be sure to override cacheComponent to make it consistent.
Parameters:
void setCurrentModule(
string
$name)
|
|
Sets the current module name.
Since module is related with namespace partition, it is important for cache manager to know under which module (namespace) a component is created and cached. Module name affects the location a component is cached.
Parameters: