示例#1
0
 /**
  * the singleton pattern
  *
  * @return Tinebase_ActionQueue
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new Tinebase_ActionQueue();
     }
     return self::$_instance;
 }
 /**
  * destroy instance of this class
  */
 public static function destroyInstance()
 {
     self::$_instance = NULL;
 }