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