Manage Shared documents through the global array $gdocs
Definition at line 11 of file SharedDocuments.php.
unset all objects referenced in shared object
- Returns
- bool
Definition at line 97 of file SharedDocuments.php.
Verify if a key is referenced in shared object
- Parameters
-
string | $key | object identifier |
- Returns
- bool
Definition at line 120 of file SharedDocuments.php.
Retrieve object from key identifier
- Parameters
-
string | $key | document identifier |
- Returns
- |null
Definition at line 37 of file SharedDocuments.php.
Return all keys referenced in shared object
- Returns
- array referenced keys returns
Definition at line 107 of file SharedDocuments.php.
static isShared |
( |
|
$key, |
|
|
& |
$item |
|
) |
| |
|
static |
Verify if a key is referenced in cached and object is same as item object
- Parameters
-
string | $key | object identifier |
\Doc | $item | object item |
- Returns
- bool true if $key and item match
Definition at line 134 of file SharedDocuments.php.
Unset object
- Parameters
-
string | $key | object identifier |
- Returns
- bool
Definition at line 81 of file SharedDocuments.php.
static set |
( |
|
$key, |
|
|
& |
$item, |
|
|
|
$force = false |
|
) |
| |
|
static |
Add or update an object
- Parameters
-
string | $key | object identifier |
\Doc | $item | object to add or update |
bool | $force | set to true to add without limits |
- Returns
- bool
Definition at line 60 of file SharedDocuments.php.
static setLimit |
( |
|
$limit | ) |
|
|
static |
The documentation for this class was generated from the following file: