109        $classes = [\ILIAS\UI\Component\Component::class];
 
  112        $clone = clone $this;
 
  113        $clone->content_sections = $sections;
 
  132        $clone = clone $this;
 
  133        $clone->title_url = 
$url;
 
  153        $clone = clone $this;
 
  154        $clone->image_url = 
$url;
 
  173        $clone = clone $this;
 
  174        $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.