Improved the compiler getDynamicScript to also use function tabs. Moved the fucntion tab to helper class. Added dynamic title and description insertion options to permissions area.

This commit is contained in:
2019-09-04 13:52:31 +02:00
parent 9781910dd3
commit 3cbe21f57d
29 changed files with 1632 additions and 1456 deletions

View File

@ -724,20 +724,6 @@ class Get
*/
public $setTidyWarning = false;
/**
* Tab/spacer bucket (to speed-up the build)
*
* @var array
*/
public $tabSpacerBucket = array();
/**
* Set tab/spacer
*
* @var string
*/
public $tabSpacer = "\t";
/**
* mysql table setting keys
*
@ -894,14 +880,8 @@ class Get
*/
public function _t($nr)
{
// check if we already have the string
if (!isset($this->tabSpacerBucket[$nr]))
{
// get the string
$this->tabSpacerBucket[$nr] = str_repeat($this->tabSpacer, (int) $nr);
}
// return stored string
return $this->tabSpacerBucket[$nr];
// use global method for conformity
return ComponentbuilderHelper::_t($nr);
}
/**