/** * Modify the schema */ protected function doFixups($schemaFileIn, $schemaFileOut, $schemaName) { $fixup = new Meshing_Schema_Fixup($schemaFileIn, $schemaFileOut); // Get the table names before we do the fixup (which adds more tables) $tableNames = $fixup->getTableNames(); $fixup->fixup($schemaName); return $tableNames; }
protected function doFixup($package = null, $tablePrefix = null) { // Convert schema to node format (no class prefix) $fixup = new Meshing_Schema_Fixup($this->schemaDir . '/' . $this->schemas, $this->outputSchemaDir . '/' . $this->paths->getLeafStandardSchema()); $fixup->setBaseClass($this->getBaseClass()); $fixup->setBasePeer($this->getBasePeer()); $fixup->fixup($package ? $package : $this->getPackage(), $tablePrefix); }