ILIAS  release_8 Revision v8.23
ReplaceContentSignal.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class Factory.
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This signal replaces the content of a component by ajax.
withAsyncRenderUrl(string $url)
Get the same signal returning an element from the given url.
getAsyncRenderUrl()
Get the url called to return the content.
$url