PHP Class Contao\BackendMain

Inheritance: extends Backend
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$Template BackendTemplate | object
$objAjax Ajax Current Ajax object

Méthodes publiques

Méthode Description
__construct ( ) Initialize the controller
run ( ) : Response Run the controller and parse the login template

Méthodes protégées

Méthode Description
output ( ) : Response Output the template file
welcomeScreen ( ) : string Add the welcome screen

Method Details

__construct() public méthode

1. Import the user 2. Call the parent constructor 3. Authenticate the user 4. Load the language files DO NOT CHANGE THIS ORDER!
public __construct ( )

output() protected méthode

Output the template file
protected output ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response

run() public méthode

Run the controller and parse the login template
public run ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response

welcomeScreen() protected méthode

Add the welcome screen
protected welcomeScreen ( ) : string
Résultat string

Property Details

$Template protected_oe property

protected BackendTemplate,contao|object $Template
Résultat BackendTemplate | object

$objAjax protected_oe property

Current Ajax object
protected Ajax,contao $objAjax
Résultat Ajax