Changeset 4899
- Timestamp:
- 09/08/08 23:33:52 (10 months ago)
- Location:
- branches/1.0/lib/Doctrine/Task
- Files:
-
- 12 modified
-
CreateTables.php (modified) (1 diff)
-
DumpData.php (modified) (1 diff)
-
GenerateMigration.php (modified) (1 diff)
-
GenerateMigrationsDb.php (modified) (1 diff)
-
GenerateMigrationsModels.php (modified) (1 diff)
-
GenerateModelsDb.php (modified) (1 diff)
-
GenerateSql.php (modified) (1 diff)
-
GenerateYamlDb.php (modified) (1 diff)
-
GenerateYamlModels.php (modified) (1 diff)
-
LoadData.php (modified) (1 diff)
-
LoadDummyData.php (modified) (1 diff)
-
Migrate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Task/CreateTables.php
r3884 r4899 41 41 Doctrine::createTablesFromModels($this->getArgument('models_path')); 42 42 43 $this-> dispatcher->notify('Created tables successfully');43 $this->notify('Created tables successfully'); 44 44 } 45 45 } -
branches/1.0/lib/Doctrine/Task/DumpData.php
r3884 r4899 50 50 Doctrine::dumpData($path); 51 51 52 $this-> dispatcher->notify(sprintf('Dumped data successfully to: %s', $path));52 $this->notify(sprintf('Dumped data successfully to: %s', $path)); 53 53 } 54 54 } -
branches/1.0/lib/Doctrine/Task/GenerateMigration.php
r3884 r4899 42 42 Doctrine::generateMigrationClass($this->getArgument('class_name'), $this->getArgument('migrations_path')); 43 43 44 $this-> dispatcher->notify(sprintf('Generated migration class: %s successfully to %s', $this->getArgument('class_name'), $this->getArgument('migrations_path')));44 $this->notify(sprintf('Generated migration class: %s successfully to %s', $this->getArgument('class_name'), $this->getArgument('migrations_path'))); 45 45 } 46 46 } -
branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php
r3884 r4899 41 41 Doctrine::generateMigrationsFromDb($this->getArgument('migrations_path')); 42 42 43 $this-> dispatcher->notify('Generated migration classes successfully from database');43 $this->notify('Generated migration classes successfully from database'); 44 44 } 45 45 } -
branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php
r3884 r4899 42 42 Doctrine::generateMigrationsFromModels($this->getArgument('migrations_path'), $this->getArgument('models_path')); 43 43 44 $this-> dispatcher->notify('Generated migration classes successfully from models');44 $this->notify('Generated migration classes successfully from models'); 45 45 } 46 46 } -
branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php
r3884 r4899 41 41 Doctrine::generateModelsFromDb($this->getArgument('models_path'), (array) $this->getArgument('connection')); 42 42 43 $this-> dispatcher->notify('Generated models successfully from databases');43 $this->notify('Generated models successfully from databases'); 44 44 } 45 45 } -
branches/1.0/lib/Doctrine/Task/GenerateSql.php
r3884 r4899 52 52 file_put_contents($path, $sql); 53 53 54 $this-> dispatcher->notify('Generated SQL successfully for models');54 $this->notify('Generated SQL successfully for models'); 55 55 } 56 56 } -
branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php
r3884 r4899 41 41 Doctrine::generateYamlFromDb($this->getArgument('yaml_schema_path')); 42 42 43 $this-> dispatcher->notify('Generate YAML schema successfully from database');43 $this->notify('Generate YAML schema successfully from database'); 44 44 } 45 45 } -
branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php
r3884 r4899 42 42 Doctrine::generateYamlFromModels($this->getArgument('yaml_schema_path'), $this->getArgument('models_path')); 43 43 44 $this-> dispatcher->notify('Generated YAML schema successfully from models');44 $this->notify('Generated YAML schema successfully from models'); 45 45 } 46 46 } -
branches/1.0/lib/Doctrine/Task/LoadData.php
r3884 r4899 43 43 Doctrine::loadData($this->getArgument('data_fixtures_path')); 44 44 45 $this-> dispatcher->notify('Data was successfully loaded');45 $this->notify('Data was successfully loaded'); 46 46 } 47 47 } -
branches/1.0/lib/Doctrine/Task/LoadDummyData.php
r3884 r4899 43 43 Doctrine::loadDummyData($this->getArgument('append') ? true:false, $this->getArgument('num') ? $this->getArgument('num'):5); 44 44 45 $this-> dispatcher->notify('Dummy data was successfully loaded');45 $this->notify('Dummy data was successfully loaded'); 46 46 } 47 47 } -
branches/1.0/lib/Doctrine/Task/Migrate.php
r3884 r4899 41 41 $version = Doctrine::migrate($this->getArgument('migrations_path'), $this->getArgument('version')); 42 42 43 $this-> dispatcher->notify('migrated successfully to version #' . $version);43 $this->notify('migrated successfully to version #' . $version); 44 44 } 45 45 }