ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Sub.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4
6
8use ILIAS\UI\Implementation\Component\ComponentHelper;
9
14class Sub extends Panel implements C\Panel\Sub {
15 use ComponentHelper;
16
21 private $card = null;
22
26 public function withCard(C\Card\Card $card){
27 $clone = clone $this;
28 $clone->card = $card;
29 return $clone;
30 }
31
35 public function getCard() {
36 return $this->card;
37 }
38}
39?>
An exception for terminatinating execution or to throw for unit testing.