Further improved #37 to ensure language strings are set and reversed, also add extra buttons to the compiler page. Major restructure of custom code implementation to make it more stable. Resolved #40 by updating the default field sql values.

This commit is contained in:
2017-02-14 01:24:38 +02:00
parent de008d5907
commit 290a51dd5a
247 changed files with 2394 additions and 1513 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 11 of this MVC
@build 2nd February, 2017
@version @update number 17 of this MVC
@build 13th February, 2017
@created 1st February, 2017
@package Component Builder
@subpackage compiler.php
@ -163,14 +163,16 @@ class ComponentbuilderModelCompiler extends JModelList
return $db->loadObjectList();
}
public function builder($version,$id,$backup,$git)
public function builder($version, $id, $backup, $git, $addPlaceholders, $debugLinenr)
{
$set['joomlaVersion'] = $version;
$set['componentId'] = $id;
$set['addBackup'] = $backup;
$set['addGit'] = $git;
$set['joomlaVersion'] = $version;
$set['componentId'] = $id;
$set['addBackup'] = $backup;
$set['addGit'] = $git;
$set['addPlaceholders'] = $addPlaceholders;
$set['debugLinenr'] = $debugLinenr;
// start up Compiler
$this->compiler = new Compiler($set);
$this->compiler = new Compiler($set);
if($this->compiler){
return true;
}
@ -184,7 +186,8 @@ class ComponentbuilderModelCompiler extends JModelList
'files' => $this->compiler->fileCount,
'folders' => $this->compiler->folderCount,
'filePath' => $this->compiler->filepath,
'filename' => $this->compiler->componentFolderName
'filename' => $this->compiler->componentFolderName,
'time' => $this->compiler->secondsCompiled
);
}