PHP Класс tl_style

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

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

Метод Описание
__construct ( ) Import the back end user object
checkCategory ( mixed $varValue ) : string Automatically set the category if not set
checkPermission ( ) Check permissions to edit the table
filePicker ( DataContainer $dc ) : string Return the file picker wizard
scheduleUpdate ( ) Schedule a style sheet update
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 format definition
updateAfterRestore ( integer $id, string $table, array $data ) Update a style sheet after a version has been restored
updateStyleSheet ( ) Check for modified style sheets and update them if necessary

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

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

Import the back end user object
public __construct ( )

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

Automatically set the category if not set
public checkCategory ( mixed $varValue ) : string
$varValue mixed
Результат string

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

Check permissions to edit the table
public checkPermission ( )

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

Return the file picker wizard
public filePicker ( DataContainer $dc ) : string
$dc DataContainer
Результат string

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

This method is triggered when a single style or multiple styles are modified (edit/editAll), duplicated (copy/copyAll), moved (cut/cutAll) or deleted (delete/deleteAll).
public scheduleUpdate ( )

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 format definition
public toggleVisibility ( integer $intId, boolean $blnVisible, DataContainer $dc = null )
$intId integer
$blnVisible boolean
$dc DataContainer

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

Update a style sheet after a version has been restored
public updateAfterRestore ( integer $id, string $table, array $data )
$id integer
$table string
$data array

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

Check for modified style sheets and update them if necessary
public updateStyleSheet ( )