PHP Class tl_module

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

Public Methods

Method Description
__construct ( ) Import the back end user object
checkPermission ( ) Check permissions to edit the table
getActivationDefault ( mixed $varValue ) : mixed Load the default activation text
getEditableMemberProperties ( ) : array Return all editable fields of table tl_member
getForms ( ) : array Get all forms and return them as array
getLayoutSections ( ) : array Return all layout sections as array
getMemberTemplates ( ) : array Return all member templates as array
getModuleTemplates ( DataContainer $dc ) : array Return all module templates as array
getModules ( ) : array Return all front end modules as array
getNavigationTemplates ( ) : array Return all navigation templates as array
getPasswordDefault ( mixed $varValue ) : mixed Load the default password text
getRssTemplates ( ) : array Return all navigation templates as array
getSearchTemplates ( ) : array Return all search templates as array
listModule ( array $row ) : string List a front end module
setMultiSrcFlags ( mixed $varValue, DataContainer $dc ) : mixed Dynamically add flags to the "multiSRC" field

Method Details

__construct() public method

Import the back end user object
public __construct ( )

checkPermission() public method

Check permissions to edit the table
public checkPermission ( )

getActivationDefault() public method

Load the default activation text
public getActivationDefault ( mixed $varValue ) : mixed
$varValue mixed
return mixed

getEditableMemberProperties() public method

Return all editable fields of table tl_member

getForms() public method

Get all forms and return them as array
public getForms ( ) : array
return array

getLayoutSections() public method

Return all layout sections as array
public getLayoutSections ( ) : array
return array

getMemberTemplates() public method

Return all member templates as array
public getMemberTemplates ( ) : array
return array

getModuleTemplates() public method

Return all module templates as array
public getModuleTemplates ( DataContainer $dc ) : array
$dc DataContainer
return array

getModules() public method

Return all front end modules as array
public getModules ( ) : array
return array

getNavigationTemplates() public method

Return all navigation templates as array
public getNavigationTemplates ( ) : array
return array

getPasswordDefault() public method

Load the default password text
public getPasswordDefault ( mixed $varValue ) : mixed
$varValue mixed
return mixed

getRssTemplates() public method

Return all navigation templates as array
public getRssTemplates ( ) : array
return array

getSearchTemplates() public method

Return all search templates as array
public getSearchTemplates ( ) : array
return array

listModule() public method

List a front end module
public listModule ( array $row ) : string
$row array
return string

setMultiSrcFlags() public method

Dynamically add flags to the "multiSRC" field
public setMultiSrcFlags ( mixed $varValue, DataContainer $dc ) : mixed
$varValue mixed
$dc DataContainer
return mixed