Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-30-11-58-01
[civicrm-core.git] / CRM / Core / CodeGen / BaseTask.php
1 <?php
2
3 /**
4 * Class CRM_Core_CodeGen_BaseTask
5 */
6 abstract class CRM_Core_CodeGen_BaseTask implements CRM_Core_CodeGen_ITask {
7 protected $config;
8
9 /**
10 *
11 */
12 function __construct() {
13 }
14
15 // TODO: this is the most rudimentary possible hack. CG config should
16 // eventually be made into a first-class object.
17 /**
18 * @param is $config
19 */
20 function setConfig($config) {
21 $this->config = $config;
22 $this->tables = $this->config->tables;
23 }
24 }