ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilGSStorageCache. More...
Data Fields | |
const | CACHE_TTL_SECONDS = 180 |
Private Member Functions | |
storeActiveRecordInCache (ActiveRecord $ar) | |
Stores an active record into the Cache. More... | |
Private Attributes | |
$ttl | |
$arConnectorDB | |
$cache | |
Class ilGSStorageCache.
Definition at line 8 of file class.arConnectorCache.php.
arConnectorCache::__construct | ( | arConnector | $arConnectorDB, |
int | $ttl = self::CACHE_TTL_SECONDS |
||
) |
ilGSStorageCache constructor.
arConnector | $arConnectorDB | |
int | $ttl |
Definition at line 32 of file class.arConnectorCache.php.
References $arConnectorDB, $ttl, ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().
arConnectorCache::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 245 of file class.arConnectorCache.php.
References arConnectorDB\affectedRows().
arConnectorCache::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 56 of file class.arConnectorCache.php.
References arConnectorDB\checkConnection().
arConnectorCache::checkFieldExists | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
Definition at line 125 of file class.arConnectorCache.php.
References arConnectorDB\checkFieldExists().
arConnectorCache::checkTableExists | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 113 of file class.arConnectorCache.php.
References arConnectorDB\checkTableExists().
arConnectorCache::create | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 163 of file class.arConnectorCache.php.
References arConnectorDB\create(), and storeActiveRecordInCache().
arConnectorCache::delete | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 218 of file class.arConnectorCache.php.
References $key, and arConnectorDB\delete().
arConnectorCache::installDatabase | ( | ActiveRecord | $ar, |
$fields | |||
) |
ActiveRecord | $ar | |
$fields |
Definition at line 68 of file class.arConnectorCache.php.
References arConnectorDB\installDatabase().
arConnectorCache::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 45 of file class.arConnectorCache.php.
References arConnectorDB\nextID().
arConnectorCache::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Definition at line 257 of file class.arConnectorCache.php.
References $type, and arConnectorDB\quote().
arConnectorCache::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 175 of file class.arConnectorCache.php.
References $key, $results, ActiveRecord\getConnectorContainerName(), ActiveRecord\getPrimaryFieldValue(), and arConnectorDB\read().
arConnectorCache::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Definition at line 234 of file class.arConnectorCache.php.
References arConnectorDB\readSet().
arConnectorCache::removeField | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
arException |
Definition at line 138 of file class.arConnectorCache.php.
References arConnectorDB\removeField().
arConnectorCache::renameField | ( | ActiveRecord | $ar, |
$old_name, | |||
$new_name | |||
) |
ActiveRecord | $ar | |
$old_name | ||
$new_name |
arException |
Definition at line 152 of file class.arConnectorCache.php.
References arConnectorDB\renameField().
arConnectorCache::resetDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 90 of file class.arConnectorCache.php.
References arConnectorDB\resetDatabase().
|
private |
Stores an active record into the Cache.
ActiveRecord | $ar |
Definition at line 279 of file class.arConnectorCache.php.
References $key, ActiveRecord\__asStdClass(), ActiveRecord\getConnectorContainerName(), and ActiveRecord\getPrimaryFieldValue().
Referenced by create(), and update().
arConnectorCache::truncateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 101 of file class.arConnectorCache.php.
References arConnectorDB\truncateDatabase().
arConnectorCache::update | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 206 of file class.arConnectorCache.php.
References storeActiveRecordInCache(), and arConnectorDB\update().
arConnectorCache::updateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 79 of file class.arConnectorCache.php.
References arConnectorDB\updateDatabase().
arConnectorCache::updateIndices | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Definition at line 266 of file class.arConnectorCache.php.
References arConnectorDB\updateIndices().
|
private |
Definition at line 18 of file class.arConnectorCache.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.arConnectorCache.php.
|
private |
Definition at line 14 of file class.arConnectorCache.php.
Referenced by __construct().
const arConnectorCache::CACHE_TTL_SECONDS = 180 |
Definition at line 23 of file class.arConnectorCache.php.