示例#1
0
 /**
  * the singleton pattern
  *
  * @return Voipmanager_Controller_Asterisk_Context
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new Voipmanager_Controller_Asterisk_Context();
     }
     return self::$_instance;
 }