Changeset 5361
- Timestamp:
- 10/04/07 07:24:53 (1 year ago)
- Files:
-
- trunk/lib/task/plugin/sfPluginInstallTask.class.php (modified) (1 diff)
- trunk/lib/task/plugin/sfPluginListTask.class.php (modified) (1 diff)
- trunk/lib/task/plugin/sfPluginUninstallTask.class.php (modified) (1 diff)
- trunk/lib/task/plugin/sfPluginUpgradeTask.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/task/plugin/sfPluginInstallTask.class.php
r5250 r5361 93 93 $this->dispatcher->notify(new sfEvent($this, 'command.log', array($this->formatter->formatSection('plugin', sprintf('installing plugin "%s"', $arguments['name']))))); 94 94 95 $this->getP uginManager()->installPlugin($arguments['name'], $options);95 $this->getPluginManager()->installPlugin($arguments['name'], $options); 96 96 } 97 97 } trunk/lib/task/plugin/sfPluginListTask.class.php
r5250 r5361 46 46 $this->dispatcher->notify(new sfEvent($this, 'command.log', array($this->formatter->format('Installed plugins:', 'COMMENT')))); 47 47 48 foreach ($this->getP uginManager()->getInstalledPlugins() as $package)48 foreach ($this->getPluginManager()->getInstalledPlugins() as $package) 49 49 { 50 $alias = $this->getP uginManager()->getRegistry()->getChannel($package->getChannel())->getAlias();50 $alias = $this->getPluginManager()->getRegistry()->getChannel($package->getChannel())->getAlias(); 51 51 $this->dispatcher->notify(new sfEvent($this, 'command.log', array(sprintf(' %-40s %10s-%-6s %s', $this->formatter->format($package->getPackage(), 'INFO'), $package->getVersion(), $package->getState() ? $package->getState() : null, $this->formatter->format(sprintf('# %s (%s)', $package->getChannel(), $alias), 'COMMENT'))))); 52 52 } trunk/lib/task/plugin/sfPluginUninstallTask.class.php
r5250 r5361 68 68 $this->dispatcher->notify(new sfEvent($this, 'command.log', array($this->formatter->formatSection('plugin', sprintf('uninstalling plugin "%s"', $arguments['name']))))); 69 69 70 $this->getP uginManager()->uninstallPlugin($arguments['name'], $options);70 $this->getPluginManager()->uninstallPlugin($arguments['name'], $options); 71 71 } 72 72 } trunk/lib/task/plugin/sfPluginUpgradeTask.class.php
r5250 r5361 61 61 $this->dispatcher->notify(new sfEvent($this, 'command.log', array($this->formatter->formatSection('plugin', sprintf('upgrading plugin "%s"', $arguments['name']))))); 62 62 63 $this->getP uginManager()->installPlugin($arguments['name'], $options);63 $this->getPluginManager()->installPlugin($arguments['name'], $options); 64 64 } 65 65 }