ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
MockObserver.php
Go to the documentation of this file.
1 <?php
2 
4 
7 
15 class MockObserver implements Observer
16 {
17 
22  public function notifyState($state)
23  {
24  // Does nothing.
25  }
26 
27 
33  public function notifyPercentage(Task $task, $percentage)
34  {
35  // Does nothing.
36  }
37 
38 
43  public function notifyCurrentTask(Task $task)
44  {
45  // Does nothing.
46  }
47 
48 
55  public function heartbeat()
56  {
57  // Does nothing.
58  }
59 }
heartbeat()
I&#39;m still alive! If your calculation takes a really long time don&#39;t forget to use the heartbeat...
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10