ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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.

References ILIAS\UI\Implementation\Component\Signal\$id.

35  {
36  $this->id = $id;
37  }

Member Function Documentation

◆ __toString()

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

Definition at line 68 of file Signal.php.

References ILIAS\UI\Implementation\Component\Signal\$id.

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

◆ addOption()

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

Definition at line 55 of file Signal.php.

Referenced by ILIAS\UI\Implementation\Component\ReplaceSignal\withAsyncRenderUrl(), and ILIAS\UI\Implementation\Component\ReplaceContentSignal\withAsyncRenderUrl().

55  : void
56  {
57  $this->options[$key] = $value;
58  }
+ Here is the caller graph for this function:

◆ 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.

References ILIAS\UI\Implementation\Component\Signal\$id.

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

◆ getOption()

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

Definition at line 63 of file Signal.php.

References null.

Referenced by ILIAS\UI\Implementation\Component\ReplaceSignal\getAsyncRenderUrl(), and ILIAS\UI\Implementation\Component\ReplaceContentSignal\getAsyncRenderUrl().

64  {
65  return (isset($this->options[$key])) ? $this->options[$key] : null;
66  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the caller graph for this function:

◆ 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.

References ILIAS\UI\Implementation\Component\Signal\$options.

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

Field Documentation

◆ $id

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

◆ $options

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

Definition at line 32 of file Signal.php.

Referenced by ILIAS\UI\Implementation\Component\Signal\getOptions().


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