]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/template/class_BaseTemplateEngine.php
Continued:
[core.git] / framework / main / classes / template / class_BaseTemplateEngine.php
index b49f8d7d8e3be06c9f0fc409d3492bed5ae42e78..dccbddc41df98b31ab945f89005e05fad5c9bb28 100644 (file)
@@ -255,7 +255,7 @@ abstract class BaseTemplateEngine extends BaseFrameworkSystem {
         */
        protected final function isVarStackSet (string $variableGroup) {
                // Validate parameter
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableName=%s - CALLED!', $variableName));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableGroup=%s - CALLED!', $variableGroup));
                if (empty($variableGroup)) {
                        // Throw an exception
                        throw new InvalidArgumentException('Parameter "variableGroup" is empty', FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
@@ -278,14 +278,14 @@ abstract class BaseTemplateEngine extends BaseFrameworkSystem {
         */
        public final function getVarStack (string $variableGroup) {
                // Validate parameter
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableName=%s - CALLED!', $variableName));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableGroup=%s - CALLED!', $variableGroup));
                if (empty($variableGroup)) {
                        // Throw an exception
                        throw new InvalidArgumentException('Parameter "variableGroup" is empty', FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
                }
 
                // Return value
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: this->varStack[%s]()=%d - EXIT!', $variableName, count($this->varStack[$variableGroup])));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: this->varStack[%s]()=%d - EXIT!', $variableGroup, count($this->varStack[$variableGroup])));
                return $this->varStack[$variableGroup];
        }
 
@@ -299,7 +299,7 @@ abstract class BaseTemplateEngine extends BaseFrameworkSystem {
         */
        protected final function setVarStack (string $variableGroup, array $varStack) {
                // Validate parameter
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableName=%s,varStack()=%d - CALLED!', $variableName, count($varStack)));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: variableGroup=%s,varStack()=%d - CALLED!', $variableGroup, count($varStack)));
                if (empty($variableGroup)) {
                        // Throw an exception
                        throw new InvalidArgumentException('Parameter "variableGroup" is empty', FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
@@ -896,7 +896,7 @@ abstract class BaseTemplateEngine extends BaseFrameworkSystem {
                $rawTemplateData = $this->getFileIoInstance()->loadFileContents($fileInstance);
 
                // Store the template's contents into this class
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: Invoking this->setRawTemplateData(%d) ...', strlen($rrawTemplateData)));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-TEMPLATE: Invoking this->setRawTemplateData(%d) ...', strlen($rawTemplateData)));
                $this->setRawTemplateData($rawTemplateData);
 
                // Remember the template's file instance