Exemplo n.º 1
0
 function updatemain()
 {
     Legacy_ModuleInstallUtils::clearAllOfModuleTemplatesForUpdate($this->_mTargetXoopsModule, $this->mLog);
     Legacy_ModuleInstallUtils::installAllOfModuleTemplates($this->_mTargetXoopsModule, $this->mLog);
     $this->saveXoopsModule($this->_mTargetXoopsModule);
     $this->mLog->add('Version' . $this->_mTargetVersion / 100 . ' for update.');
     $this->_mCurrentVersion = $this->_mTargetVersion;
 }
Exemplo n.º 2
0
 /**
  * Updates all of module templates.
  * 
  * @access protected
  * @note You may do custom
  */
 function _updateModuleTemplates()
 {
     Legacy_ModuleInstallUtils::clearAllOfModuleTemplatesForUpdate($this->_mTargetXoopsModule, $this->mLog);
     Legacy_ModuleInstallUtils::installAllOfModuleTemplates($this->_mTargetXoopsModule, $this->mLog);
 }
Exemplo n.º 3
0
 /**
  * @static
  */
 function _installTemplates()
 {
     Legacy_ModuleInstallUtils::installAllOfModuleTemplates($this->_mXoopsModule, $this->mLog);
 }