projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc58c67
)
getStackCount() is now public
author
Roland Häder
<roland@mxchange.org>
Fri, 11 Mar 2011 10:43:38 +0000
(10:43 +0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 11 Mar 2011 10:43:38 +0000
(10:43 +0000)
inc/classes/main/stacker/class_BaseStacker.php
patch
|
blob
|
history
diff --git
a/inc/classes/main/stacker/class_BaseStacker.php
b/inc/classes/main/stacker/class_BaseStacker.php
index b186e064f977101e81b61bd307b57719f9706ea3..b029e4e2ca920ed0fe2b06fb01be3157e8b0c8d5 100644
(file)
--- 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
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
$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
*/
* @return $count Size of stack (array count)
* @throws NoStackerException If given stack is missing
*/
- p
rotected
final function getStackCount ($stackerName) {
+ p
ublic
final function getStackCount ($stackerName) {
// Is the stack not yet initialized?
if (!$this->isStackInitialized($stackerName)) {
// Throw an exception
// Is the stack not yet initialized?
if (!$this->isStackInitialized($stackerName)) {
// Throw an exception