Updated charge, Invoice improvements and other minor fixes
This commit is contained in:
@@ -10,11 +10,17 @@
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
abstract class Minion_Task extends Kohana_Minion_Task {
|
||||
protected $_options = array(
|
||||
protected $_sysoptions = array(
|
||||
'site'=>NULL,
|
||||
'id'=>NULL,
|
||||
'force'=>FALSE,
|
||||
'verbose'=>FALSE,
|
||||
);
|
||||
|
||||
/**
|
||||
* Override our __construct so that we can specify options in each class file
|
||||
*/
|
||||
protected function __construct() {
|
||||
// Populate $_accepted_options based on keys from $_options
|
||||
$this->_accepted_options = array_keys(Arr::merge($this->_sysoptions,$this->_options));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user