Commit Graph

9 Commits

Author SHA1 Message Date
537583a231 Add DatabaseObject base class
DatabaseObject exposes common behaviours for database table wrapper
classes.
2011-12-19 12:00:08 +00:00
faf8806472 Add write support to Config backends with add/set methods 2011-08-28 13:01:56 +01:00
f0012d7be2 Add method to verify user input exists as class constant of given type 2011-08-28 12:58:47 +01:00
2781b63b68 Bug fixes to reduce logging-related crashes
* Provide a method for plugins to report failure to initialise
* Check plugins initialised properly before adding to list of logging
backends
* Check the logger is available before trying to log a message
(might cause bugs if errors are logged very early in initialisation)
2011-08-20 11:34:29 +01:00
75c6ff2ad8 Bug fixes 2011-04-22 00:26:07 +01:00
177ed337b0 Modifications to make RippingCluster code work 2011-04-21 23:33:21 +01:00
998a9d958f Imported Page/RequestParser classes for page templating.
Added formatFilesize method to Main class
2011-01-16 22:46:34 +00:00
6d1705f5a9 Updates class autoloader to use class_alias
Makes Exceptions extend the base classes, rather than the subclasses to
avoid class redefinition errors.
Makes PluginFactories define the interface using the base class rather
than a subclass to avoid class_implements() to fail by testing for a
class not in the hierarchy.
2010-10-11 23:04:20 +01:00
81521eae5f Updates framework to support automated framework subclasses
All framework classes have been renamed to use the SihnonFramework_ prefix.
The class autoloader now looks for subclasses of the framework classes in the Sihnon_Lib directory, and
automatically creates them if they don't exist. The autoloader correctly creates interfaces and abstract
classes as needed, by using reflection to check the type of the parent class.
All references to classes within the framework now use the Sihnon_ prefix.
The PluginFactory supports multiple scan directories, and will search both the framework and subclass class
tree to find candidate plugins.
2010-10-10 18:32:16 +01:00