예제 #1
0
파일: Install.php 프로젝트: Andyyang1981/pi
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.post', array($this, 'postInstall'), 1);
     parent::attachDefaultListeners();
     return $this;
 }
예제 #2
0
파일: Install.php 프로젝트: pi-module/blog
 protected function attachDefaultListeners()
 {
     $events = $this->events;
     $events->attach('install.pre', array($this, 'checkConflicts'), 1000);
     parent::attachDefaultListeners();
     return $this;
 }
예제 #3
0
파일: Install.php 프로젝트: Andyyang1981/pi
 /**
  * {@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;
 }
예제 #4
0
파일: Install.php 프로젝트: Andyyang1981/pi
 /**
  * {@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;
 }
예제 #5
0
파일: Install.php 프로젝트: Andyyang1981/pi
 /**
  * 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;
 }