28 $classes = [\ILIAS\UI\Component\Card\Card::class];
29 $this->checkArgListElements(
"cards",
$cards,$classes);
30 $this->checkArgIsElement(
"size",
$size, self::$sizes,
"size type");
40 $classes = [\ILIAS\UI\Component\Card\Card::class];
41 $this->checkArgListElements(
"sections",
$cards,$classes);
59 $this->checkArgIsElement(
"size",
$size, self::$sizes,
"size type");
getCardsSize()
Get the cards size.int
Create styles array
The data for the language used.
withCards($cards)
Set the cards to be displayed in the deck.
__construct($cards, $size)
Deck constructor.
withCardsSize($size)
Set the cards size.Deck