ILIAS
Release_5_0_x_branch Revision 61816
|
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 10 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 40 of file class.ilGlobalCacheQueryWrapper.php.
References $cache_key, $fetch_type, $mode, and $query.
ilGlobalCacheQueryWrapper::get | ( | ) |
Definition at line 51 of file class.ilGlobalCacheQueryWrapper.php.
References ilGlobalCache\getInstance().
ilGlobalCacheQueryWrapper::getFetchType | ( | ) |
Definition at line 109 of file class.ilGlobalCacheQueryWrapper.php.
References $fetch_type.
ilGlobalCacheQueryWrapper::getMode | ( | ) |
ilGlobalCacheQueryWrapper::setFetchType | ( | $fetch_type | ) |
int | $fetch_type |
Definition at line 101 of file class.ilGlobalCacheQueryWrapper.php.
References $fetch_type.
ilGlobalCacheQueryWrapper::setMode | ( | $mode | ) |
int | $mode |
Definition at line 117 of file class.ilGlobalCacheQueryWrapper.php.
References $mode.
|
protected |
Definition at line 23 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct(), getFetchType(), and setFetchType().
|
protected |
Definition at line 31 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct(), getMode(), and setMode().
|
protected |
Definition at line 19 of file class.ilGlobalCacheQueryWrapper.php.
Referenced by __construct().
const ilGlobalCacheQueryWrapper::FETCH_TYPE_ASSOC = 1 |
Definition at line 12 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::FETCH_TYPE_OBJECT = 2 |
Definition at line 13 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::MODE_MULTIPLE = 2 |
Definition at line 15 of file class.ilGlobalCacheQueryWrapper.php.
const ilGlobalCacheQueryWrapper::MODE_SINGLE = 1 |
Definition at line 14 of file class.ilGlobalCacheQueryWrapper.php.