Cache_Lite_File Cache_Lite_File(
[array
$options = array(NULL)]
)
|
|
Constructor
$options is an assoc. To have a look at availables options, see the constructor of the Cache_Lite class in 'Cache_Lite.php'
Comparing to Cache_Lite constructor, there is another option : $options = array( (...) see Cache_Lite constructor 'masterFile' => complete path of the file used for controlling the cache lifetime(string) );
Parameters:
API Tags:
string get(
string
$id, [string
$group = 'default']
)
|
|
Test if a cache is available and (if yes) return it
Parameters:
|
string |
$id: |
cache id |
|
string |
$group: |
name of the cache group |
API Tags:
| Return: | data of the cache (or false if no cache available) |
| Access: | public |
Redefinition of:
- Cache_Lite::get()
- Test if a cache is available and (if yes) return it