예제 #1
0
파일: Decorator.php 프로젝트: cwcw/cms
 /**
  * Destructor
  */
 public function destroy()
 {
     if (isset($this->_relayer)) {
         $this->_relayer->destroy();
         unset($this->_relayer);
     }
     parent::destroy();
 }
예제 #2
0
파일: Receiver.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->_faxToneDetector)) {
         $this->_faxToneDetector->destroy();
         unset($this->_faxToneDetector);
     }
     if (isset($this->_forcedFaxNegotiator)) {
         $this->_forcedFaxNegotiator->destroy();
         unset($this->_forcedFaxNegotiator);
     }
     if (isset($this->_relayer)) {
         $this->_relayer->destroy();
         unset($this->_relayer);
     }
     parent::destroy();
 }
예제 #3
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();
 }