Added #39 a new feature the imports custom code during compilation. We also improved the compiler.

This commit is contained in:
2017-02-01 15:17:04 +02:00
parent ea2b2ea4c4
commit 1a79b92b07
458 changed files with 7127 additions and 6251 deletions

View File

@ -92,9 +92,11 @@ class Infusion extends Interpretation
// ###CREATIONDATE###
$this->fileContentStatic['###CREATIONDATE###'] = JFactory::getDate($this->componentData->created)->format('jS F, Y');
$this->fileContentStatic['###CREATIONDATE###GLOBAL'] = $this->fileContentStatic['###CREATIONDATE###'];
// ###BUILDDATE###
$this->fileContentStatic['###BUILDDATE###'] = JFactory::getDate()->format('jS F, Y');
$this->fileContentStatic['###BUILDDATE###GLOBAL'] = $this->fileContentStatic['###BUILDDATE###'];
// ###AUTHOR###
$this->fileContentStatic['###AUTHOR###'] = trim(JFilterOutput::cleanText($this->componentData->author));
@ -113,9 +115,10 @@ class Infusion extends Interpretation
// ###VERSION###
$this->fileContentStatic['###VERSION###'] = trim($this->componentData->component_version);
$this->fileContentStatic['###VERSION###GLOBAL'] = $this->fileContentStatic['###VERSION###'];
// ###Component_name###
$this->fileContentStatic['###Component_name###'] = JFilterOutput::cleanText($this->componentData->name);;
$this->fileContentStatic['###Component_name###'] = JFilterOutput::cleanText($this->componentData->name);
// ###SHORT_DISCRIPTION###
$this->fileContentStatic['###SHORT_DESCRIPTION###'] = trim(JFilterOutput::cleanText($this->componentData->short_description));