function cmfcClassesCoreStandAlone::addObserver in Calendar Systems 7
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
- 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
- 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
- 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::addObserver()
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 352
Class
- cmfcClassesCoreStandAlone
- all cmf classes inherit from this class
Code
function addObserver($event, $observer, $parameters = null) {
$this->_observers[$event][] = $observer;
}