Apache Zeta Components Manual :: Docs For Class ezcPersistentIdentity
PersistentObject::ezcPersistentIdentity
Class ezcPersistentIdentity
Struct representing an object identity in ezcPersistentIdentityMap.
Source for this file: /PersistentObject/src/structs/identity.php
ezcBaseStruct | --ezcPersistentIdentity
Version: | //autogen// |
Member Variables
public array(string=>ArrayObject(mixed=>ezcPersistentObject)) |
$namedRelatedObjectSets
Named sets of related objects. Structure:
|
public object |
$object
The object. |
public SplObjectStorage(ArrayObject) |
$references
Stores all references to $object in other identities. This attribute stores references to all $relatedObjects and $namedRelatedObjectSets sets, the $object of this identity is referenced in. |
public array(string=>ArrayObject(mixed=>ezcPersistentObject)) |
$relatedObjects
Related objects of $object. Structure:
|
Method Summary
public ezcPersistentIdentity |
__construct(
[ $object
= null] , [ $relatedObjects
= array()] , [ $namedRelatedObjectSets
= array()] , [ $references
= null] )
Creates a new object identity. |
Methods
__construct
ezcPersistentIdentity
__construct(
[object
$object
= null] , [
$relatedObjects
= array()] , [
$namedRelatedObjectSets
= array()] , [
$references
= null] )
Creates a new object identity.
Creates an identity struct for $object with relations to its $relatedObjects and $namedRelatedObjectSets. The $references object is used to keep track of places where the $object is referenced (related object sets of other identities).
Parameters:
Name | Type | Description |
---|---|---|
$object |
object | |
$relatedObjects |
array | |
$namedRelatedObjectSets |
array | |
$references |
SplObjectStorage |
Documentation generated by phpDocumentor 1.4.3