PHP Класс tl_form_field

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_field
getFields ( DataContainer $dc ) : array Return a list of form fields
getFormFieldTemplates ( ) : array Return all form field templates as array
listFormFields ( array $arrRow ) : string Add the type of input field
toggleIcon ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the "toggle visibility" button
toggleVisibility ( integer $intId, boolean $blnVisible, DataContainer $dc = null ) Toggle the visibility of a form field

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

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

Import the back end user object
public __construct ( )

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

Check permissions to edit table tl_form_field
public checkPermission ( )

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

Return a list of form fields
public getFields ( DataContainer $dc ) : array
$dc DataContainer
Результат array

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

Return all form field templates as array
public getFormFieldTemplates ( ) : array
Результат array

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

Add the type of input field
public listFormFields ( array $arrRow ) : string
$arrRow array
Результат string

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

Return the "toggle visibility" button
public toggleIcon ( 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

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

Toggle the visibility of a form field
public toggleVisibility ( integer $intId, boolean $blnVisible, DataContainer $dc = null )
$intId integer
$blnVisible boolean
$dc DataContainer