Please note that the contents
of this offline web site may be out of date. To access the most
recent documentation visit the
online version
.
Note that links that point to online resources are
green
in color and will open in a new
window.
We would love it if you could give us feedback about this material
by filling
this form
(You have to be online to fill it)
third_party/vfsstream/vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContent.php
This file is part of vfsStream.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
-
Package
-
org\bovigo\vfs
\org\bovigo\vfs\vfsStreamContent
Package:
Default
Interface for stream contents.
Constants
TYPE_FILE
= 32768
stream content type: file
-
See
-
\org\bovigo\vfs\getType()
TYPE_DIR
= 16384
stream content type: directory
-
See
-
\org\bovigo\vfs\getType()
Methods
appliesTo
(string $name)
: bool
checks whether the container can be applied to given name
Parameters
Name
|
Type
|
Description
|
$name
|
string
|
|
Returns
isExecutable
(int $user, int $group)
: bool
checks whether content is executable
Parameters
Name
|
Type
|
Description
|
$user
|
int
|
id of user to check for
|
$group
|
int
|
id of group to check for
|
Returns
isOwnedByGroup
(int $group)
: bool
checks whether file is owned by group
Parameters
Name
|
Type
|
Description
|
$group
|
int
|
|
Returns
isOwnedByUser
(int $user)
: bool
checks whether file is owned by given user
Parameters
Name
|
Type
|
Description
|
$user
|
int
|
|
Returns
isReadable
(int $user, int $group)
: bool
checks whether content is readable
Parameters
Name
|
Type
|
Description
|
$user
|
int
|
id of user to check for
|
$group
|
int
|
id of group to check for
|
Returns
isWritable
(int $user, int $group)
: bool
checks whether content is writable
Parameters
Name
|
Type
|
Description
|
$user
|
int
|
id of user to check for
|
$group
|
int
|
id of group to check for
|
Returns
lastModified
(int $filemtime)
:
\org\bovigo\vfs\vfsStreamContent
sets the last modification time of the stream content
Parameters
Name
|
Type
|
Description
|
$filemtime
|
int
|
|
Returns
path
()
: string
returns path to this content
Returns
Details
-
Since
-
1.2.0
url
()
: string
returns complete vfsStream url for this content
Returns
Details
-
Since
-
1.2.0