ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilGlobalCacheQueryWrapper. More...
Public Member Functions | |
__construct ($cache_key, $query, $fetch_type=self::FETCH_TYPE_OBJECT, $mode=self::MODE_SINGLE) | |
get () | |
setFetchType ($fetch_type) | |
getFetchType () | |
setMode ($mode) | |
getMode () | |
Data Fields | |
const | FETCH_TYPE_ASSOC = 1 |
const | FETCH_TYPE_OBJECT = 2 |
const | MODE_SINGLE = 1 |
const | MODE_MULTIPLE = 2 |
Protected Attributes | |
$query = '' | |
$cache_key = '' | |
$fetch_type = self::FETCH_TYPE_OBJECT | |
$mode = self::MODE_SINGLE | |
Class ilGlobalCacheQueryWrapper.
Definition at line 12 of file class.ilGlobalCacheQueryWrapper.php.
ilGlobalCacheQueryWrapper::__construct | ( | $cache_key, | |
$query, | |||
$fetch_type = self::FETCH_TYPE_OBJECT , |
|||
$mode = self::MODE_SINGLE |
|||
) |
$cache_key | ||
$query | ||
int | $fetch_type | |
int | $mode |
Definition at line 42 of file class.ilGlobalCacheQueryWrapper.php.
References $cache_key, $fetch_type, $mode, and $query.
ilGlobalCacheQueryWrapper::get | ( | ) |
Definition at line 54 of file class.ilGlobalCacheQueryWrapper.php.
References $DIC, $ilDB, $res, array, getFetchType(), ilGlobalCache\getInstance(), and getMode().
ilGlobalCacheQueryWrapper::getFetchType | ( | ) |
Definition at line 116 of file class.ilGlobalCacheQueryWrapper.php.
References $fetch_type.
Referenced by get().
ilGlobalCacheQueryWrapper::getMode | ( | ) |
Definition at line 134 of file class.ilGlobalCacheQueryWrapper.php.
References $mode.
Referenced by get().
ilGlobalCacheQueryWrapper::setFetchType | ( | $fetch_type | ) |
int | $fetch_type |
Definition at line 107 of file class.ilGlobalCacheQueryWrapper.php.
References $fetch_type.
ilGlobalCacheQueryWrapper::setMode | ( | $mode | ) |
int | $mode |
Definition at line 125 of file class.ilGlobalCacheQueryWrapper.php.
References $mode.
|
protected |
Definition at line 25 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct(), getFetchType(), and setFetchType().
|
protected |
Definition at line 33 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct(), getMode(), and setMode().
|
protected |
Definition at line 21 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct().
const ilGlobalCacheQueryWrapper::FETCH_TYPE_ASSOC = 1 |
Definition at line 14 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::FETCH_TYPE_OBJECT = 2 |
Definition at line 15 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::MODE_MULTIPLE = 2 |
Definition at line 17 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::MODE_SINGLE = 1 |
Definition at line 16 of file class.ilGlobalCacheQueryWrapper.php.