explanation and credit

This commit is contained in:
Shish 2009-05-15 01:52:55 -07:00
parent 74b62a1b38
commit 4765e51e7c

View file

@ -7,7 +7,20 @@ interface Extension {
}
/*
* BlahEvent -> onBlah
* send_event(BlahEvent()) -> onBlah($event)
*
* Also loads the theme object into $this->theme if available
*
* index.php will load all SimpleExtension subclasses with default
* priority, so no need for register_extension(new Foo())
*
* Hopefully this removes as much copy & paste code from the extension
* files as possible \o/
*
* The original concept came from Artanis's SimpleExtension extension
* --> http://github.com/Artanis/simple-extension/tree/master
* Then re-implemented by Shish after he broke the forum and couldn't
* find the thread where the original was posted >_<
*/
abstract class SimpleExtension implements Extension {
var $theme;