ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ReplaceSignal.php
Go to the documentation of this file.
1 <?php
2 
4 
7 
14 {
15  use ComponentHelper;
16 
20  public function withAsyncRenderUrl($url)
21  {
22  $this->checkStringArg('url', $url);
23  $clone = clone $this;
24  $clone->addOption('url', $url);
25 
26  return $clone;
27  }
28 
29 
33  public function getAsyncRenderUrl()
34  {
35  return (string) $this->getOption('url');
36  }
37 }
getAsyncRenderUrl()
Get the url called to return the content.string
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
withAsyncRenderUrl($url)
Get the same signal returning an element from the given url.ReplaceSignal
This signal replaces a component by ajax.
$url