Adds getExtensionInstallClass and setInstallMethodScript to its own class. #950

This commit is contained in:
2022-08-20 18:02:48 +02:00
parent 154cd5ae1e
commit a0fda76abd
14 changed files with 516 additions and 244 deletions

View File

@ -19,6 +19,7 @@ use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper;
use VDM\Joomla\Utilities\ObjectHelper;
use VDM\Joomla\Utilities\FileHelper;
use VDM\Joomla\Componentbuilder\Extension\InstallScript;
/**
* Infusion class
@ -2393,7 +2394,7 @@ class Infusion extends Interpretation
// INSTALLCLASS
$this->fileContentDynamic[$module->key][$this->hhh
. 'INSTALLCLASS' . $this->hhh]
= $this->getExtensionInstallClass($module);
= (new InstallScript($module))->get();
}
// FIELDSET
if (isset($module->form_files)
@ -2455,7 +2456,7 @@ class Infusion extends Interpretation
// INSTALLCLASS
$this->fileContentDynamic[$plugin->key][$this->hhh
. 'INSTALLCLASS' . $this->hhh]
= $this->getExtensionInstallClass($plugin);
= (new InstallScript($plugin))->get();
}
// FIELDSET
if (isset($plugin->form_files)