« Vordefinierte Konstanten
Search
Yac::add »
PHP Manual
Yac
The Yac class
The Yac class
(PECL yac >= 1.0.0)
Einführung
Klassenbeschreibung
class
Yac
{
/* Eigenschaften */
protected
$
_prefix
;
/* Methoden */
public
function
__construct
(
string
$prefix
= ""
)
public
function
add
(
string
$keys
,
mixed
$value
,
int
$ttl
= 0
):
bool
public
function
add
(
array
$key_vals
):
bool
public
function
delete
(
string
|
array
$keys
,
int
$ttl
= ?
):
bool
public
function
dump
(
int
$$num
):
mixed
public
function
flush
():
bool
public
function
get
(
string
|
array
$key
,
int
&$cas
=
null
):
mixed
public
function
__get
(
string
$key
):
mixed
public
function
info
():
array
public
function
set
(
string
$keys
,
mixed
$value
,
int
$ttl
= 0
):
bool
public
function
add
(
array
$key_vals
):
bool
public
function
__set
(
string
$keys
,
mixed
$value
):
mixed
}
Eigenschaften
_prefix
Inhaltsverzeichnis
Yac::add
— Store into cache
Yac::__construct
— Constructor
Yac::delete
— Remove items from cache
Yac::dump
— Dump cache
Yac::flush
— Flush the cache
Yac::get
— Retrieve values from cache
Yac::__get
— Getter
Yac::info
— Status of cache
Yac::set
— Store into cache
Yac::__set
— Setter
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open