AkObject | --AkCache
Located in File: /AkCache.php
Akelos Framework provides an easy to use functionality for caching data using a database as container or the file system.
By default the cache container is defined in the following line
in the ''config/config.php'' file
Possible values are:
This class uses the [http://pear.php.net/manual/en/package.caching.cache-lite.php pear Cache_Lite] as driver for file based cache. In fact you can access an instance of Cache_Lite by accesing $Cache->_driverInstance.
$cache_enabled = true (line 100)
Method clean (line 244)
If no group is specified all cache items will be destroyed else only cache items of the specified group will be destroyed
Flush cache mode. Options are:
Method get (line 190)
Method init (line 151)
This method loads an instance of selected driver in order to use it class wide.
You can pass a number specifying the second for the cache to expire or an array with the following options:
The default value is set by defining the constant AK_CACHE_HANDLER in the following line
in the ''config/config.php'' file
Possible values are:
Method remove (line 219)
Method save (line 205)
AkObject::AkObject() - A hack to support __construct() on PHP 4
AkObject::__construct() - Class constructor, overriden in descendant classes
AkObject::freeMemory() - Unsets circular reference children that are not freed from memory when calling unset() or when the parent object is garbage collected.
AkObject::log() -
AkObject::toString() - Object-to-string conversion
AkObject::__clone() - Clone class (Zend Engine 2 compatibility trick)
AkObject::__destruct() - Class destructor, overriden in descendant classes
AkObject::__toString() -