ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Signal.php
Go to the documentation of this file.
1 <?php
2 
4 
12 {
13 
17  protected $id;
18 
22  protected $options = array();
23 
27  public function __construct($id)
28  {
29  $this->id = $id;
30  }
31 
35  public function getId()
36  {
37  return $this->id;
38  }
39 
43  public function getOptions()
44  {
45  return $this->options;
46  }
47 
52  public function addOption($key, $value)
53  {
54  $this->options[$key] = $value;
55  }
56 
61  protected function getOption($key)
62  {
63  return (isset($this->options[$key])) ? $this->options[$key] : null;
64  }
65 
69  public function __toString()
70  {
71  return $this->id;
72  }
73 }
getId()
Get the ID of this signal.string
Definition: Signal.php:35