Path

ez components / documentation / api reference / latest / cache


eZ Components latest

Cache: ezcCacheMemoryVarStruct

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

Class: ezcCacheMemoryVarStruct

Defines a memory var structure. [source]

Parents

ezcBaseStruct
   |
   --ezcCacheMemoryVarStruct

Member Variables

public string $key
Holds the cache key.
public int $ttl
Holds the TTL value of the cache.
public mixed $var
Holds the data associated with the key.

Method Summary

public ezcCacheMemoryVarStruct __construct( $key, $var, $ttl )
Constructs a new ezcCacheMemoryVarStruct object.

Methods

__construct

ezcCacheMemoryVarStruct __construct( string $key, mixed $var, int $ttl )
Constructs a new ezcCacheMemoryVarStruct object.

Parameters

Name Type Description
$key string  
$var mixed  
$ttl int  

Last updated: Tue, 02 Dec 2008