コード例 #1
0
 /**
  * singleton
  *
  * @return Inventory_Controller
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new Inventory_Controller();
     }
     return self::$_instance;
 }