function get()
{
$this->importSQL();
+ $this->runUpdateDatabaseModules();
}
function output() {
return $fn;
}
+ function runUpdateModulesData()
+ {
+ $this->updateData();
+ /*
+ foreach of the modules (except core)
+
+ does {module}/UpdateDatabase.php exist
+
+ require it.
+
+
+
+ }
+ */
+
+
+ }
+ function updateData()
+ {
+ $enum = DB_DataObject::Factory('core_enum');
+ $enum->initEnums(
+ array(
+ 'etype' => '',
+ 'name' => 'COMPTYPE',
+ 'display_name' => 'Company Types',
+ 'cn' => array(
+ array(
+ 'name' => 'OWNER',
+ 'display_name' => 'Owner',
+ 'seqid' => 999, // last...
+ )
+
+ )
+ )
+ ));
+
+
+
+ }
+
+
+ }
+
}
\ No newline at end of file