1 | <?php |
||
31 | class Clipping extends Booking |
||
32 | { |
||
33 | |||
34 | /** |
||
35 | * Constant for the clipping mark tag |
||
36 | * |
||
37 | * @var string CLIPPING_TAG_FRONT |
||
38 | */ |
||
39 | const CLIPPING_TAG_FRONT = '--cf--'; |
||
40 | |||
41 | /** |
||
42 | * Constant for the clipping mark tag |
||
43 | * |
||
44 | * @var string CLIPPING_TAG_REAR |
||
45 | */ |
||
46 | const CLIPPING_TAG_REAR = '--cr--'; |
||
47 | |||
48 | /** |
||
49 | * Default constructor |
||
50 | * |
||
51 | * @param boolean $clipFront Whether or not this clipping comes up front or at the end of booking list |
||
52 | * @param null|string $time Time of this booking |
||
53 | */ |
||
54 | public function __construct($clipFront, $time = null) |
||
66 | |||
67 | /** |
||
68 | * Whether or not this booking can be the start of a task |
||
69 | * |
||
70 | * @return boolean |
||
71 | */ |
||
72 | public function canStartTask() |
||
76 | |||
77 | /** |
||
78 | * Whether or not this booking can be the end of a task |
||
79 | * |
||
80 | * @return boolean |
||
81 | */ |
||
82 | public function canEndTask() |
||
86 | } |
||
87 |