Пример #1
0
 public function proxyAction()
 {
     $this->rest->method('POST');
     Services_Concurrent_SetVO::instance()->setApiProxy($this->params);
     $result = Services_Concurrent_Transaction::instance()->apiProxy();
     $this->rest->success($result);
 }
Пример #2
0
 /**
  * @return Services_Concurrent_SetVO
  */
 public static function instance()
 {
     if (is_null(self::$self)) {
         self::$self = new self();
     }
     return self::$self;
 }
Пример #3
0
 public function __construct()
 {
     $this->oSetVO = Services_Concurrent_SetVO::instance();
     $this->restClient = REST_Client::instance();
 }