|
| __construct () |
|
| enabled () |
|
| recall ($type, $assetid=NULL, $contextid=NULL) |
|
| remember ($type, $assetid, $object, $contextid=NULL) |
|
| forget ($type, $assetid=NULL, $contextid=NULL) |
|
| forgetAll () |
|
| onAssetStatusUpdate (&$broadcaster, $vars) |
|
| onAssetDeleted (&$broadcaster, $vars) |
|
| onAssetUpdate (&$broadcaster, $vars=Array()) |
|
| onContentsUpdated (&$broadcaster, $vars) |
|
| onAttributeChange (&$broadcaster, $vars) |
|
| onAssetTypeUpdate (&$broadcaster, $vars=Array()) |
|
| enable () |
|
| disable () |
|
| failureCallback ($hostname, $port) |
|
| MySource_Object () |
|
| __sleep () |
|
| __wakeup () |
|
Definition at line 40 of file deja_vu.inc.
Constructor
Runs a bunch of assertions for the config, which will throw fatals.
- Returns
- Deja_Vu public
Definition at line 66 of file deja_vu.inc.
Disable DeJa Vu
- Returns
- bool Success|Failure public
Definition at line 394 of file deja_vu.inc.
Enable DeJa Vu
- Returns
- bool Success|Failure public
Definition at line 375 of file deja_vu.inc.
Flag to control enabled/disabled state.
- Returns
- bool public
Definition at line 120 of file deja_vu.inc.
failureCallback |
( |
|
$hostname, |
|
|
|
$port |
|
) |
| |
Failure Callback function for Memcache::addServer
- Parameters
-
- Returns
- void public
Definition at line 417 of file deja_vu.inc.
forget |
( |
|
$type, |
|
|
|
$assetid = NULL , |
|
|
|
$contextid = NULL |
|
) |
| |
Remove an item from memcached
- Parameters
-
string | $itemid | id of the item to remove |
- Returns
- boolean false if the item is not in the cache or failure public
Definition at line 220 of file deja_vu.inc.
Forget everything.
- Returns
- bool Success|Failure public
Definition at line 232 of file deja_vu.inc.
onAssetDeleted |
( |
& |
$broadcaster, |
|
|
|
$vars |
|
) |
| |
Event handler for when asset is deleted.
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 293 of file deja_vu.inc.
onAssetStatusUpdate |
( |
& |
$broadcaster, |
|
|
|
$vars |
|
) |
| |
Event handler for when asset status changes.
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 275 of file deja_vu.inc.
onAssetTypeUpdate |
( |
& |
$broadcaster, |
|
|
|
$vars = Array() |
|
) |
| |
Event handler for when asset type changes (morphing).
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 356 of file deja_vu.inc.
onAssetUpdate |
( |
& |
$broadcaster, |
|
|
|
$vars = Array() |
|
) |
| |
Event handler for when asset is updated.
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 311 of file deja_vu.inc.
onAttributeChange |
( |
& |
$broadcaster, |
|
|
|
$vars |
|
) |
| |
Event handler for when asset attributes change.
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 341 of file deja_vu.inc.
onContentsUpdated |
( |
& |
$broadcaster, |
|
|
|
$vars |
|
) |
| |
Event handler for when asset's contents are updated.
- Parameters
-
Object | broadcaster |
Array | vars |
- Returns
- void public
Definition at line 326 of file deja_vu.inc.
recall |
( |
|
$type, |
|
|
|
$assetid = NULL , |
|
|
|
$contextid = NULL |
|
) |
| |
Fetch an item from memcached, or null if not found.
- Parameters
-
String | $type | The type of data sort, asset or metadata currently. |
String | $assetid | |
- Returns
- mixed (Object or Array) public
Definition at line 136 of file deja_vu.inc.
remember |
( |
|
$type, |
|
|
|
$assetid, |
|
|
|
$object, |
|
|
|
$contextid = NULL |
|
) |
| |
Store an item in memcached.
- Parameters
-
String | $type | The type of data sort, asset or metadata currently. |
String | $assetid | |
Mixed | $object | The object to store. Which might not be an Object. |
- Returns
- boolean public
Definition at line 201 of file deja_vu.inc.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/include/deja_vu.inc