TYPO3 CMS  TYPO3_6-2
ExtensionCommandController.php
Go to the documentation of this file.
1 <?php
3 
18 
25 
29  protected $requestAdminPermissions = TRUE;
30 
36 
46  public function installCommand($extensionKey) {
48 
50  $service = $this->objectManager->get('TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility');
51  $service->install($extensionKey);
52  }
53 
63  public function uninstallCommand($extensionKey) {
65  $service = $this->objectManager->get('TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility');
66  $service->uninstall($extensionKey);
67  }
68 
72  protected function emitPackagesMayHaveChangedSignal() {
73  $this->signalSlotDispatcher->dispatch('PackageManagement', 'packagesMayHaveChanged');
74  }
75 }