dolibarr
x.y.z
|
Set of function for memory/cache management. More...
Go to the source code of this file.
Functions | |
dol_setcache ($memoryid, $data, $expire=0) | |
Save data into a memory area shared by all users, all sessions on server. More... | |
dol_getcache ($memoryid) | |
Read a memory area shared by all users, all sessions on server. More... | |
dol_getshmopaddress ($memoryid) | |
Return shared memory address used to store dataset with key memoryid. More... | |
dol_listshmop () | |
Return list of contents of all memory area shared. More... | |
dol_setshmop ($memoryid, $data, $expire) | |
Save data into a memory area shared by all users, all sessions on server. More... | |
dol_getshmop ($memoryid) | |
Read a memory area shared by all users, all sessions on server. More... | |
Set of function for memory/cache management.
Definition in file memory.lib.php.
dol_getcache | ( | $memoryid | ) |
Read a memory area shared by all users, all sessions on server.
string | $memoryid | Memory id of shared area |
Definition at line 135 of file memory.lib.php.
dol_getshmop | ( | $memoryid | ) |
Read a memory area shared by all users, all sessions on server.
string | $memoryid | Memory id of shared area ('main', 'agenda', ...) |
Definition at line 282 of file memory.lib.php.
dol_getshmopaddress | ( | $memoryid | ) |
Return shared memory address used to store dataset with key memoryid.
string | $memoryid | Memory id of shared area ('main', 'agenda', ...) |
Definition at line 209 of file memory.lib.php.
dol_listshmop | ( | ) |
Return list of contents of all memory area shared.
Definition at line 223 of file memory.lib.php.
dol_setcache | ( | $memoryid, | |
$data, | |||
$expire = 0 |
|||
) |
Save data into a memory area shared by all users, all sessions on server.
string | $memoryid | Memory id of shared area |
mixed | $data | Data to save. It must not be a null value. |
int | $expire | ttl in seconds, 0 never expire |
Definition at line 68 of file memory.lib.php.
dol_setshmop | ( | $memoryid, | |
$data, | |||
$expire | |||
) |
Save data into a memory area shared by all users, all sessions on server.
int | $memoryid | Memory id of shared area ('main', 'agenda', ...) |
string | $data | Data to save. Must be a not null value. |
int | $expire | ttl in seconds, 0 never expire |
Definition at line 245 of file memory.lib.php.