Trait craft\base\VolumeTrait
- Implemented by
- craft\base\FlysystemVolume, craft\base\Volume, craft\volumes\Local, craft\volumes\MissingVolume, craft\volumes\Temp
- Available since version
- 3.0
- Source Code
- https://github.com/craftcms/cms/blob/master/src/base/VolumeTrait.php
VolumeTrait
Property | Type | Description | Defined By |
---|---|---|---|
$fieldLayoutId |
integer, null | Field layout ID | craft\base\VolumeTrait |
$handle |
string, null | Handle | craft\base\VolumeTrait |
$hasUrls |
boolean, null | Whether the volume has a public URL | craft\base\VolumeTrait |
$name |
string, null | Name | craft\base\VolumeTrait |
$sortOrder |
integer, null | Sort order | craft\base\VolumeTrait |
$url |
string, null | The volume’s URL | craft\base\VolumeTrait |
Property Details
$fieldLayoutId
public property
#
Field layout ID
public integer, null $fieldLayoutId = null
$handle
public property
#
Handle
public string, null $handle = null
$hasUrls
public property
#
Whether the volume has a public URL
public boolean, null $hasUrls = null
$name
public property
#
Name
public string, null $name = null
$sortOrder
public property
#
Sort order
public integer, null $sortOrder = null
$url
public property
#
The volume’s URL
public string, null $url = null