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/vfsStreamAbstractContent.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\vfsStreamAbstractContent
Package:
Default
Base stream contents container.
-
Implements
-
\org\bovigo\vfs\vfsStreamContent
-
Children
-
\org\bovigo\vfs\vfsStreamDirectory
-
\org\bovigo\vfs\vfsStreamFile
-
\org\bovigo\vfs\TestvfsStreamAbstractContent
Constants
Methods
__construct
(string $name, int $permissions = null)
: void
Parameters
|
Name
|
Type
|
Description
|
|
$name
|
string
|
|
|
$permissions
|
int
|
optional
|
appliesTo
(string $name)
: bool
checks whether the container can be applied to given name
Parameters
|
Name
|
Type
|
Description
|
|
$name
|
string
|
|
Returns
fileatime
()
: int
returns the last access time of the stream content
Returns
Details
-
Since
-
0.9
filectime
()
: int
returns the last attribute modification time of the stream content
Returns
Details
-
Since
-
0.9
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
lastAccessed
(int $fileatime)
:
\org\bovigo\vfs\vfsStreamContent
sets last access time of the stream content
Parameters
|
Name
|
Type
|
Description
|
|
$fileatime
|
int
|
|
Returns
Details
-
Since
-
0.9
lastAttributeModified
(int $filectime)
:
\org\bovigo\vfs\vfsStreamContent
sets the last attribute modification time of the stream content
Parameters
|
Name
|
Type
|
Description
|
|
$filectime
|
int
|
|
Returns
Details
-
Since
-
0.9
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