getStackCount() is now public
authorRoland Häder <roland@mxchange.org>
Fri, 11 Mar 2011 10:43:38 +0000 (10:43 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 11 Mar 2011 10:43:38 +0000 (10:43 +0000)
inc/classes/main/stacker/class_BaseStacker.php

index b186e06..b029e4e 100644 (file)
@@ -114,7 +114,7 @@ class BaseStacker extends BaseFrameworkSystem {
                        throw new NoStackerException(array($this, $stackerName), self::EXCEPTION_NO_STACKER_FOUND);
                } // END - if
 
-               // So, is the stack full?
+               // So, is the stack empty?
                $isFull = (($this->getStackCount($stackerName)) == 0);
 
                // Return result
@@ -128,7 +128,7 @@ class BaseStacker extends BaseFrameworkSystem {
         * @return      $count                  Size of stack (array count)
         * @throws      NoStackerException      If given stack is missing
         */
-       protected final function getStackCount ($stackerName) {
+       public final function getStackCount ($stackerName) {
                // Is the stack not yet initialized?
                if (!$this->isStackInitialized($stackerName)) {
                        // Throw an exception