]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/index/class_
Need to rename more.
[core.git] / inc / classes / main / index / class_
index 2f51d77cc63d4ea1b07ff80eb27837b23d4b5f53..b47369310489bd2725071445f0c090e369252e15 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class ???Index extends BaseIndex implements Indexable {
+class ???Index extends BaseIndex implements Indexable, Registerable {
        /**
         * Protected constructor
         *
@@ -42,6 +42,9 @@ class ???Index extends BaseIndex implements Indexable {
                // Get a new instance
                $indexInstance = new ???Index();
 
+               // Initialize index
+               $indexInstance->initIndex($fileName);
+
                // Return the prepared instance
                return $indexInstance;
        }