wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
ChangeListener Class Reference
+ Inheritance diagram for ChangeListener:

Public Member Functions

 getId ()
 
 valueChanged (&$object, $name, $type, $oldValue, $newValue)
 
 propertyChanged (&$object, $name, $oldValue, $newValue)
 
 stateChanged (&$object, $oldValue, $newValue)
 

Detailed Description

ChangeListener defines an interface for classes that want to be notified when a value of an persistent object changes.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.ChangeListener.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 28 of file class.ChangeListener.php.

Member Function Documentation

ChangeListener::getId ( )

Get a unique id for the listener.

Returns
The id

Definition at line 34 of file class.ChangeListener.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

ChangeListener::valueChanged ( $object,
  $name,
  $type,
  $oldValue,
  $newValue 
)

This method is called, when a named item has changed.

Parameters
objectA reference to the PersistentObject that holds the item
nameThe name of the item that has changed.
typeThe type of the item that has changed.
oldValueThe old value of the item that has changed
newValueThe new value of the item that has changed

Definition at line 46 of file class.ChangeListener.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

ChangeListener::propertyChanged ( $object,
  $name,
  $oldValue,
  $newValue 
)

This method is called, when a property has changed.

Parameters
objectA reference to the PersistentObject that holds the property
nameThe name of the property that has changed.
oldValueThe old value of the item that has changed
newValueThe new value of the item that has changed

Definition at line 57 of file class.ChangeListener.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

ChangeListener::stateChanged ( $object,
  $oldValue,
  $newValue 
)

This method is called, when the state has changed.

Parameters
objectA reference to the PersistentObject that changed it's state
oldValueThe old value of the state
newValueThe new value of the state

Definition at line 67 of file class.ChangeListener.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: