PHP Class ActiveRecord\Memcache

Mostra file Open project: jpfuentes2/php-activerecord

Public Methods

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

Method Details

__construct() public method

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 method

public delete ( $key )

flush() public method

public flush ( )

read() public method

public read ( $key )

write() public method

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