Commit | Line | Data |
---|---|---|
5e434adf ARW |
1 | <?php |
2 | ||
3 | /** | |
4 | * Create classes which are used for schema introspection. | |
5 | */ | |
6 | class CRM_Core_CodeGen_Reflection extends CRM_Core_CodeGen_BaseTask { | |
7 | function run() { | |
8 | $this->generateListAll(); | |
9 | } | |
10 | ||
11 | function generateListAll() { | |
12 | $template = new CRM_Core_CodeGen_Util_Template('php'); | |
13 | $template->assign('tables', $this->tables); | |
14 | ||
15 | $template->run('listAll.tpl', $this->config->CoreDAOCodePath . "AllCoreTables.php"); | |
16 | } | |
17 | } |