Define $_defaultModel for Inventory
authorMichael Spahn <m.spahn@metaways.de>
Wed, 22 Aug 2012 08:10:07 +0000 (10:10 +0200)
committerMichael Spahn <m.spahn@metaways.de>
Thu, 4 Oct 2012 13:54:56 +0000 (15:54 +0200)
tine20/Inventory/Controller.php

index 7add555..c1ff713 100644 (file)
  */
 class Inventory_Controller extends Tinebase_Controller_Event implements Tinebase_Container_Interface
 {
+
+    /**
+     * holds the default Model of this application
+     * @var string
+     */
+    protected static $_defaultModel = 'Inventory_Model_InventoryItem';
+    
     /**
-     * the constructor
+     * the constructor 
      *
      * don't use the constructor. use the singleton 
      */