JsonOutputNotLoggedIn

Extends \ls\ajax\JsonOutputModal

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.

Methods

__construct

__construct(string|null $result) 
inherited

Arguments

$result

string|null

__toString

__toString() : string
inherited

Response

string

Json encoded object

Properties

html

html : string
inherited
var

Type(s)

string

result

result : mixed
inherited
var

Type(s)

mixed

Array like array('code' => 123, 'message' => 'Something went wrong.')

error : array|null
inherited
var

Type(s)

array|null

Success message pop-up

success : string|null
inherited
var

Type(s)

string|null

True if user is logged in

loggedIn : boolean
inherited
var

Type(s)

boolean

True if user has permission

hasPermission : boolean
inherited
var

Type(s)

boolean

Translated text of 'No permission'

noPermissionText : string
inherited
var

Type(s)

string