示例#1
0
文件: Wrapper.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     parent::destroy();
     if (isset($this->_widget)) {
         $this->_widget->destroy();
         unset($this->_widget);
     }
 }
示例#2
0
文件: Suspender.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_callLeg)) {
         unset($this->_callLeg);
     }
     parent::destroy();
 }
示例#3
0
文件: Interval.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_timeoutTimer)) {
         $this->_timeoutTimer->destroy();
         unset($this->_timeoutTimer);
     }
     parent::destroy();
 }
示例#4
0
文件: Connector.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_leftCallLeg)) {
         unset($this->_leftCallLeg);
     }
     if (isset($this->_rightCallLeg)) {
         unset($this->_rightCallLeg);
     }
     parent::destroy();
 }
示例#5
0
文件: Menu.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_counter)) {
         $this->_counter->destroy();
         unset($this->_counter);
     }
     if (isset($this->_timer)) {
         $this->_timer->destroy();
         unset($this->_timer);
     }
     if (isset($this->_dtmfHandler)) {
         $this->_dtmfHandler->destroy();
         unset($this->_dtmfHandler);
     }
     if (isset($this->_mediaPlayer)) {
         $this->_mediaPlayer->destroy();
         unset($this->_mediaPlayer);
     }
     parent::destroy();
 }
示例#6
0
文件: Sender.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_msCallLeg)) {
         unset($this->_msCallLeg);
     }
     if (isset($this->_sipCallLeg)) {
         unset($this->_sipCallLeg);
     }
     if (isset($this->_timer)) {
         $this->_timer->destroy();
         unset($this->_timer);
     }
     if (isset($this->_mediaPlayer)) {
         $this->_mediaPlayer->destroy();
         unset($this->_mediaPlayer);
     }
     if (isset($this->_relayer)) {
         $this->_relayer->destroy();
         unset($this->_relayer);
     }
     if (isset($this->_forcedFaxNegotiator)) {
         $this->_forcedFaxNegotiator->destroy();
         unset($this->_forcedFaxNegotiator);
     }
     parent::destroy();
 }
示例#7
0
文件: Recorder.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_timer)) {
         $this->_timer->destroy();
         unset($this->_timer);
     }
     if (isset($this->_mediaServerCallLeg)) {
         unset($this->_mediaServerCallLeg);
     }
     if (isset($this->_storage)) {
         unset($this->_storage);
     }
     parent::destroy();
 }
示例#8
0
文件: Handler.php 项目: cwcw/cms
 /**
  * Destroy the widget
  *
  * @return void
  */
 public function destroy()
 {
     if (isset($this->_transferSource)) {
         $this->_transferSource = null;
         unset($this->_transferSource);
     }
     if (isset($this->_transferSourceLink)) {
         $this->_transferSourceLink = null;
         unset($this->_transferSourceLink);
     }
     if (isset($this->_transferDestination)) {
         $this->_transferDestination = null;
         unset($this->_transferDestination);
     }
     if (isset($this->_connector)) {
         $this->_connector->destroy();
         $this->_connector = null;
         unset($this->_connector);
     }
     if (isset($this->_reconnector)) {
         $this->_reconnector->destroy();
         $this->_reconnector = null;
         unset($this->_reconnector);
     }
     parent::destroy();
 }
示例#9
0
文件: Detector.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_msCallLeg)) {
         unset($this->_msCallLeg);
     }
     if (isset($this->_timer)) {
         $this->_timer->destroy();
         unset($this->_timer);
     }
     parent::destroy();
 }
示例#10
0
文件: Forwarder.php 项目: cwcw/cms
 /**
  * Destructor
  *
  * @return void
  */
 public function destroy()
 {
     if (isset($this->_leftCallLeg)) {
         unset($this->_leftCallLeg);
     }
     if (isset($this->_rightCallLeg)) {
         unset($this->_rightCallLeg);
     }
     if (isset($this->_relayer)) {
         $this->_relayer->destroy();
         unset($this->_relayer);
     }
     if (isset($this->_timer)) {
         $this->_timer->destroy();
         unset($this->_timer);
     }
     parent::destroy();
 }
示例#11
0
 public function destroy()
 {
     if (isset($this->_asrCallLeg)) {
         unset($this->_asrCallLeg);
     }
     if (isset($this->_mediaRecorder)) {
         $this->_mediaRecorder->destroy();
         unset($this->_mediaRecorder);
     }
     parent::destroy();
 }
示例#12
0
文件: Player.php 项目: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_mediaServerCallLeg)) {
         unset($this->_mediaServerCallLeg);
     }
     $this->_playList = array();
     parent::destroy();
 }