/** * Pause a timer. Expects the following data in $this->vars: * - t: The timer id * * @return boolean */ public function pauseTimer() { try { return Hermes::pauseTimer($this->vars->t); } catch (Horde_Exception_NotFound $e) { $GLOBALS['notification']->push(_("Invalid timer requested"), 'horde.error'); return false; } }