JsonOutputNotLoggedIn
extends JsonOutputModal
in package
Echo html for log in form modal body This is a special case of JsonOutputModal, but with fixed html Only used through JsonOutputNotLoggedIn in AdminController::run.
Table of Contents
Properties
- $error : array<string|int, mixed>|null
- Array like array('code' => 123, 'message' => 'Something went wrong.')
- $hasPermission : bool
- True if user has permission
- $html : string
- $loggedIn : bool
- True if user is logged in
- $noPermissionText : string
- Translated text of 'No permission'
- $result : mixed
- $success : string|null
- Success message pop-up
Methods
- __construct() : mixed
- __toString() : string
Properties
$error
Array like array('code' => 123, 'message' => 'Something went wrong.')
public
array<string|int, mixed>|null
$error
$hasPermission
True if user has permission
public
bool
$hasPermission
$html
public
string
$html
$loggedIn
True if user is logged in
public
bool
$loggedIn
$noPermissionText
Translated text of 'No permission'
public
string
$noPermissionText
$result
public
mixed
$result
$success
Success message pop-up
public
string|null
$success
Methods
__construct()
public
__construct() : mixed
__toString()
public
__toString() : string
Return values
string —Json encoded object