ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ReplaceSignal.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29{
30 use ComponentHelper;
31
35 public function withAsyncRenderUrl(string $url): ReplaceSignal
36 {
37 $clone = clone $this;
38 $clone->addOption('url', $url);
39
40 return $clone;
41 }
42
46 public function getAsyncRenderUrl(): string
47 {
48 return (string) $this->getOption('url');
49 }
50}
getAsyncRenderUrl()
Get the url called to return the content.
withAsyncRenderUrl(string $url)
Get the same signal returning an element from the given url.
This signal replaces a component by ajax.
$url
Definition: shib_logout.php:68