ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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  protected 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 }
if(!array_key_exists('StateId', $_REQUEST)) $id
$key
Definition: croninfo.php:18
getId()
Get the ID of this signal.string
Definition: Signal.php:35