ICacheManager Interface Reference
[Interfaces]
A cache manager. More...
Inheritance diagram for ICacheManager:
Public Member Functions |
|
get_cache_header_manager () | |
Get cache header manager. |
|
get_cache_id () | |
Returs the cache id. |
|
get_creation_datetime () | |
Returns the datetime this cache has been
created. |
|
get_expiration_datetime () | |
Returns the datetime this cache expires.
|
|
initialize ($page_data) | |
Initialize this instance. |
|
set_cache_duration ($seconds) | |
Set Cache duration in seconds.
|
|
set_cache_header_manager (ICacheHeaderManager $manager) | |
Set cache header manager. |
|
set_cache_id ($id) | |
Sets the cache id. |
|
set_creation_datetime ($datetime) | |
Sets the datetime this cache has been
created. |
|
set_expiration_datetime ($datetime) | |
Sets the expiration datetime this cache
expires. |
Detailed Description
A cache manager.
Definition at line 8 of file icachemanager.cls.php.
Member Function Documentation
ICacheManager::get_cache_header_manager | ( | ) |
ICacheManager::get_cache_id | ( | ) |
ICacheManager::get_creation_datetime | ( | ) |
Returns the datetime this cache has been created.
- Returns:
- timestamp
Implemented in ConstantCacheManager.
ICacheManager::get_expiration_datetime | ( | ) |
ICacheManager::initialize | ( | $ | page_data | ) |
Initialize this instance.
- Parameters:
-
PageData $page_data
- Returns:
- void
Implemented in ConstantCacheManager, and SuccessCacheManager.
ICacheManager::set_cache_duration | ( | $ | seconds | ) |
ICacheManager::set_cache_header_manager | ( | ICacheHeaderManager $ | manager | ) |
Set cache header manager.
Implemented in ConstantCacheManager.
ICacheManager::set_cache_id | ( | $ | id | ) |
ICacheManager::set_creation_datetime | ( | $ | datetime | ) |
Sets the datetime this cache has been created.
- Parameters:
-
timestamp $datetime
Implemented in ConstantCacheManager.
ICacheManager::set_expiration_datetime | ( | $ | datetime | ) |
Sets the expiration datetime this cache expires.
- Parameters:
-
timestamp $datetime
Implemented in ConstantCacheManager.
The documentation for this interface was generated from the following file:
- gyro/core/lib/interfaces/icachemanager.cls.php