ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
ReplaceContentSignal.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\UI\Implementation\Component\Popover
;
4
5
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
6
use
ILIAS\UI\Implementation\Component\Signal
;
7
14
class
ReplaceContentSignal
extends
Signal
implements
\ILIAS\UI\Component\Popover\ReplaceContentSignal
15
{
16
use
ComponentHelper
;
17
18
22
public
function
withAsyncRenderUrl
(
$url
)
23
{
24
$this->
checkStringArg
(
'url'
,
$url
);
25
$clone = clone $this;
26
$clone->addOption(
'url'
,
$url
);
27
28
return
$clone;
29
}
30
31
35
public
function
getAsyncRenderUrl
()
36
{
37
return
(
string
) $this->getOption(
'url'
);
38
}
39
}
Signal
ILIAS\UI\Implementation\Component\ComponentHelper
trait ComponentHelper
Provides common functionality for component implementations.
Definition:
ComponentHelper.php:11
ILIAS\UI\Implementation\Component\checkStringArg
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
Definition:
ComponentHelper.php:90
ILIAS\UI\Implementation\Component\Popover
Definition:
Factory.php:3
ILIAS\UI\Implementation\Component\Popover\ReplaceContentSignal
Definition:
ReplaceContentSignal.php:14
ILIAS\UI\Component\Popover\ReplaceContentSignal
Definition:
ReplaceContentSignal.php:13
ILIAS\UI\Implementation\Component\Popover\ReplaceContentSignal\getAsyncRenderUrl
getAsyncRenderUrl()
Get the url called to return the content.string
Definition:
ReplaceContentSignal.php:35
ILIAS\UI\Implementation\Component\Popover\ReplaceContentSignal\withAsyncRenderUrl
withAsyncRenderUrl($url)
Get the same signal returning the Popovers content from the given url.ReplaceContentSignal ...
Definition:
ReplaceContentSignal.php:22
ILIAS\UI\Component\Signal
Definition:
Signal.php:13
$url
$url
Definition:
proxy_ylocal.php:28
src
UI
Implementation
Component
Popover
ReplaceContentSignal.php
Generated on Tue Jan 28 2025 19:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)