PHP Класс tl_form

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

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

Метод Описание
__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