diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-01-23 17:05:49 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-01-23 17:05:49 +0100 |
| commit | e86787a8eb6a31fbe95f1a3854d66e25e5e63c67 (patch) | |
| tree | 1b311ee39e02a597bf5d83c325f975de71f398f4 /src/bdrem/Config.php | |
| parent | 441c72bbf3d29be5c7f5eb0fd43ac267fe059c2f (diff) | |
| download | bdrem-e86787a8eb6a31fbe95f1a3854d66e25e5e63c67.tar.gz bdrem-e86787a8eb6a31fbe95f1a3854d66e25e5e63c67.zip | |
html renderer, console renderer uses pear's Console_Table
Diffstat (limited to 'src/bdrem/Config.php')
| -rw-r--r-- | src/bdrem/Config.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bdrem/Config.php b/src/bdrem/Config.php index 076cd04..5d34f76 100644 --- a/src/bdrem/Config.php +++ b/src/bdrem/Config.php @@ -6,6 +6,7 @@ class Config public $source; public $daysBefore; public $daysAfter; + public $locale; public function load() { @@ -23,6 +24,9 @@ class Config $this->source = $source; $this->daysBefore = $daysBefore; $this->daysAfter = $daysAfter; + if (isset($locale)) { + $this->locale = $locale; + } } public function loadSource() @@ -35,9 +39,6 @@ class Config $class = '\\bdrem\\Source_' . array_shift($settings); return new $class($settings[0]); - //$rm = new \ReflectionMethod($class, '__construct'); - //return $rm->invokeArgs(null, $settings); - //return call_user_func_array($class . '::__construct', $settings); } } ?> |
