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