tao-test/app/taoDeliveryRdf/model/Assignment.php

34 lines
662 B
PHP
Raw Permalink Normal View History

2022-08-29 20:14:13 +02:00
<?php
namespace oat\taoDeliveryRdf\model;
use oat\taoDelivery\model\Assignment as BaseAssignment;
class Assignment extends BaseAssignment
{
private $displayOrder;
public function __construct($deliveryId, $userId, $label, $desc, $startable, $displayOrder = 0)
{
parent::__construct(
$deliveryId,
$userId,
$label,
$desc,
$startable
);
$this->displayOrder = intval($displayOrder);
}
/**
* Get the display order.
*
* @return int
*/
public function getDisplayOrder()
{
return $this->displayOrder;
}
}