FsTrait
- Type
- Trait
- Namespace
- craft\base
- Implemented by
- craft\base\Fs, craft\fs\Local, craft\fs\MissingFs, craft\fs\Temp
- Since
- 4.0.0
FsTrait implements the common methods and properties for filesystem classes.
View source (opens new window)
# Public Properties
Property | Description |
---|---|
handle | string (opens new window), null (opens new window) – Handle |
hasUrls | boolean (opens new window) – Whether the volume has a public URL |
name | string (opens new window), null (opens new window) – Name |
oldHandle | string (opens new window), null (opens new window) – Old handle |
uid | string (opens new window), null (opens new window) – UID |
url | string (opens new window), null (opens new window) – The volume’s URL |
# handle
- Type
- string (opens new window), null (opens new window)
- Default value
null
Handle
View source (opens new window)
# hasUrls
- Type
- boolean (opens new window)
- Default value
false
Whether the volume has a public URL
View source (opens new window)
# name
- Type
- string (opens new window), null (opens new window)
- Default value
null
Name
View source (opens new window)
# oldHandle
- Type
- string (opens new window), null (opens new window)
- Default value
null
Old handle
View source (opens new window)
# uid
- Type
- string (opens new window), null (opens new window)
- Default value
null
UID
View source (opens new window)
# url
- Type
- string (opens new window), null (opens new window)
- Default value
null
The volume’s URL