100 $classes = [\ILIAS\UI\Component\Component::class];
103 $clone = clone $this;
104 $clone->content_sections = $sections;
123 $clone = clone $this;
124 $clone->title_url =
$url;
142 $clone = clone $this;
143 $clone->highlight = $status;
An exception for terminatinating execution or to throw for unit testing.
withSections(array $sections)
withImage(\ILIAS\UI\Component\Image\Image $image)
__construct($title, \ILIAS\UI\Component\Image\Image $image=null)
A component is the most general form of an entity in the UI.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes.
trait ComponentHelper
Provides common functionality for component implementations.