Class StorageLocation

Namespace: Concrete\Core\File\StorageLocation
Entity
Table(name="filestoragelocations")
Located at src/File/StorageLocation/StorageLocation.php

Methods summary

public
# getID( )
public
# getName( )
public string
# getDisplayName( string $format = 'html' )

Returns the display name for this storage location (localized and escaped accordingly to $format)

public
# setName( $fslName )
public
# setIsDefault( $fslIsDefault )
public Concrete\Core\File\StorageLocation\Configuration\ConfigurationInterface
public
public
# setConfigurationObject( $configuration )
public
public static
# add( Concrete\Core\File\StorageLocation\Configuration\ConfigurationInterface $configuration, $fslName, $fslIsDefault = false )
public static
# getByID( $id )
public static Concrete\Core\File\StorageLocation\StorageLocation[]
public static Concrete\Core\File\StorageLocation\StorageLocation
public Concrete\Flysystem\Filesystem
# getFileSystemObject( )

Returns the proper file system object for the current storage location, by mapping it through Flysystem

public
# delete( )
public
# save( )

Properties summary

protected $fslName
#
protected $fslConfiguration
#
protected $fslID
#
protected boolean $fslIsDefault
# false