|
File /components/com_pagecache/backends/pagecache.(*).php
Static Method save($name, $data, $info, $ttl)
Saves $data with name $name and $info for $ttl. Returns true on success, false on failure.
Static Method get($name)
Fetches saved information. Returns false on failure, an associative array('info'=>$info, 'data'=>$data) on success.
Static Method delete($name)
Deletes individual cache item. Returns true on success, false on falure.
Static Method clear()
Clears cache. Also calls the pagecache::cron_register() function to reload the cache if cron is enabled.
Static Method getLock($name)
Gets a lock at the beginning of processing a page (so not to store it twice). Returns false if lock could not be attained (if it's already locked), or true if the lock was successful.
Static Method releaseLock($name)
Releases lock placed on $name.
Static Method getList()
Returns associative array of "page_name" => $info. (Basically a list of all pages currently cached.
|