]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/reader/class_DefaultNewsReader.php
Comment header cosmetics applied
[shipsimu.git] / inc / classes / main / reader / class_DefaultNewsReader.php
index 599761d84e518c19ad6d2fee73bf4d19cb2e085c..ef423cac72df886729d4751082c8b8a24a61c48f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class DefaultNewsReader extends BaseFrameworkSystem implements ReadableNews, Registerable {
-       /**
-        * Result set with news
-        */
-       private $resultInstance = null;
-
        /**
         * Protected constructor
         *
@@ -90,7 +85,7 @@ class DefaultNewsReader extends BaseFrameworkSystem implements ReadableNews, Reg
                $resultInstance = $wrapperInstance->doSelectByCriteria($criteriaInstance);
 
                // Save that resultInstance in this class
-               $this->resultInstance = $resultInstance;
+               $this->setResultInstance($resultInstance);
        }
 }