Compare commits
3 Commits
release-0.
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| a3e58e4ee4 | |||
| 3b22b0f2c9 | |||
| efb7db35d8 |
@@ -4,8 +4,16 @@ class RippingCluster_LogEntry extends SihnonFramework_LogEntry {
|
|||||||
|
|
||||||
protected $job_id;
|
protected $job_id;
|
||||||
|
|
||||||
|
protected static $types;
|
||||||
|
|
||||||
public static function initialise() {
|
public static function initialise() {
|
||||||
self::$types['job_id'] = 'int';
|
// Copy the list of datatypes from the parent
|
||||||
|
// We can't modify it in place, else we'll break any logging done inside the SihnonFramework tree
|
||||||
|
// or other subclass trees.
|
||||||
|
static::$types = parent::$types;
|
||||||
|
|
||||||
|
// Add the new data types for this subclass
|
||||||
|
static::$types['job_id'] = 'int';
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function __construct($level, $category, $ctime, $pid, $file, $line, $message, $job_id) {
|
protected function __construct($level, $category, $ctime, $pid, $file, $line, $message, $job_id) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
require_once '/etc/ripping-cluster/config.php';
|
require_once '/etc/ripping-cluster/config.php';
|
||||||
require_once SihnonFramework_Lib . 'SihnonFramework/Main.class.php';
|
require_once SihnonFramework_Lib . 'SihnonFramework/Main.class.php';
|
||||||
|
|
||||||
SihnonFramework::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
|
SihnonFramework_Main::registerAutoloadClasses('SihnonFramework', SihnonFramework_Lib,
|
||||||
'RippingCluster', RippingCluster_Lib);
|
'RippingCluster', RippingCluster_Lib);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user