10 class Card implements C\Card
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;
withSections(array $sections)
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
withImage(\ILIAS\UI\Component\Image\Image $image)
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
__construct($title, \ILIAS\UI\Component\Image\Image $image=null)