]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/stacker/filo/class_FiLoStacker.php
Opps, had 2 Streamable interfaces ...
[core.git] / inc / classes / main / stacker / filo / class_FiLoStacker.php
index 81604945e974d2e91342d7e560bf7c9543569cc1..b4789e65fc858891673ca3c03bf27b5ca0ce224d 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A FiLo Stacker class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -42,7 +42,7 @@ class FiLoStacker extends BaseStacker implements Stackable {
                $stackerInstance = new FiLoStacker();
 
                // Init the generic stacker
-               $stackerInstance->initStacker('generic');
+               $stackerInstance->initStack('generic');
 
                // Return the prepared instance
                return $stackerInstance;
@@ -71,7 +71,7 @@ class FiLoStacker extends BaseStacker implements Stackable {
         */
        public function popNamed ($stackerName) {
                // Get the value
-               $value = $this->getNamed($stackerName();
+               $value = $this->getNamed($stackerName);
 
                // Call the protected method
                parent::popLast($stackerName);