Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 20222 программиста и 1172 робота. Сейчас ищут 630 программистов ...
Auth::setShowLogin()
Вернуться к: Auth
Auth::setShowLogin()
Auth::setShowLogin() – controls if the login form will be displayed. Turned on by default
Synopsis
void Auth::setShowLogin ( bool $showLogin = true )
Controls if the login page will be displayed to the user. Normally you might need to display the login form only on a certain page of your web application.
Parameter
- boolean $showLogin
-
true if you want to display the login form and false if you want to hide it.
Note
This function can not be called statically.
This is equivalent to the 4th paramether of Auth::Auth()
Вернуться к: Auth