- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask.php
More file actions
Latest commit
25 lines (20 loc) · 508 Bytes
/
Copy pathTask.php
File metadata and controls
25 lines (20 loc) · 508 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
class Task{
publicint$id;
publicstring$tasktitle;
publicstring$startdate;
publicstring$enddate;
publicfunction__construct(){
// Code bloc
}
publicfunctionaddTask(int$id, string$tasktitle, string$startdate, string$enddate){
# Coed Block
}
publicfunctionupdateUser(int$id, string$tasktitle, string$startdate, string$enddate){
#Update code
}
publicfunctiondeleteUser(int$id){
#Update code
}
}
?>