Path

ez components / documentation / api reference / 1.0.1 / persistentobject


eZ Components 1.0.1

PersistentObject: ezcPersistentGeneratorDefinition

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

Class: ezcPersistentGeneratorDefinition

Defines a persistent object id generator. [source]

Member Variables

public string $class
The name of the class implementing the generator.
public array(string=>string) $params
Any parameters required by the generator.

Method Summary

public ezcPersistentGeneratorDefinition __construct( $class, [$params = array()] )
Constructs a new PersistentGeneratorDefinition
public static ezcPersistentGeneratorDefinition __set_state( $array )
Returns a new instance of this class with the data specified by $array.

Methods

__construct

ezcPersistentGeneratorDefinition __construct( $class, [ $params = array()] )
Constructs a new PersistentGeneratorDefinition

Parameters

Name Type Description
$class  
$params array  

__set_state

ezcPersistentGeneratorDefinition __set_state( $array )
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.

Last updated: Fri, 02 Nov 2007