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