Example #1
0
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.post', array($this, 'postInstall'), 1);
     parent::attachDefaultListeners();
     return $this;
 }
Example #2
0
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.pre', array($this, 'checkConflicts'), 1000);
     parent::attachDefaultListeners();
     return $this;
 }
Example #3
0
 /**
  * {@inheritDoc}
  */
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.pre', array($this, 'checkConflicts'), 10);
     $events->attach('install.post', array($this, 'checkModules'), 20);
     $events->attach('install.post', array($this, 'checkUsers'), 10);
     $events->attach('install.post', array($this, 'setupProfile'), 5);
     $events->attach('install.post', array($this, 'updateConfig'), 1);
     parent::attachDefaultListeners();
     return $this;
 }
Example #4
0
 /**
  * {@inheritDoc}
  */
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.pre', array($this, 'createSystemSchema'), 1000);
     $events->attach('install.post', array($this, 'installTheme'), 1);
     $events->attach('install.post', array($this, 'createSystemData'), -10);
     $events->attach('install.post', array($this, 'installApplication'), -100);
     $events->attach('install.post', array($this, 'dressupBlock'), -200);
     parent::attachDefaultListeners();
     return $this;
 }
Example #5
0
 /**
  * Attach method to listener
  * 
  * @return \Module\Article\Installer\Action\Install 
  */
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.post', array($this, 'initCategory'), 1);
     $events->attach('install.post', array($this, 'initDraftEditPageForm'), -90);
     $events->attach('install.post', array($this, 'initDefaultTopicTemplateScreenshot'), -90);
     $events->attach('install.post', array($this, 'initModuleData'), -100);
     $events->attach('install.post', array($this, 'initCloneBlocks'), -100);
     $events->attach('install.post', array($this, 'dressupBlocks'), -110);
     $events->attach('install.post', array($this, 'initClonedBlocksPermission'), -120);
     $events->attach('install.post', array($this, 'initCategoryPermission'), -200);
     parent::attachDefaultListeners();
     return $this;
 }