PHP Class HamCache

Datei anzeigen Open project: radiosilence/ham Class Usage Examples

Public Properties

Property Type Description
$prefix

Public Methods

Method Description
__construct ( $prefix = False )
dec ( $key, $interval = 1 )
get ( $key )
inc ( $key, $interval = 1 )
set ( $key, $value, $ttl = 1 )

Protected Methods

Method Description
_p ( $key )

Method Details

__construct() public method

public __construct ( $prefix = False )

_p() protected method

protected _p ( $key )

dec() abstract public method

abstract public dec ( $key, $interval = 1 )

get() abstract public method

abstract public get ( $key )

inc() abstract public method

abstract public inc ( $key, $interval = 1 )

set() abstract public method

abstract public set ( $key, $value, $ttl = 1 )

Property Details

$prefix public_oe property

public $prefix