/** * Destructor */ public function destroy() { if (isset($this->_callLeg)) { unset($this->_callLeg); } parent::destroy(); }
/** * Destructor */ public function destroy() { if (isset($this->_leftCallLeg)) { unset($this->_leftCallLeg); } if (isset($this->_rightCallLeg)) { unset($this->_rightCallLeg); } parent::destroy(); }
/** * Destructor */ public function destroy() { if (isset($this->_timer)) { $this->_timer->destroy(); unset($this->_timer); } if (isset($this->_relayer)) { $this->_relayer->destroy(); unset($this->_relayer); } parent::destroy(); }
/** * 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; }
/** * @see Engine/Streamwide_Engine_Widget#flushEventListeners() */ public function flushEventListeners(array $criteria = null) { return $this->_widget->flushEventListeners($criteria); }
/** * 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); }
/** * Reset the widget * * @return void */ public function reset() { parent::reset(); $this->_currentCount = null; if ($this->isRunning()) { $this->stop(); } }
/** * Reset the widget * * @return void */ public function reset() { parent::reset(); $this->_connector->reset(); $this->_reconnector->reset(); }
/** * 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; }
/** * Resets the timer to the initial state * * @return void */ public function reset() { parent::reset(); if ($this->isArmed()) { $this->disarm(); } }
public function destroy() { if (isset($this->_asrCallLeg)) { unset($this->_asrCallLeg); } if (isset($this->_mediaRecorder)) { $this->_mediaRecorder->destroy(); unset($this->_mediaRecorder); } parent::destroy(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->_registry->set(SW_ENGINE_CONTROLLER, $this, false); $this->_initDefaultOptions(); }
/** * 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(); }
/** * Set the default event dispatcher class * * @param string $defaultEventDispatcherClass * @return void */ public static function setDefaultEventDispatcherClass($defaultEventDispatcherClass) { if (!is_string($defaultEventDispatcherClass)) { return; } try { $r = new ReflectionClass($defaultEventDispatcherClass); if ($r->isSubclassOf('Streamwide_Event_Dispatcher_Interface') && $r->isInstantiable()) { self::$_defaultEventDispatcherClass = $defaultEventDispatcherClass; } } catch (Exception $e) { } }
/** * 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(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->_initDefaultOptions(); }
/** * @see Engine/Streamwide_Engine_Widget#reset() */ public function reset() { parent::reset(); $this->_stateManager->setState(self::STATE_READY); }
/** * 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; }
/** * Reset the widget * * @return void */ public function reset() { parent::reset(); if ($this->isDetecting()) { $this->stopDetection(); } }
/** * @see Engine/Streamwide_Engine_Widget#reset() */ public function reset() { parent::reset(); $this->_eventsList = array(); }
/** * Resets the handler * * @return void */ public function reset() { parent::reset(); if ($this->isListening()) { $this->stopListening(); } $this->_receivedDtmfs = array(); $this->_handledDtmfs = array(); }
/** * 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); }