PHP Class ActiveRecord\Memcache

Afficher le fichier Open project: jpfuentes2/php-activerecord

Méthodes publiques

Méthode Description
__construct ( array $options ) Creates a Memcache instance.
delete ( $key )
flush ( )
read ( $key )
write ( $key, $value, $expire )

Method Details

__construct() public méthode

Takes an $options array w/ the following parameters:
  • host: host for the memcache server
  • port: port for the memcache server
public __construct ( array $options )
$options array

delete() public méthode

public delete ( $key )

flush() public méthode

public flush ( )

read() public méthode

public read ( $key )

write() public méthode

public write ( $key, $value, $expire )