PHP Class tl_layout

Provide miscellaneous methods that are used by the data configuration array.
Inheritance: extends Backend
Show file Open project: contao/core-bundle

Public Methods

Method Description
__construct ( ) Import the back end user object
checkFramework ( mixed $value ) : string Auto-select layout.css if responsive.css is selected (see #8222)
checkPermission ( ) Check permissions to edit the table
getAnalyticsTemplates ( ) : array Return all analytics templates as array
getJqueryTemplates ( ) : array Return all jQuery templates as array
getMooToolsTemplates ( ) : array Return all MooTools templates as array
getPageTemplates ( ) : array Return all page templates as array
getScriptTemplates ( ) : array Return all script templates as array
getStyleSheets ( DataContainer $dc ) : array Return all style sheets of the current theme
listLayout ( array $row ) : string List a page layout
styleSheetLink ( DataContainer $dc ) : string Add a link to edit the stylesheets of the theme

Method Details

__construct() public method

Import the back end user object
public __construct ( )

checkFramework() public method

Auto-select layout.css if responsive.css is selected (see #8222)
public checkFramework ( mixed $value ) : string
$value mixed
return string

checkPermission() public method

Check permissions to edit the table
public checkPermission ( )

getAnalyticsTemplates() public method

Return all analytics templates as array
public getAnalyticsTemplates ( ) : array
return array

getJqueryTemplates() public method

Return all jQuery templates as array
public getJqueryTemplates ( ) : array
return array

getMooToolsTemplates() public method

Return all MooTools templates as array
public getMooToolsTemplates ( ) : array
return array

getPageTemplates() public method

Return all page templates as array
public getPageTemplates ( ) : array
return array

getScriptTemplates() public method

Return all script templates as array
public getScriptTemplates ( ) : array
return array

getStyleSheets() public method

Return all style sheets of the current theme
public getStyleSheets ( DataContainer $dc ) : array
$dc DataContainer
return array

listLayout() public method

List a page layout
public listLayout ( array $row ) : string
$row array
return string