PHP 클래스 ActiveRecord\Memcache

파일 보기 프로젝트 열기: jpfuentes2/php-activerecord

공개 메소드들

메소드 설명
__construct ( array $options ) Creates a Memcache instance.
delete ( $key )
flush ( )
read ( $key )
write ( $key, $value, $expire )

메소드 상세

__construct() 공개 메소드

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 delete ( $key )

flush() 공개 메소드

public flush ( )

read() 공개 메소드

public read ( $key )

write() 공개 메소드

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