Пример #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 runArticleSellListExport()
 {
     Billing_Controller_Export::getInstance()->exportArticleSellList($_REQUEST['data'], $_REQUEST['exportType']);
 }