PHP 클래스 tl_files

Provide miscellaneous methods that are used by the data configuration array.
상속: extends Backend
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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