The Yac class

(PECL yac >= 1.0.0)

Introduction

Class synopsis

Yac {
/* Properties */
protected _prefix ;
/* Methods */
public __construct ([ string $prefix = "" ] )
public add ( string $keys , mixed $value [, int $ttl = 0 ] ) : bool
public add ( array $key_vals ) : bool
public delete ( string|array $keys [, int $ttl ] ) : bool
public dump ( int $$num ) : mixed
public flush ( void ) : bool
public get ( string|array $key [, int &$cas = NULL ] ) : mixed
public __get ( string $key ) : mixed
public info ( void ) : array
public set ( string $keys , mixed $value [, int $ttl = 0 ] ) : bool
public add ( array $key_vals ) : bool
public __set ( string $keys , mixed $value ) : mixed
}

Properties

_prefix

Table of Contents