Class JObserverMapper
Observer mapping pattern implementation for Joomla
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/mapper.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/mapper.php
Methods summary
public static
|
#
addObserverClassToClass( string $observerClass, string $observableClass, array|boolean $params = array() )
Adds a mapping to observe $observerClass subjects with $observableClass observer/listener, attaching it on creation with $params on $observableClass instance creations |
public static
|
#
attachAllObservers(
Attaches all applicable observers to an $observableObject |
Magic methods summary
Properties summary
protected static
array
|
$observations |
#
Array: array( JObservableInterface_classname => array( JObserverInterface_classname => array( paramname => param, .... ) ) ) |