Path

ez components / documentation / api reference / 2009.1.2 / persistentobject


eZ Components 2009.1.2

PersistentObject: ezcPersistentSessionIdentityDecoratorOptions

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

Class: ezcPersistentSessionIdentityDecoratorOptions

Options class for ezcPersistentSessionIdentityDecorator. [source]

Parents

ezcBaseOptions
   |
   --ezcPersistentSessionIdentityDecoratorOptions

Properties

bool read/write  $refetch
If this option is set to true, the identity session will re-fetch all objects when they are requested, instead of getting them from the identity map. Attention: This might lead to inconsistencies, if you are using old object instances in your application!

Inherited Member Variables

From ezcBaseOptions:
protected  ezcBaseOptions::$properties

Method Summary

public ezcPersistentSessionIdentityDecoratorOptions __construct( [$options = array()] )
Construct a new options object.

Inherited Methods

From ezcBaseOptions :
public ezcBaseOptions 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.

Methods

__construct

ezcPersistentSessionIdentityDecoratorOptions __construct( [ $options = array()] )
Construct a new options object.
Options are constructed from an option array by default. The constructor automatically passes the given options to the __set() method to set them in the class.

Parameters

Name Type Description
$options array(string=>mixed) The initial options to set.

Throws

ClassDescription
ezcBasePropertyNotFoundException If trying to access a non existent property.
ezcBaseValueException If the value for a property is out of range.

Redefinition of

Method Description
ezcBaseOptions::__construct() Construct a new options object.

Last updated: Tue, 01 Sep 2009