]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/reader/class_DefaultNewsReader.php
More stubs added, code "made" generic:
[shipsimu.git] / inc / classes / main / reader / class_DefaultNewsReader.php
index d6b8fc9b08d4f031304ceb0f067a31a7784a200a..65b2e3f6fdc2631e82a6e836a2bc1da4fe1fa69f 100644 (file)
  * 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);
        }
 }