ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ReplaceContentSignal.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
30 class ReplaceContentSignal extends Signal implements \ILIAS\UI\Component\ReplaceContentSignal
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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$url
Definition: shib_logout.php:63
addOption(string $key, $value)
Definition: Signal.php:55
withAsyncRenderUrl(string $url)
Get the same signal returning an element from the given url.
getAsyncRenderUrl()
Get the url called to return the content.