ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ReplaceContentSignal.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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 }
Interface Observer Contains several chained tasks and infos about them.
$url
Definition: shib_logout.php:66
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.