Core class updates

Improved database abstraction class to support insert and select queries
in various forms.
Added classes for pulling log entries back out of the database.
Updated Job class to describe a known job in the database, and added
JobStatus to track status updates on jobs.
Updated Config class to connect to the database, and load all settings
on startup.
Improved the class autoloader to support Exceptions in a single file as
a special case, and added this file.
This commit is contained in:
2010-03-18 02:00:53 +00:00
parent 3603445a5b
commit a9ebf6e0cb
11 changed files with 541 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
<?php
class HandBrakeCluster_Exception extends Exception {};
class HandBrakeCluster_Exception_DatabaseConfigMissing extends Exception {};
class HandBrakeCluster_Exception_DatabaseConnectFailed extends Exception {};
class HandBrakeCluster_Exception_NoDatabaseConnection extends Exception {};
class HandBrakeCluster_Exception_DatabaseQueryFailed extends Exception {};
class HandBrakeCluster_Exception_ResultCountMismatch extends Exception {};
class HandBrakeCluster_Exception_UnknownSetting extends Exception {};
?>