ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilWebDAVMountInstructionsDocument.php
Go to the documentation of this file.
1<?php
2
3
5{
7 private $id;
8
10 private $title;
11
14
17
19 private $language;
20
22 private $creation_ts;
23
26
29
32
34 private $sorting;
35
36 public function __construct(
37 int $a_id = 0,
38 string $a_title = "",
39 string $a_uploaded_instructions = "",
40 string $a_processed_instructions = "",
41 string $a_language = "",
42 $a_creation_ts = 0,
43 $a_modification_ts = 0,
44 int $a_owner_usr_id = 0,
45 int $a_last_modified_usr_id = 0,
46 int $a_sorting = 0
47 ) {
48 $this->id = $a_id;
49 $this->title = $a_title;
50 $this->uploaded_instructions = $a_uploaded_instructions;
51 $this->processed_instructions = $a_processed_instructions;
52 $this->language = $a_language;
53 $this->creation_ts = $a_creation_ts;
54 $this->modification_ts = $a_modification_ts;
55 $this->owner_usr_id = $a_owner_usr_id;
56 $this->last_modified_usr_id = $a_last_modified_usr_id;
57 $this->sorting = $a_sorting;
58 }
59
63 public function getId() : int
64 {
65 return (int) $this->id;
66 }
67
71 public function getTitle() : string
72 {
73 return $this->title;
74 }
75
79 public function getUploadedInstructions() : string
80 {
82 }
83
87 public function getProcessedInstructions() : string
88 {
90 }
91
95 public function getLanguage() : string
96 {
97 return $this->language;
98 }
99
103 public function getCreationTs()
104 {
105 return $this->creation_ts;
106 }
107
111 public function getModificationTs()
112 {
114 }
115
119 public function getOwnerUsrId() : int
120 {
121 return $this->owner_usr_id;
122 }
123
127 public function getLastModificationUsrId() : int
128 {
130 }
131
135 public function getSorting() : int
136 {
137 return $this->sorting;
138 }
139
140 public function withSorting($a_sorting) : ilWebDAVMountInstructionsDocument
141 {
142 $clone = clone $this;
143 $clone->sorting = $a_sorting;
144
145 return $clone;
146 }
147}
An exception for terminatinating execution or to throw for unit testing.
__construct(int $a_id=0, string $a_title="", string $a_uploaded_instructions="", string $a_processed_instructions="", string $a_language="", $a_creation_ts=0, $a_modification_ts=0, int $a_owner_usr_id=0, int $a_last_modified_usr_id=0, int $a_sorting=0)
language()
Definition: language.php:2