/** * Returns all actions connected/attached to the timer * @param string $strEventType * @param null $strActionType * * @return array */ public function GetAllActions($strEventType, $strActionType = null) { if ($strEventType == 'QTimerExpiredEvent' && $this->blnPeriodic == false && ($strActionType == 'QAjaxAction' && $this->objForm->CallType == QCallType::Ajax || $strActionType == 'QServerAction' && $this->objForm->CallType == QCallType::Server)) { //if we are in an ajax or server post and our timer is not periodic //and this method gets called then the timer has finished(stopped) --> set the State flag to "stopped" $this->intState = QJsTimer::Stopped; } return parent::GetAllActions($strEventType, $strActionType); }