PHP Class Contao\ModuleLogout

Deprecation: Deprecated since Contao 4.2, to be removed in Contao 5.0. Use the logout page instead.
Inheritance: extends Module
Show file Open project: contao/core-bundle

Protected Properties

Property Type Description
$strTemplate string Template

Public Methods

Method Description
generate ( ) : string Logout the current user and redirect

Protected Methods

Method Description
compile ( ) Generate the module

Method Details

compile() protected method

Generate the module
protected compile ( )

generate() public method

Logout the current user and redirect
public generate ( ) : string
return string

Property Details

$strTemplate protected property

Template
protected string $strTemplate
return string