ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ReplaceContentSignal.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component
;
22
30
class
ReplaceContentSignal
extends
Signal
implements \ILIAS\UI\Component\ReplaceContentSignal
31
{
32
use
ComponentHelper
;
33
37
public
function
withAsyncRenderUrl
(
string
$url
): \
ILIAS
\
UI
\
Component
\
ReplaceContentSignal
38
{
39
$clone = clone $this;
40
$clone->
addOption
(
'url'
, $url);
41
return
$clone;
42
}
43
47
public
function
getAsyncRenderUrl
(): string
48
{
49
return
(
string
) $this->
getOption
(
'url'
);
50
}
51
}
ILIAS\UI\Implementation\Component
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
Factory
ILIAS\UI\Component
$url
$url
Definition:
shib_logout.php:68
ILIAS\UI\Implementation\Component\Signal\addOption
addOption(string $key, $value)
Definition:
Signal.php:55
ILIAS\UI\Implementation\Component\ReplaceContentSignal
Class ReplaceContentSignal.
Definition:
ReplaceContentSignal.php:30
ILIAS\UI\Implementation\Component\ReplaceContentSignal\withAsyncRenderUrl
withAsyncRenderUrl(string $url)
Get the same signal returning an element from the given url.
Definition:
ReplaceContentSignal.php:37
ILIAS\UI\Implementation\Component\ReplaceContentSignal\getAsyncRenderUrl
getAsyncRenderUrl()
Get the url called to return the content.
Definition:
ReplaceContentSignal.php:47
Signal
ComponentHelper
ILIAS\UI\Implementation\Component\Signal\getOption
getOption(string $key)
Definition:
Signal.php:63
components
ILIAS
UI
src
Implementation
Component
ReplaceContentSignal.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)