Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-03-03-17-36-50
[civicrm-core.git] / CRM / Core / CodeGen / BaseTask.php
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 }