PHP Class skeeks\cms\components\storage\ClusterLocal

Inheritance: extends Cluster
Show file Open project: skeeks-cms/cms

Public Properties

Property Type Description
$publicBaseUrlIsAbsolute boolean

Public Methods

Method Description
delete ( $clusterFileUniqSrc ) : boolean Удаление файла
deleteTmpDir ( $clusterFileUniqSrc ) : boolean | mixed Удаление временной папки
existsRootPath ( ) : boolean
getAbsoluteUrl ( $clusterFileUniqSrc ) : string
getFreeSpace ( ) : float Свободное место на сервере
getTotalSpace ( ) : float Всего столько места.
init ( )
update ( $clusterFileUniqSrc, $file )
upload ( skeeks\sx\File $tmpFile ) : string Добавление файла в кластер

Method Details

delete() public method

Удаление файла
public delete ( $clusterFileUniqSrc ) : boolean
return boolean

deleteTmpDir() public method

Удаление временной папки
public deleteTmpDir ( $clusterFileUniqSrc ) : boolean | mixed
$clusterFileUniqSrc
return boolean | mixed

existsRootPath() public method

public existsRootPath ( ) : boolean
return boolean

getAbsoluteUrl() public method

public getAbsoluteUrl ( $clusterFileUniqSrc ) : string
$clusterFileUniqSrc
return string

getFreeSpace() public method

Свободное место на сервере
public getFreeSpace ( ) : float
return float

getTotalSpace() public method

Всего столько места.
public getTotalSpace ( ) : float
return float

init() public method

public init ( )

update() public method

public update ( $clusterFileUniqSrc, $file )

upload() public method

Добавление файла в кластер
public upload ( skeeks\sx\File $tmpFile ) : string
$tmpFile skeeks\sx\File
return string

Property Details

$publicBaseUrlIsAbsolute public property

public bool $publicBaseUrlIsAbsolute
return boolean