Cache_Lite::remove (Previous) (Next) Cache_Lite::setToDebug

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Cache_Lite::clean()

Cache_Lite::clean() -- キャッシュをクリアする

説明

グループが指定されない場合、全てのキャッシュファイルが削除されます ; または、指定されたグループのキャッシュファイルだけが削除されます。

パラメータ

string $group

キャッシュグループ名を指定します

string $mode

キャッシュをフラッシュするモードを指定します : 'old' (現在の生存期間に対して古すぎるキャッシュファイルをクリアします) 、 'ingroup' (与えられたグループの全てのキャッシュファイルをクリアします) 、 'notingroup' (与えられたグループ以外のキャッシュファイルをクリアします) 。 [1.5.0 ベータ以降] 'callback_myFunc' ( 完全パスファイルとグループと共に関数 'myFunc' をコールします。 もしコールバックが 'true' を返す場合、 キャッシュファイルは削除されます) 。

返り値

returns 問題がなければ true

注意

この関数は、スタティックにコールする ことはできません。

Cache_Lite::remove (Previous) (Next) Cache_Lite::setToDebug

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.