SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Event_Subject

Kohana event subject. Uses the SPL observer pattern.

Variables

NameVisibilityDescription
$listeners 

Functions

NameVisibilityDescription
attachpublicAttach an observer to the object.
detachpublicDetach an observer from the object.
notifypublicNotify all attached observers of a new message.

public attach

object $Event_Subject->attach ( Event_Observer $obj );

Attach an observer to the object.

public detach

object $Event_Subject->detach ( Event_Observer $obj );

Detach an observer from the object.

public notify

object $Event_Subject->notify ( mixed $message );

Notify all attached observers of a new message.