pauseTimer() 공개 정적인 메소드

Pause a timer.
public static pauseTimer ( integer $id ) : boolean
$id integer The timer id.
리턴 boolean
예제 #1
0
파일: Handler.php 프로젝트: kossamums/horde
 /**
  * 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;
     }
 }