ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\UI\Implementation\Component\Signal Class Reference
+ Inheritance diagram for ILIAS\UI\Implementation\Component\Signal:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\Signal:

Public Member Functions

 __construct (string $id)
 
 getId ()
 Get the ID of this signal. More...
 
 getOptions ()
 Get the options of this signal. More...
 
 addOption (string $key, $value)
 
 __toString ()
 
 getId ()
 Get the ID of this signal. More...
 
 getOptions ()
 Get the options of this signal. More...
 

Protected Member Functions

 getOption (string $key)
 

Protected Attributes

string $id
 
array $options = array()
 

Detailed Description

Definition at line 29 of file Signal.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\UI\Implementation\Component\Signal::__construct ( string  $id)

Definition at line 34 of file Signal.php.

35 {
36 $this->id = $id;
37 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

Member Function Documentation

◆ __toString()

ILIAS\UI\Implementation\Component\Signal::__toString ( )

Definition at line 68 of file Signal.php.

68 : string
69 {
70 return $this->id;
71 }

References $id.

◆ addOption()

ILIAS\UI\Implementation\Component\Signal::addOption ( string  $key,
  $value 
)
Parameters
mixed$value

Definition at line 55 of file Signal.php.

55 : void
56 {
57 $this->options[$key] = $value;
58 }

◆ getId()

ILIAS\UI\Implementation\Component\Signal::getId ( )

Get the ID of this signal.

Implements ILIAS\UI\Component\Signal.

Definition at line 42 of file Signal.php.

42 : string
43 {
44 return $this->id;
45 }

References $id.

◆ getOption()

ILIAS\UI\Implementation\Component\Signal::getOption ( string  $key)
protected
Returns
mixed|null

Definition at line 63 of file Signal.php.

64 {
65 return (isset($this->options[$key])) ? $this->options[$key] : null;
66 }

◆ getOptions()

ILIAS\UI\Implementation\Component\Signal::getOptions ( )

Get the options of this signal.

Implements ILIAS\UI\Component\Signal.

Definition at line 47 of file Signal.php.

47 : array
48 {
49 return $this->options;
50 }

Field Documentation

◆ $id

string ILIAS\UI\Implementation\Component\Signal::$id
protected

Definition at line 31 of file Signal.php.

◆ $options

array ILIAS\UI\Implementation\Component\Signal::$options = array()
protected

Definition at line 32 of file Signal.php.


The documentation for this class was generated from the following file: