ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ReplaceContentSignal.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
31{
32 use ComponentHelper;
33
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}
withAsyncRenderUrl(string $url)
Get the same signal returning an element from the given url.
getAsyncRenderUrl()
Get the url called to return the content.
Definition: UI.php:24
This signal replaces the content of a component by ajax.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
$url
Definition: shib_logout.php:68