From 4bbb4bc54c77ee0c0e1c9d65bb082aadee5df854 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 11 Mar 2011 10:43:38 +0000 Subject: [PATCH] getStackCount() is now public --- inc/classes/main/stacker/class_BaseStacker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/stacker/class_BaseStacker.php b/inc/classes/main/stacker/class_BaseStacker.php index b186e064..b029e4e2 100644 --- a/inc/classes/main/stacker/class_BaseStacker.php +++ b/inc/classes/main/stacker/class_BaseStacker.php @@ -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 -- 2.39.2