PHP Class tl_user_group

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
addIcon ( array $row, string $label ) : string Add an image to each record
getExcludedFields ( ) : array Return all excluded fields as HTML drop down menu
getModules ( ) : array Return all modules except profile modules
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 ) Disable/enable a user group

Method Details

__construct() public method

Import the back end user object
public __construct ( )

addIcon() public method

Add an image to each record
public addIcon ( array $row, string $label ) : string
$row array
$label string
return string

getExcludedFields() public method

Return all excluded fields as HTML drop down menu
public getExcludedFields ( ) : array
return array

getModules() public method

Return all modules except profile modules
public getModules ( ) : array
return array

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

Disable/enable a user group
public toggleVisibility ( integer $intId, boolean $blnVisible, DataContainer $dc = null )
$intId integer
$blnVisible boolean
$dc DataContainer