Editor\Traits\FileSystemFunctions

Overview

FileSystemFunctions implements common file and directory management functions for Tailor extensions.


Protected Methods

protected editorCreateDirectory()

protected editorCreateDirectory($basePath, $newName, $parent): void

protected editorDeleteFileOrDirectory()

protected editorDeleteFileOrDirectory($basePath, $fileList): void

protected editorMoveFilesOrDirectories()

protected editorMoveFilesOrDirectories(
    $basePath,
    $selectedList,
    $destinationDir
): void

protected editorRenameFileOrDirectory()

protected editorRenameFileOrDirectory(
    $basePath,
    $name,
    $originalPath,
    $allowedFileExtensions
): void

protected editorUploadFiles()

protected editorUploadFiles($basePath, $allowedExtensions): void