SproutCMS

This is the code documentation for the SproutCMS project

class Event_Subject

Kohana event subject. Uses the SPL observer pattern.

Source code (5 results)

/sprout/Helpers/Event_Observer.php   Highlighted file source

Line 32: * @param object Event_Subject
Line 35: public function __construct(Event_Subject $caller)
Line 45: * @param object Event_Subject
Line 48: public function update(Event_Subject $caller)
Line 50: if ( ! ($caller instanceof Event_Subject))

/sprout/Helpers/Event_Observer.php   Highlighted file source

Line 32: * @param object Event_Subject
Line 35: public function __construct(Event_Subject $caller)
Line 45: * @param object Event_Subject
Line 48: public function update(Event_Subject $caller)
Line 50: if ( ! ($caller instanceof Event_Subject))

/sprout/Helpers/Event_Subject.php   Highlighted file source

Line 24: abstract class Event_Subject {

/sprout/i18n/en_US/event.php   Highlighted file source

Line 17: 'invalid_subject' => 'Attempt to attach invalid subject %s to %s failed: Subjects must extend the Event_Subject class',

/sprout/i18n/en_US/event.php   Highlighted file source

Line 17: 'invalid_subject' => 'Attempt to attach invalid subject %s to %s failed: Subjects must extend the Event_Subject class',

A total of 13 lines in 5 files were found