class StorageLocation (View source)

deprecated Functionality moved to StorageLocationFactory

Class StorageLocation

Methods

static StorageLocation
add(ConfigurationInterface $configuration, string $fslName, bool $fslIsDefault = false) deprecated

No description

static null|StorageLocation
getByID(int $id) deprecated

No description

static StorageLocation[]
getList() deprecated

No description

static StorageLocation
getDefault() deprecated

No description

Details

static StorageLocation add(ConfigurationInterface $configuration, string $fslName, bool $fslIsDefault = false) deprecated

deprecated use: $location = $ storageLocationFactory->create($configuration, $fslName); $storageLocationFactory->persist($location);

No description

Parameters

ConfigurationInterface $configuration
string $fslName
bool $fslIsDefault

Return Value

StorageLocation

static null|StorageLocation getByID(int $id) deprecated

deprecated use FileStorageFactory::fetchByID()

No description

Parameters

int $id

Return Value

null|StorageLocation

Exceptions

ORMException
OptimisticLockException
TransactionRequiredException

static StorageLocation[] getList() deprecated

deprecated use FileStorageFactory::fetchList()

No description

Return Value

StorageLocation[]

static StorageLocation getDefault() deprecated

deprecated use StorageLocationFactory::fetchDefault()

No description

Return Value

StorageLocation