Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
Assignment | |
0.00% |
0 / 9 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
getDisplayOrder | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace oat\taoDeliveryRdf\model; |
4 | |
5 | use oat\taoDelivery\model\Assignment as BaseAssignment; |
6 | |
7 | class Assignment extends BaseAssignment |
8 | { |
9 | private $displayOrder; |
10 | |
11 | public function __construct($deliveryId, $userId, $label, $desc, $startable, $displayOrder = 0) |
12 | { |
13 | parent::__construct( |
14 | $deliveryId, |
15 | $userId, |
16 | $label, |
17 | $desc, |
18 | $startable |
19 | ); |
20 | |
21 | $this->displayOrder = intval($displayOrder); |
22 | } |
23 | |
24 | /** |
25 | * Get the display order. |
26 | * |
27 | * @return int |
28 | */ |
29 | public function getDisplayOrder() |
30 | { |
31 | return $this->displayOrder; |
32 | } |
33 | } |