[ Index ] |
|
Code source de CakePHP 1.1.13.4450 |
[Code source] [Imprimer] [Statistiques]
Caching for Cake. PHP versions 4 and 5
Copyright: | Copyright 2005-2007, Cake Software Foundation, Inc. |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
Version: | $Revision: 4450 $ |
Poids: | 137 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
__construct($id) X-Ref |
Constructor. Generates an md5'ed id for internal use. Calls the constructor on Model as well. param: unknown_type $id |
id($id = null) X-Ref |
Returns this object's id after setting it. If called without parameters the current object's id is returned. param: unknown_type $id return: unknown |
remember($content, $keep_for = CACHE_PAGES_FOR) X-Ref |
Store given content in cache database. param: string $content Content to keep in cache. param: int $keep_for Number of seconds to keep data in cache. return: boolean Success |
restore() X-Ref |
Returns content from the Cache object itself, if the Cache object has a non-empty data property. Else from the database cache. return: unknown |
has() X-Ref |
Returns true if the cache data property has current (non-stale) content for given id. return: boolean |
append($string) X-Ref |
Appends $string to the for_caching property of the Cache object. param: string $string |
clear() X-Ref |
Clears the cache database table. return: unknown |
Généré le : Sun Feb 25 19:27:47 2007 | par Balluche grâce à PHPXref 0.7 |