Commit | Line | Data |
---|---|---|
5e434adf ARW |
1 | <?php |
2 | ||
3 | abstract class CRM_Core_CodeGen_BaseTask implements CRM_Core_CodeGen_ITask { | |
4 | protected $config; | |
5 | ||
6 | function __construct() { | |
7 | } | |
8 | ||
9 | // TODO: this is the most rudimentary possible hack. CG config should | |
10 | // eventually be made into a first-class object. | |
11 | function setConfig($config) { | |
12 | $this->config = $config; | |
13 | $this->tables = $this->config->tables; | |
14 | } | |
15 | } |