Changeset 4899

Show
Ignore:
Timestamp:
09/08/08 23:33:52 (10 months ago)
Author:
jwage
Message:

fixes #1437

Location:
branches/1.0/lib/Doctrine/Task
Files:
12 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Task/CreateTables.php

    r3884 r4899  
    4141        Doctrine::createTablesFromModels($this->getArgument('models_path')); 
    4242         
    43         $this->dispatcher->notify('Created tables successfully'); 
     43        $this->notify('Created tables successfully'); 
    4444    } 
    4545} 
  • branches/1.0/lib/Doctrine/Task/DumpData.php

    r3884 r4899  
    5050        Doctrine::dumpData($path); 
    5151         
    52         $this->dispatcher->notify(sprintf('Dumped data successfully to: %s', $path)); 
     52        $this->notify(sprintf('Dumped data successfully to: %s', $path)); 
    5353    } 
    5454} 
  • branches/1.0/lib/Doctrine/Task/GenerateMigration.php

    r3884 r4899  
    4242        Doctrine::generateMigrationClass($this->getArgument('class_name'), $this->getArgument('migrations_path')); 
    4343         
    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'))); 
    4545    } 
    4646} 
  • branches/1.0/lib/Doctrine/Task/GenerateMigrationsDb.php

    r3884 r4899  
    4141        Doctrine::generateMigrationsFromDb($this->getArgument('migrations_path')); 
    4242         
    43         $this->dispatcher->notify('Generated migration classes successfully from database'); 
     43        $this->notify('Generated migration classes successfully from database'); 
    4444    } 
    4545} 
  • branches/1.0/lib/Doctrine/Task/GenerateMigrationsModels.php

    r3884 r4899  
    4242        Doctrine::generateMigrationsFromModels($this->getArgument('migrations_path'), $this->getArgument('models_path')); 
    4343         
    44         $this->dispatcher->notify('Generated migration classes successfully from models'); 
     44        $this->notify('Generated migration classes successfully from models'); 
    4545    } 
    4646} 
  • branches/1.0/lib/Doctrine/Task/GenerateModelsDb.php

    r3884 r4899  
    4141        Doctrine::generateModelsFromDb($this->getArgument('models_path'), (array) $this->getArgument('connection')); 
    4242         
    43         $this->dispatcher->notify('Generated models successfully from databases'); 
     43        $this->notify('Generated models successfully from databases'); 
    4444    } 
    4545} 
  • branches/1.0/lib/Doctrine/Task/GenerateSql.php

    r3884 r4899  
    5252        file_put_contents($path, $sql); 
    5353         
    54         $this->dispatcher->notify('Generated SQL successfully for models'); 
     54        $this->notify('Generated SQL successfully for models'); 
    5555    } 
    5656} 
  • branches/1.0/lib/Doctrine/Task/GenerateYamlDb.php

    r3884 r4899  
    4141        Doctrine::generateYamlFromDb($this->getArgument('yaml_schema_path')); 
    4242         
    43         $this->dispatcher->notify('Generate YAML schema successfully from database'); 
     43        $this->notify('Generate YAML schema successfully from database'); 
    4444    } 
    4545} 
  • branches/1.0/lib/Doctrine/Task/GenerateYamlModels.php

    r3884 r4899  
    4242        Doctrine::generateYamlFromModels($this->getArgument('yaml_schema_path'), $this->getArgument('models_path')); 
    4343         
    44         $this->dispatcher->notify('Generated YAML schema successfully from models'); 
     44        $this->notify('Generated YAML schema successfully from models'); 
    4545    } 
    4646} 
  • branches/1.0/lib/Doctrine/Task/LoadData.php

    r3884 r4899  
    4343        Doctrine::loadData($this->getArgument('data_fixtures_path')); 
    4444         
    45         $this->dispatcher->notify('Data was successfully loaded'); 
     45        $this->notify('Data was successfully loaded'); 
    4646    } 
    4747} 
  • branches/1.0/lib/Doctrine/Task/LoadDummyData.php

    r3884 r4899  
    4343        Doctrine::loadDummyData($this->getArgument('append') ? true:false, $this->getArgument('num') ? $this->getArgument('num'):5); 
    4444     
    45         $this->dispatcher->notify('Dummy data was successfully loaded'); 
     45        $this->notify('Dummy data was successfully loaded'); 
    4646    } 
    4747} 
  • branches/1.0/lib/Doctrine/Task/Migrate.php

    r3884 r4899  
    4141        $version = Doctrine::migrate($this->getArgument('migrations_path'), $this->getArgument('version')); 
    4242         
    43         $this->dispatcher->notify('migrated successfully to version #' . $version); 
     43        $this->notify('migrated successfully to version #' . $version); 
    4444    } 
    4545}