PHP Class tl_style_sheet

Inheritance: extends Backend
Show file Open project: contao/core-bundle

Public Methods

Method Description
__construct ( ) Import the back end user object
checkPermission ( ) Check permissions to edit the table
editHeader ( array $row, string $href, string $label, string $title, string $icon, string $attributes ) : string Return the edit header button
listStyleSheet ( array $row ) : string List a style sheet
romanizeName ( mixed $varValue ) : mixed Romanize the file name (see #7526)
sanitizeCc ( mixed $varValue ) : mixed Sanitize the conditional comments field
scheduleUpdate ( mixed $id ) Schedule a style sheet update
updateStyleSheet ( ) Check for modified style sheets and update them if necessary

Method Details

__construct() public method

Import the back end user object
public __construct ( )

checkPermission() public method

Check permissions to edit the table
public checkPermission ( )

editHeader() public method

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
return string

listStyleSheet() public method

List a style sheet
public listStyleSheet ( array $row ) : string
$row array
return string

romanizeName() public method

Romanize the file name (see #7526)
public romanizeName ( mixed $varValue ) : mixed
$varValue mixed
return mixed

sanitizeCc() public method

Sanitize the conditional comments field
public sanitizeCc ( mixed $varValue ) : mixed
$varValue mixed
return mixed

scheduleUpdate() public method

This method is triggered when a single style sheet or multiple style sheets are modified (edit/editAll) or duplicated (copy/copyAll).
public scheduleUpdate ( mixed $id )
$id mixed

updateStyleSheet() public method

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