ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ReplaceContentSignal.php
Go to the documentation of this file.
1<?php
2
4
7
15{
17
18
22 public function withAsyncRenderUrl($url)
23 {
24 $this->checkStringArg('url', $url);
25 $clone = clone $this;
26 $clone->addOption('url', $url);
27
28 return $clone;
29 }
30
31
35 public function getAsyncRenderUrl()
36 {
37 return (string) $this->getOption('url');
38 }
39}
An exception for terminatinating execution or to throw for unit testing.
withAsyncRenderUrl($url)
Get the same signal returning the Popovers content from the given url.ReplaceContentSignal
getAsyncRenderUrl()
Get the url called to return the content.string
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait ComponentHelper
Provides common functionality for component implementations.
$url