Pause a timer.
public static pauseTimer ( integer $id ) : boolean | ||
$id | integer | The timer id. |
return | boolean |
/** * 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; } }