Kohana event subject. Uses the SPL observer pattern.
This is the code documentation for the SproutCMS project
Search documentation |
class Event_SubjectKohana event subject. Uses the SPL observer pattern.
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-12-23
**/
class NewClassName extends Event_Subject {
/**
* Attach an observer to the object.
**/
public function attach (Event_Observer $obj) {
// Method code goes here
}
/**
* Detach an observer from the object.
**/
public function detach (Event_Observer $obj) {
// Method code goes here
}
/**
* Notify all attached observers of a new message.
**/
public function notify (mixed $message) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|