Class JObserverUpdater
Observer updater pattern implementation for Joomla
- JObserverUpdater implements JObserverUpdaterInterface
Package: Joomla\Platform\Observer
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 3.1.2
Located at joomla/observer/updater.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 3.1.2
Located at joomla/observer/updater.php
Methods summary
public
|
|
public
|
#
attachObserver(
Adds an observer to the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver |
public
|
#
detachObserver( String $observer )
Removes an observer from the JObservableInterface instance updated by this This method can be called from JObservableInterface::attachObserver |
public
|
#
getObserverOfClass( string $observerClass )
Gets the instance of the observer of class $observerClass |
public
|
|
public
boolean
|
#
doCallObservers( boolean $enabled )
Enable/Disable calling of observers (this is useful when calling parent:: function |
Magic methods summary
Properties summary
protected
|
$observers |
#
Generic JObserverInterface observers for this JObservableInterface |
protected
boolean
|
$doCallObservers |
#
Process observers (useful when a class extends significantly an observerved method, and calls observers itself |