PHP 클래스 Contao\BackendMain

상속: extends Backend
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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