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