PHP Class tl_image_size_item

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
listImageSizeItem ( array $row ) : string List an image size item
showJsLibraryHint ( ) Show a hint if a JavaScript library needs to be included in the page layout
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

Method Details

__construct() public method

Import the back end user object
public __construct ( )

checkPermission() public method

Check permissions to edit the table
public checkPermission ( )

listImageSizeItem() public method

List an image size item
public listImageSizeItem ( array $row ) : string
$row array
return string

showJsLibraryHint() public method

Show a hint if a JavaScript library needs to be included in the page layout
public showJsLibraryHint ( )

toggleIcon() public method

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

toggleVisibility() public method

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