Path

ez components / documentation / api reference / 1.0 / persistent


eZ Components 1.0

PersistentObject

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

Element index for package PersistentObject

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ k ] [ l ] [ n ] [ p ] [ q ] [ r ] [ s ] [ t ] [ u ] [ v ] [ _ ]

_

__construct : ezcPersistentObjectException
in file persistent_object_exception.php, method ezcPersistentObjectException::__construct()
    Constructs a new ezcPersistentObjectException with error message $message and error code $code.
__construct : ezcPersistentObjectAlreadyPersistentException
in file already_persistent.php, method ezcPersistentObjectAlreadyPersistentException::__construct()
    Constructs a new ezcPersistentObjectAlreadyPersistentException for the class $class.
__construct : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, method ezcPersistentObjectIdProperty::__construct()
    Constructs a new PersistentObjectField
__construct : ezcPersistentObjectProperty
in file persistent_object_property.php, method ezcPersistentObjectProperty::__construct()
    Constructs a new PersistentObjectField
__construct : ezcPersistentQueryException
in file query_exception.php, method ezcPersistentQueryException::__construct()
    Constructs a new ezcPersistentQueryException with additional information in $msg.
__construct : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::__construct()
    Constructs a new persistent session that works on the database $db.
__construct : ezcPersistentObjectNotPersistentException
in file not_persistent.php, method ezcPersistentObjectNotPersistentException::__construct()
    Constructs a new ezcPersistentObjectNotPersistentException for the class $class.
__construct : ezcPersistentObjectDefinition
in file persistent_object_definition.php, method ezcPersistentObjectDefinition::__construct()
    Constructs a new PersistentObjectDefinition
__construct : ezcPersistentIdentifierGenerationException
in file identifier_generation.php, method ezcPersistentIdentifierGenerationException::__construct()
    Constructs a new ezcPersistentIdentifierGenerationException for the class $class.
__construct : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::__construct()
    Initializes the iterator with the statement $stmt and the definition $def..
__construct : ezcPersistentGeneratorDefinition
in file generator_definition.php, method ezcPersistentGeneratorDefinition::__construct()
    Constructs a new PersistentGeneratorDefinition
__construct : ezcPersistentDefinitionNotFoundException
in file definition_not_found.php, method ezcPersistentDefinitionNotFoundException::__construct()
    Constructs a new ezcPersistentDefinitionNotFoundException for the class $class with the additional error information $message.
__construct : ezcPersistentCodeManager
in file code_manager.php, method ezcPersistentCodeManager::__construct()
    Constructs a new code manager that will look for persistent object definitions in the directory $dir.
__set_state : ezcPersistentObjectProperty
in file persistent_object_property.php, method ezcPersistentObjectProperty::__set_state()
    Returns a new instance of this class with the data specified by $array.
__set_state : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, method ezcPersistentObjectIdProperty::__set_state()
    Returns a new instance of this class with the data specified by $array.
__set_state : ezcPersistentObjectDefinition
in file persistent_object_definition.php, method ezcPersistentObjectDefinition::__set_state()
    Returns a new instance of this class with the data specified by $array.
__set_state : ezcPersistentGeneratorDefinition
in file generator_definition.php, method ezcPersistentGeneratorDefinition::__set_state()
    Returns a new instance of this class with the data specified by $array.

a

already_persistent.php
procedural page already_persistent.php

c

$class : ezcPersistentObjectDefinition
in file persistent_object_definition.php, variable ezcPersistentObjectDefinition::$class
    Classname of the PersistentObject
$class : ezcPersistentGeneratorDefinition
in file generator_definition.php, variable ezcPersistentGeneratorDefinition::$class
    The name of the class implementing the generator.
$columnName : ezcPersistentObjectProperty
in file persistent_object_property.php, variable ezcPersistentObjectProperty::$columnName
    The name of the database field that stores the value.
$columnName : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, variable ezcPersistentObjectIdProperty::$columnName
    The name of the database field that stores the value.
$columns : ezcPersistentObjectDefinition
in file persistent_object_definition.php, variable ezcPersistentObjectDefinition::$columns
    The fields of the Persistent Object as an array of ezcPersistentObjectProperty.
createDeleteQuery : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::createDeleteQuery()
createFindQuery : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::createFindQuery()
    Returns a select query for the given persistent object $class.
createUpdateQuery : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::createUpdateQuery()
current : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::current()
    Returns the current object of this iterator.
code_manager.php
procedural page code_manager.php

d

delete : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::delete()
    Deletes the persistent object $pObject.
deleteFromQuery : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::deleteFromQuery()
definition_not_found.php
procedural page definition_not_found.php
definition_manager.php
procedural page definition_manager.php

e

ezcPersistentCodeManager
in file code_manager.php, class ezcPersistentCodeManager
    Handles persistent object definitions in plain code style.
ezcPersistentDefinitionManager
in file definition_manager.php, class ezcPersistentDefinitionManager
    Defines the interface for all persistent object definition managers.
ezcPersistentDefinitionNotFoundException
in file definition_not_found.php, class ezcPersistentDefinitionNotFoundException
    General exception class for the PersistentObject package.
ezcPersistentFindIterator
in file find_iterator.php, class ezcPersistentFindIterator
    This class provides functionality to iterate over a database result set in the form of persistent objects.
ezcPersistentGeneratorDefinition
in file generator_definition.php, class ezcPersistentGeneratorDefinition
    Defines a persistent object id generator.
ezcPersistentIdentifierGenerationException
in file identifier_generation.php, class ezcPersistentIdentifierGenerationException
    Exception thrown when generating an ID for a persistent object failed.
ezcPersistentObjectAlreadyPersistentException
in file already_persistent.php, class ezcPersistentObjectAlreadyPersistentException
    Exception thrown when a method that requires a non-persistent object is provided an object that is already persistent.
ezcPersistentObjectDefinition
in file persistent_object_definition.php, class ezcPersistentObjectDefinition
    Main definition of a persistent object.
ezcPersistentObjectException
in file persistent_object_exception.php, class ezcPersistentObjectException
    General exception class for the PersistentObject package.
ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, class ezcPersistentObjectIdProperty
    Defines a persistent object id field.
ezcPersistentObjectNotPersistentException
in file not_persistent.php, class ezcPersistentObjectNotPersistentException
    Exception thrown when a method that requires a persistent object is provided an object not yet persistent.
ezcPersistentObjectProperty
in file persistent_object_property.php, class ezcPersistentObjectProperty
    Defines a persistent object field.
ezcPersistentQueryException
in file query_exception.php, class ezcPersistentQueryException
    Exception thrown when a query failed internally in Persistent Object.
ezcPersistentSession
in file persistent_session.php, class ezcPersistentSession
    ezcPersistentSession is the main runtime interface for manipulation of persistent objects.

f

fetchDefinition : ezcPersistentCodeManager
in file code_manager.php, method ezcPersistentCodeManager::fetchDefinition()
    Returns the definition of the persistent object with the class $class.
fetchDefinition : ezcPersistentDefinitionManager
in file definition_manager.php, method ezcPersistentDefinitionManager::fetchDefinition()
    Returns the definition of the persistent object with the class $class.
find : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::find()
    Returns the result of the query $query as a list of objects.
findIterator : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::findIterator()
find_iterator.php
procedural page find_iterator.php

g

$generator : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, variable ezcPersistentObjectIdProperty::$generator
generator_definition.php
procedural page generator_definition.php

h

PHP_TYPE_ARRAY : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::PHP_TYPE_ARRAY
PHP_TYPE_FLOAT : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::PHP_TYPE_FLOAT
PHP_TYPE_INT : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::PHP_TYPE_INT
PHP_TYPE_OBJECT : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::PHP_TYPE_OBJECT
PHP_TYPE_STRING : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::PHP_TYPE_STRING

i

$idProperty : ezcPersistentObjectDefinition
in file persistent_object_definition.php, variable ezcPersistentObjectDefinition::$idProperty
    Holds the identifier property.
identifier_generation.php
procedural page identifier_generation.php
identifier_generator.php
procedural page identifier_generator.php
VISIBILITY_PRIVATE : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::VISIBILITY_PRIVATE
    Used for fields with private visibility.
VISIBILITY_PROPERTY : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::VISIBILITY_PROPERTY
    Used for fields that are properties
VISIBILITY_PROTECTED : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::VISIBILITY_PROTECTED
    Used for fields with protected visibility.
VISIBILITY_PUBLIC : ezcPersistentObjectProperty
in file persistent_object_property.php, class constant ezcPersistentObjectProperty::VISIBILITY_PUBLIC
    Used for fields with public visibility.

k

key : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::key()
    Returns null.

l

load : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::load()
    Returns the persistent object of class $class with id $id.
loadIfExists : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::loadIfExists()
    Returns the persistent object of class $class with id $id.
loadIntoObject : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::loadIntoObject()
    Loads the persistent object with the id $id into the object $pObject.

n

next : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::next()
    Returns the next persistent object in the result set.
not_persistent.php
procedural page not_persistent.php

p

$params : ezcPersistentGeneratorDefinition
in file generator_definition.php, variable ezcPersistentGeneratorDefinition::$params
    Any parameters required by the generator.
$properties : ezcPersistentObjectDefinition
in file persistent_object_definition.php, variable ezcPersistentObjectDefinition::$properties
    The fields of the Persistent Object as an array of ezcPersistentObjectProperty.
$propertyName : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, variable ezcPersistentObjectIdProperty::$propertyName
    The name of the PersistentObject property that holds the value in the PHP object.
$propertyName : ezcPersistentObjectProperty
in file persistent_object_property.php, variable ezcPersistentObjectProperty::$propertyName
    The name of the PersistentObject property that holds the value in the PHP object.
$propertyType : ezcPersistentObjectProperty
in file persistent_object_property.php, variable ezcPersistentObjectProperty::$propertyType
    The type of the PHP property..
persistent_object_exception.php
procedural page persistent_object_exception.php
persistent_session.php
procedural page persistent_session.php
persistent_object_definition.php
procedural page persistent_object_definition.php
persistent_object_id_property.php
procedural page persistent_object_id_property.php
persistent_object_property.php
procedural page persistent_object_property.php

q

query_exception.php
procedural page query_exception.php

r

refresh : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::refresh()
    Syncronizes the contents of $pObject with those in the database.
rewind : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::rewind()
    Sets the iterator to point to the first object in the result set.

s

save : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::save()
    Saves the new persistent object $pObject to the database using an INSERT INTO query.
saveOrUpdate : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::saveOrUpdate()
    Saves or update the persistent object $pObject to the database.
setupReversePropertyDefinition : ezcPersistentDefinitionManager
in file definition_manager.php, method ezcPersistentDefinitionManager::setupReversePropertyDefinition()
    Returns the definition $def with the reverse relations field correctly set up.

t

$table : ezcPersistentObjectDefinition
in file persistent_object_definition.php, variable ezcPersistentObjectDefinition::$table
    Name of the database table to use.

u

update : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::update()
    Saves the new persistent object $pObject to the database using an UPDATE query.
updateFromQuery : ezcPersistentSession
in file persistent_session.php, method ezcPersistentSession::updateFromQuery()

v

$visibility : ezcPersistentObjectIdProperty
in file persistent_object_id_property.php, variable ezcPersistentObjectIdProperty::$visibility
    The visibility of the field. Can be either VISIBILITY_PRIVATE, VISIBILITY_PROTECTED or VISIBILITY_PUBLIC.
valid : ezcPersistentFindIterator
in file find_iterator.php, method ezcPersistentFindIterator::valid()
    Returns true if there is a current object.
Last updated: Thu, 31 Jan 2008