PHP Class FOF30\Event\Observer

Afficher le fichier Open project: akeeba/fof Class Usage Examples

Protected Properties

Свойство Type Description
$events
$subject The object to observe

Méthodes publiques

Méthode Description
__construct ( FOF30\Event\Observable &$subject ) Creates the observer and attaches it to the observable subject object
getObservableEvents ( ) : array Returns the list of events observable by this observer. Set the $this->events array manually for faster processing, or let this method use reflection to return a list of all public methods.

Method Details

__construct() public méthode

Creates the observer and attaches it to the observable subject object
public __construct ( FOF30\Event\Observable &$subject )
$subject FOF30\Event\Observable The observable object to attach the observer to

getObservableEvents() public méthode

Returns the list of events observable by this observer. Set the $this->events array manually for faster processing, or let this method use reflection to return a list of all public methods.
public getObservableEvents ( ) : array
Résultat array

Property Details

$events protected_oe property

protected $events

$subject protected_oe property

The object to observe
protected $subject