10 class Deck implements D\Deck
30 $classes = [\ILIAS\UI\Component\Card\Card::class];
43 $classes = [\ILIAS\UI\Component\Card\Card::class];
114 $clone = clone $this;
115 $clone->size =
$size;
146 case self::SIZE_FULL:
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
trait ComponentHelper
Provides common functionality for component implementations.
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
withExtraLargeCardsSize()
withExtraSmallCardsSize()
Create styles array
The data for the language used.
getCardsSizeSmallDisplays()
__construct($cards, $size)
Deck constructor.
Set page orientation and size