Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-23-18-25-12
[civicrm-core.git] / CRM / Core / CodeGen / Reflection.php
CommitLineData
5e434adf
ARW
1<?php
2
3/**
4 * Create classes which are used for schema introspection.
5 */
6class 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}