Class NCache
Implements the cache for a application.
- NObject
- NCache implements ArrayAccess
public
|
|
public
|
|
public
string
|
|
public
|
|
public
mixed|null
|
|
public
mixed
|
#
save( mixed $key, mixed $data, array $dependencies = NULL )
Writes item into the cache. Dependencies are:
|
public
|
|
public
|
|
public
mixed
|
|
public
NClosure
|
|
public
|
|
protected
string
|
|
public
|
|
public
mixed|null
|
|
public
boolean
|
|
public
|
|
public
|
|
public static
boolean
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
string |
PRIORITY
|
'priority' |
#
dependency |
string |
EXPIRATION
|
'expire' |
#
dependency |
string |
EXPIRE
|
'expire' |
#
dependency |
string |
SLIDING
|
'sliding' |
#
dependency |
string |
TAGS
|
'tags' |
#
dependency |
string |
FILES
|
'files' |
#
dependency |
string |
ITEMS
|
'items' |
#
dependency |
string |
CONSTS
|
'consts' |
#
dependency |
string |
CALLBACKS
|
'callbacks' |
#
dependency |
string |
ALL
|
'all' |
#
dependency |
public read-only
|
$storage | |
public read-only
string
|
$namespace |
$reflection
|