-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.php
More file actions
43 lines (36 loc) · 722 Bytes
/
info.php
File metadata and controls
43 lines (36 loc) · 722 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
namespace testname_01;
class User {
/**
* @var int
*/
public $ID;
public $name;
/**
* @var
*/
public $path;
public $setPath;
public function __construct($setId,$setName,$setPath) {
$this->ID = $setId;
$this->name = $setName;
$this->path = $setPath ;
}
function getOwner() //Unix File Owner
{
echo $this->ID . " " . $this->name;
}
function getFilesize() // Dateigröße in Bytes
{
}
/**
*
*/
function getFilesizeHuman() // Dateilgröße in lesbarer Form
{
}
}
$user_1 = new User(1, "daniel","");
$user_1->printMe();
$user_2 = new User(2, "testuser","");
$user_2->printMe();