Path

ez components / documentation / api reference / 1.1 / cache


eZ Components 1.1

Cache: ezcCacheStorageOptions

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcCacheStorageOptions

Option class for the ezcCacheStorage class. [source]
Instances of this class store the option of ezcCacheStorage implementations.

Parents

ezcBaseOptions
   |
   --ezcCacheStorageOptions

Member Variables

protected string $extension = ".cache"
The (file) extension to use for the storage items.
protected int $ttl = 86400
The time to live.

Method Summary

public void __set( $key, $value )
Sets an options.

Inherited Methods

From ezcBaseOptions :
public void ezcBaseOptions::__construct()
Construct a new options object.
public void ezcBaseOptions::merge()
Merge an array into the actual options object.
public bool ezcBaseOptions::offsetExists()
Returns if an option exists.
public mixed ezcBaseOptions::offsetGet()
Returns an option value.
public void ezcBaseOptions::offsetSet()
Set an option.
public void ezcBaseOptions::offsetUnset()
Unset an option.
public mixed ezcBaseOptions::__get()
Property get access.
public abstract void ezcBaseOptions::__set()

Methods

__set

void __set( string $key, mixed $value )
Sets an options.
This method is called when an options is set.

Parameters

Name Type Description
$key string The option name.
$value mixed The option value.

Redefinition of

Method Description
ezcBaseOptions::__set()  

Last updated: Wed, 28 Nov 2007