Beispiel #1
0
 public static function getInstance()
 {
     if (!self::$instance instanceof hprose) {
         self::$instance = new hprose();
     }
     return self::$instance;
 }
Beispiel #2
0
 public function hproseAction()
 {
     //hprose调用
     Yaf_Dispatcher::getInstance()->autoRender(FALSE);
     echo hprose::getInstance()->getdata();
     exit;
 }