PHP Класс tl_files

Provide miscellaneous methods that are used by the data configuration array.
Наследование: extends Backend
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Import the back end user object
addBreadcrumb ( ) Add the breadcrumb menu
addFileLocation ( DataContainer $dc ) : string Add the file location instead of the help text (see #6503)
checkFilename ( string $varValue, DataContainer $dc ) : mixed Check a file name and romanize it
checkImportantPart ( DataContainer $dc ) Only show the important part fields for images
checkPermission ( ) Check permissions to edit the file system
copyFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the copy file button
cutFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the cut file button
deleteFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the delete file button
editFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the edit file button
editSource ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the edit file source button
protectFolder ( DataContainer $dc ) : string Return a checkbox to delete session data
showFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the show file button
syncFiles ( string $href, string $label, string $title, string $class, string $attributes ) : string Return the sync files button

Описание методов

__construct() публичный Метод

Import the back end user object
public __construct ( )

addBreadcrumb() публичный Метод

Add the breadcrumb menu
public addBreadcrumb ( )

addFileLocation() публичный Метод

Add the file location instead of the help text (see #6503)
public addFileLocation ( DataContainer $dc ) : string
$dc DataContainer
Результат string

checkFilename() публичный Метод

Check a file name and romanize it
public checkFilename ( string $varValue, DataContainer $dc ) : mixed
$varValue string
$dc DataContainer
Результат mixed

checkImportantPart() публичный Метод

Only show the important part fields for images
public checkImportantPart ( DataContainer $dc )
$dc DataContainer

checkPermission() публичный Метод

Check permissions to edit the file system
public checkPermission ( )

copyFile() публичный Метод

Return the copy file button
public copyFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

cutFile() публичный Метод

Return the cut file button
public cutFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

deleteFile() публичный Метод

Return the delete file button
public deleteFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

editFile() публичный Метод

Return the edit file button
public editFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

editSource() публичный Метод

Return the edit file source button
public editSource ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

protectFolder() публичный Метод

Return a checkbox to delete session data
public protectFolder ( DataContainer $dc ) : string
$dc DataContainer
Результат string

showFile() публичный Метод

Return the show file button
public showFile ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string
$row array
$href string
$label string
$title string
$icon string
$attributes string
Результат string

syncFiles() публичный Метод

Return the sync files button
public syncFiles ( string $href, string $label, string $title, string $class, string $attributes ) : string
$href string
$label string
$title string
$class string
$attributes string
Результат string