You are here

function cmfcClassesCore::addObserver in Calendar Systems 5

Register the reference to an object object

Parameters

$observer array|string //like call_user_func first param:

Return value

void

File

calendar/lib/classesCore.class.inc.php, line 268

Class

cmfcClassesCore
all cmf classes inherit from this class

Code

function addObserver($event, $observer, $parameters = null) {
  $this->_observers[$event][] = $observer;
}