Kohana event observer. Uses the SPL observer pattern.
This is the code documentation for the SproutCMS project
Search documentation |
class Event_ObserverKohana event observer. Uses the SPL observer pattern.
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-16
**/
class NewClassName extends Event_Observer {
/**
* Updates the observer subject with a new caller.
**/
public function update (Event_Subject $caller) {
// Method code goes here
}
/**
* Detaches this observer from the subject.
**/
public function remove () {
// Method code goes here
}
/**
* Notify the observer of a new message. This function must be defined in
* all observers and must take exactly one parameter of any type.
**/
public function notify (mixed $message) {
// Method code goes here
}
/**
* Initializes a new observer and attaches the subject as the caller.
**/
public function __construct (Event_Subject $caller) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|