JsonOutputSuccess
Extends\ls\ajax\JsonOutput
Set success message in constructor, which
will be shown as a pop-up on client.
since |
2016-09-27
|
author |
Olle Härstedt
|
package |
Default
|
Methods
__construct
__construct(string|null $result)
inherited
__toString
__toString(): string
inherited
Response
string
Json encoded object
Properties
result
result :mixed
inherited
Array like array('code' => 123, 'message' => 'Something went wrong.')
error :array|null
inherited
Success message pop-up
success :string|null
inherited
True if user is logged in
loggedIn :boolean
inherited
True if user has permission
hasPermission :boolean
inherited
Translated text of 'No permission'
noPermissionText :string
inherited