Class Observable
Observable Base class for Observables
Direct known subclasses
RedBeanPHP\Adapter\DBAdapter, RedBeanPHP\AssociationManager, RedBeanPHP\OODB
Abstract
Namespace: RedBeanPHP
Copyright:
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP community
File: RedBeanPHP/Observable.php
Located at Observable.php
Namespace: RedBeanPHP
Copyright:
copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP community
File: RedBeanPHP/Observable.php
Located at Observable.php
public
|
#
addEventListener( string $eventname,
Implementation of the Observer Pattern. Adds an event listener to the observable object. First argument should be the name of the event you wish to listen for. Second argument should be the object that wants to be notified in case the event occurs. |
public
|