|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilGlobalCacheDBLayer. More...
Collaboration diagram for ilGlobalCacheDBLayer:Public Member Functions | |
| getWhere ($field, $value, $case_sensitive=true) | |
| filter (array $data, $field, $value, $case_sensitive=true, $strip=true) | |
| where ($field, $value, $case_sensitive=true) | |
| get ($strip=true) | |
| setCachedResults ($cached_results) | |
| getCachedResults () | |
| setRawData ($raw_data) | |
| getRawData () | |
| setTableName ($table_name) | |
| getTableName () | |
| setLoaded ($loaded) | |
| getLoaded () | |
| setComponent ($component) | |
| getComponent () | |
| setTtl ($ttl) | |
| getTtl () | |
Static Public Member Functions | |
| static | getInstance ($component, $table_name) |
Protected Member Functions | |
| __construct ($component, $table_name, $ttl=NULL) | |
| readFromCache () | |
| writeToCache () | |
| updateCachedResults () | |
Protected Attributes | |
| $component = '' | |
| $loaded = false | |
| $table_name = '' | |
| $raw_data = array() | |
| $cached_results = array() | |
| $ttl = NULL | |
| $global_cache | |
| $wheres = array() | |
Static Protected Attributes | |
| static | $instances = array() |
Class ilGlobalCacheDBLayer.
Definition at line 10 of file class.ilGlobalCacheDBLayer.php.
|
protected |
| $component | ||
| $table_name | ||
| int | $ttl |
Definition at line 55 of file class.ilGlobalCacheDBLayer.php.
References $component, $table_name, $ttl, ilGlobalCache\getInstance(), getLoaded(), readFromCache(), setComponent(), setLoaded(), setTableName(), setTtl(), and writeToCache().
Here is the call graph for this function:| ilGlobalCacheDBLayer::filter | ( | array | $data, |
| $field, | |||
| $value, | |||
$case_sensitive = true, |
|||
$strip = true |
|||
| ) |
| array | $data | |
| $field | ||
| $value | ||
| bool | $case_sensitive | |
| bool | $strip |
Definition at line 128 of file class.ilGlobalCacheDBLayer.php.
References $data, $result, and getTableName().
Referenced by getWhere().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalCacheDBLayer::get | ( | $strip = true | ) |
| bool | $strip |
Definition at line 197 of file class.ilGlobalCacheDBLayer.php.
References $result.
| ilGlobalCacheDBLayer::getCachedResults | ( | ) |
| ilGlobalCacheDBLayer::getComponent | ( | ) |
Definition at line 302 of file class.ilGlobalCacheDBLayer.php.
|
static |
| $component | |
| $table_name |
Definition at line 218 of file class.ilGlobalCacheDBLayer.php.
| ilGlobalCacheDBLayer::getLoaded | ( | ) |
Definition at line 286 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::getRawData | ( | ) |
Definition at line 254 of file class.ilGlobalCacheDBLayer.php.
Referenced by getWhere(), and writeToCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::getTableName | ( | ) |
Definition at line 270 of file class.ilGlobalCacheDBLayer.php.
Referenced by filter(), readFromCache(), and writeToCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::getTtl | ( | ) |
Definition at line 318 of file class.ilGlobalCacheDBLayer.php.
Referenced by writeToCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::getWhere | ( | $field, | |
| $value, | |||
$case_sensitive = true |
|||
| ) |
| $field | ||
| $value | ||
| bool | $case_sensitive |
Definition at line 112 of file class.ilGlobalCacheDBLayer.php.
References filter(), and getRawData().
Here is the call graph for this function:
|
protected |
Definition at line 69 of file class.ilGlobalCacheDBLayer.php.
References $cached_results, $data, getTableName(), setCachedResults(), setLoaded(), and setRawData().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setCachedResults | ( | $cached_results | ) |
| array | $cached_results |
Definition at line 230 of file class.ilGlobalCacheDBLayer.php.
Referenced by readFromCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setComponent | ( | $component | ) |
| string | $component |
Definition at line 294 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setLoaded | ( | $loaded | ) |
| boolean | $loaded |
Definition at line 278 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct(), and readFromCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setRawData | ( | $raw_data | ) |
| array | $raw_data |
Definition at line 246 of file class.ilGlobalCacheDBLayer.php.
Referenced by readFromCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setTableName | ( | $table_name | ) |
| string | $table_name |
Definition at line 262 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::setTtl | ( | $ttl | ) |
| int | $ttl |
Definition at line 310 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 169 of file class.ilGlobalCacheDBLayer.php.
Referenced by writeToCache().
Here is the caller graph for this function:| ilGlobalCacheDBLayer::where | ( | $field, | |
| $value, | |||
$case_sensitive = true |
|||
| ) |
| $field | ||
| $value | ||
| bool | $case_sensitive |
Definition at line 181 of file class.ilGlobalCacheDBLayer.php.
|
protected |
Definition at line 82 of file class.ilGlobalCacheDBLayer.php.
References getRawData(), getTableName(), getTtl(), and updateCachedResults().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 35 of file class.ilGlobalCacheDBLayer.php.
Referenced by readFromCache().
|
protected |
Definition at line 15 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilGlobalCacheDBLayer.php.
|
staticprotected |
Definition at line 27 of file class.ilGlobalCacheDBLayer.php.
|
protected |
Definition at line 19 of file class.ilGlobalCacheDBLayer.php.
|
protected |
Definition at line 31 of file class.ilGlobalCacheDBLayer.php.
|
protected |
Definition at line 23 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilGlobalCacheDBLayer.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilGlobalCacheDBLayer.php.