Commit Graph

5 Commits

Author SHA1 Message Date
ddbaf0022b Added isset method
Returns the first parameter if it is set, otherwise returns the default value
unless the default value is the name of a valid HBC Exception class, in which case an instance of that exception is thrown.
2010-03-23 01:54:42 +00:00
a5b57b3f44 Added a simple cache implementation 2010-03-21 23:14:22 +00:00
611182d09e Improved template handling with exceptions
The Page class is now responsible for executing the subpage template
rather than the index file.
Template processing has been improved with exceptions to catch 404s, or
any other template exception, which will abort the current page and
display an error document instead.
2010-03-21 00:39:53 +00:00
a9ebf6e0cb 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.
2010-03-18 02:00:53 +00:00
8db695166e Initial commit of HandBrakeCluster PHP framework
Replaced dodgy placeholder with a set of PHP classes for displaying a
HandBrake webui.
Current code uses Smarty as a templating engine, and includes an ugly
but functional set of pages.
The HandBrake classes are at present only placeholders, and offer no
real functionality.
Working class autoloader for the HandBrakeCluster_ hierarchy.
2010-03-17 02:29:12 +00:00