ILIAS  release_7 Revision v7.30-3-g800a261c036
ReplaceSignal.php
Go to the documentation of this file.
1<?php
2
4
7
14{
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}
An exception for terminatinating execution or to throw for unit testing.
withAsyncRenderUrl($url)
Get the same signal returning an element from the given url.ReplaceSignal
getAsyncRenderUrl()
Get the url called to return the content.string
This signal replaces a component by ajax.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait ComponentHelper
Provides common functionality for component implementations.
$url