PHP Класс Contao\BackendMain

Наследование: extends Backend
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$Template BackendTemplate | object
$objAjax Ajax Current Ajax object

Открытые методы

Метод Описание
__construct ( ) Initialize the controller
run ( ) : Response Run the controller and parse the login template

Защищенные методы

Метод Описание
output ( ) : Response Output the template file
welcomeScreen ( ) : string Add the welcome screen

Описание методов

__construct() публичный Метод

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() защищенный Метод

Output the template file
protected output ( ) : Response
Результат Symfony\Component\HttpFoundation\Response

run() публичный Метод

Run the controller and parse the login template
public run ( ) : Response
Результат Symfony\Component\HttpFoundation\Response

welcomeScreen() защищенный Метод

Add the welcome screen
protected welcomeScreen ( ) : string
Результат string

Описание свойств

$Template защищенное свойство

protected BackendTemplate,contao|object $Template
Результат BackendTemplate | object

$objAjax защищенное свойство

Current Ajax object
protected Ajax,contao $objAjax
Результат Ajax