Link
class Link extends Node
Object representation of a Link.
Constants
S_IFMT |
|
DEF_MODE |
|
S_IFTYPE |
|
Methods
Class constructor.
Returns Link size.
No description
Details
at line 36
__construct(string $basename, Node $destination)
Class constructor.
in Node at line 52
chmod(int $mode)
Changes access to file.
This will apply the DIR/FILE type mask for use by stat to distinguish between file and directory.
in Node at line 62
int
mode()
Returns file mode
in Node at line 72
chown($userid)
Changes ownership.
in Node at line 82
mixed
user()
Returns ownership.
in Node at line 92
chgrp($groupid)
Changes group ownership.
in Node at line 102
mixed
group()
Returns group ownership.
at line 49
mixed
size()
Returns Link size.
The size is the length of the destination path
in Node at line 129
string
basename()
Returns Node basename.
in Node at line 139
setBasename(string $basename)
Sets new basename
in Node at line 149
string
path()
Returns node path.
in Node at line 167
string
url()
Returns node URL.
in Node at line 185
string
__toString()
Returns node absolute path (without scheme).
in Node at line 195
mixed
dirname()
Returns Node parent absolute path.
in Node at line 207
setAccessTime(int $time)
Sets last access time
in Node at line 217
setModificationTime(int $time)
Sets last modification time
in Node at line 227
setChangeTime(int $time)
Sets last inode change time
in Node at line 237
int
atime()
Returns last access time
in Node at line 247
int
mtime()
Returns last modification time
in Node at line 257
int
ctime()
Returns last inode change time (chown etc.)