示例#1
0
 /**
  * the singleton pattern
  *
  * @return SoEventManager_Controller_SoEvent
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
示例#2
0
 public function getContexts()
 {
     return Billing_Controller_Context::getInstance()->getAllContexts();
 }