PHP 클래스 tl_form

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

공개 메소드들

메소드 설명
__construct ( ) Import the back end user object
checkPermission ( ) Check permissions to edit table tl_form
copyForm ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the copy form button
deleteForm ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the delete form button
editHeader ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the edit header button
generateAlias ( mixed $varValue, DataContainer $dc ) : mixed Auto-generate a form alias if it has not been set yet
getAllTables ( ) : array Get all tables and return them as array
getFormWrapperTemplates ( ) : array Return all form wrapper templates as array

메소드 상세

__construct() 공개 메소드

Import the back end user object
public __construct ( )

checkPermission() 공개 메소드

Check permissions to edit table tl_form
public checkPermission ( )

copyForm() 공개 메소드

Return the copy form button
public copyForm ( 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

deleteForm() 공개 메소드

Return the delete form button
public deleteForm ( 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

editHeader() 공개 메소드

Return the edit header button
public editHeader ( 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

generateAlias() 공개 메소드

Auto-generate a form alias if it has not been set yet
public generateAlias ( mixed $varValue, DataContainer $dc ) : mixed
$varValue mixed
$dc DataContainer
리턴 mixed

getAllTables() 공개 메소드

Get all tables and return them as array
public getAllTables ( ) : array
리턴 array

getFormWrapperTemplates() 공개 메소드

Return all form wrapper templates as array
public getFormWrapperTemplates ( ) : array
리턴 array