コード例 #1
0
ファイル: Timeout.php プロジェクト: cwcw/cms
 /**
  * Resets the timer to the initial state
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     if ($this->isArmed()) {
         $this->disarm();
     }
 }
コード例 #2
0
ファイル: Handler.php プロジェクト: cwcw/cms
 /**
  * Resets the handler
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     if ($this->isListening()) {
         $this->stopListening();
     }
     $this->_receivedDtmfs = array();
     $this->_handledDtmfs = array();
 }
コード例 #3
0
ファイル: Menu.php プロジェクト: cwcw/cms
 /**
  * Resets the widget's properties to the initial state
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_counter->reset();
     $this->_timer->reset();
     $this->_dtmfHandler->reset();
     $this->_mediaPlayer->reset();
     $this->_menuInitialized = false;
 }
コード例 #4
0
ファイル: Transferrer.php プロジェクト: cwcw/cms
 /**
  * @see Engine/Streamwide_Engine_Widget#reset()
  */
 public function reset()
 {
     parent::reset();
     $this->_stateManager->setState(self::STATE_READY);
 }
コード例 #5
0
ファイル: Sender.php プロジェクト: cwcw/cms
 /**
  * Reset the widget to the initial state
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_relayer->reset();
     $this->_timer->reset();
     $this->_mediaPlayer->reset();
     $this->_forcedFaxNegotiator->reset();
     $this->_waitUpdateConfirmation = false;
     $this->_stateManager->setState(self::STATE_READY);
 }
コード例 #6
0
ファイル: Interval.php プロジェクト: cwcw/cms
 /**
  * Reset the widget
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_currentCount = null;
     if ($this->isRunning()) {
         $this->stop();
     }
 }
コード例 #7
0
ファイル: Handler.php プロジェクト: cwcw/cms
 /**
  * Reset the widget
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_connector->reset();
     $this->_reconnector->reset();
 }
コード例 #8
0
ファイル: Recorder.php プロジェクト: cwcw/cms
 /**
  * Reset the recorder
  *
  * @see Engine/Streamwide_Engine_Widget#reset()
  */
 public function reset()
 {
     parent::reset();
     if ($this->isRecording()) {
         $this->stop();
     }
     if (isset($this->_timer)) {
         $this->_timer->reset();
     }
     $this->_storage = null;
     $this->_recordingStartTime = 0;
     $this->_recordingStopTime = 0;
 }
コード例 #9
0
ファイル: Reader.php プロジェクト: cwcw/cms
 /**
  * Reset the widget
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_counter->reset();
     $this->_timer->reset();
     $this->_dtmfHandler->reset();
     $this->_mediaPlayer->reset();
     $this->_number = '';
     $this->_history = array();
 }
コード例 #10
0
ファイル: Detector.php プロジェクト: cwcw/cms
 /**
  * Reset the widget
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     if ($this->isDetecting()) {
         $this->stopDetection();
     }
 }
コード例 #11
0
ファイル: SpeechRecognizer.php プロジェクト: cwcw/cms
 public function reset()
 {
     parent::reset();
     $this->stopAsrSession();
 }
コード例 #12
0
ファイル: Relayer.php プロジェクト: cwcw/cms
 /**
  * @see Engine/Streamwide_Engine_Widget#reset()
  */
 public function reset()
 {
     parent::reset();
     $this->_eventsList = array();
 }
コード例 #13
0
ファイル: Wrapper.php プロジェクト: cwcw/cms
 /**
  * @see Engine/Streamwide_Engine_Widget#reset()
  */
 public function reset()
 {
     return $this->_widget->reset();
 }
コード例 #14
0
ファイル: Player.php プロジェクト: cwcw/cms
 /**
  * Reset the player
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     if ($this->isPlaying() || $this->isPaused()) {
         $this->stop();
     }
     if (!$this->isReady()) {
         $this->_stateManager->setState(self::STATE_READY);
     }
     $this->_playList = array();
     $this->_eofReceived = false;
 }
コード例 #15
0
ファイル: Receiver.php プロジェクト: cwcw/cms
 /**
  * Reset the widget to the initial state
  *
  * @return void
  */
 public function reset()
 {
     parent::reset();
     $this->_relayer->reset();
     $this->_forcedFaxNegotiator->reset();
     if (isset($this->_faxToneDetector)) {
         $this->_faxToneDetector->reset();
     }
     if (isset($this->_timer)) {
         $this->_timer->reset();
     }
     $this->_waitUpdateConfirmation = false;
     $this->_faxToneDetected = false;
     $this->_audioReinviteTimedOut = false;
     $this->_faxPages = array();
     $this->_stateManager->setState(self::STATE_READY);
 }