ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
ILIAS\UI\Implementation\Component\ReplaceSignal Class Reference

Replace Signal. More...

+ Inheritance diagram for ILIAS\UI\Implementation\Component\ReplaceSignal:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\ReplaceSignal:

Public Member Functions

 withAsyncRenderUrl (string $url)
 Get the same signal returning an element from the given url. More...
 
 getAsyncRenderUrl ()
 Get the url called to return the content. More...
 
- Public Member Functions inherited from ILIAS\UI\Implementation\Component\Signal
 __construct (string $id)
 
 getId ()
 Get the ID of this signal. More...
 
 getOptions ()
 Get the options of this signal. More...
 
 addOption (string $key, $value)
 
 __toString ()
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\UI\Implementation\Component\Signal
 getOption (string $key)
 
- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Signal
string $id
 
array $options = array()
 

Detailed Description

Replace Signal.

Author
Jesús López lopez.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 28 of file ReplaceSignal.php.

Member Function Documentation

◆ getAsyncRenderUrl()

ILIAS\UI\Implementation\Component\ReplaceSignal::getAsyncRenderUrl ( )

Get the url called to return the content.

Implements ILIAS\UI\Component\ReplaceSignal.

Definition at line 46 of file ReplaceSignal.php.

References ILIAS\UI\Implementation\Component\Signal\getOption().

46  : string
47  {
48  return (string) $this->getOption('url');
49  }
+ Here is the call graph for this function:

◆ withAsyncRenderUrl()

ILIAS\UI\Implementation\Component\ReplaceSignal::withAsyncRenderUrl ( string  $url)

Get the same signal returning an element from the given url.

Implements ILIAS\UI\Component\ReplaceSignal.

Definition at line 35 of file ReplaceSignal.php.

References ILIAS\UI\Implementation\Component\Signal\addOption().

35  : ReplaceSignal
36  {
37  $clone = clone $this;
38  $clone->addOption('url', $url);
39 
40  return $clone;
41  }
$url
Definition: ltiregstart.php:36
+ Here is the call graph for this function:

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