]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 16 Aug 2023 21:30:16 +0000 (23:30 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 16 Aug 2023 21:30:16 +0000 (23:30 +0200)
- ops, wrong variable name

framework/main/classes/template/class_BaseTemplateEngine.php

index b49f8d7d8e3be06c9f0fc409d3492bed5ae42e78..b44f019dec98fbcd755233d85675751cc76121d1 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);