commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / CRM / Core / CodeGen / Reflection.php
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 public function run() {
8 $this->generateListAll();
9 }
10
11 public 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
18 }