\App\Exceptions\AdminAuthException

Summary

Methods
Properties
Constants
__construct()
successJson()
errorJson()
setHttpCode()
myAjaxReturn()
render()
No public properties found
No constants found
No protected methods found
$msg
$http_code
$admin_id
N/A
No private methods found
No private properties found
N/A

Properties

$msg

$msg : 

Type

$http_code

$http_code : 

Type

$admin_id

$admin_id : 

Type

Methods

__construct()

__construct(\App\Exceptions\Admin\string  $message = "", \App\Exceptions\Admin\int  $code, \App\Exceptions\Admin\int  $admin_id) 

Parameters

\App\Exceptions\Admin\string $message
\App\Exceptions\Admin\int $code
\App\Exceptions\Admin\int $admin_id

successJson()

successJson(  $data = array(),   $msg = 'success',   $other = array()) 

Parameters

$data
$msg
$other

errorJson()

errorJson(  $msg = 'error',   $status,   $data = array(),   $other = array()) 

Parameters

$msg
$status
$data
$other

setHttpCode()

setHttpCode(\App\Traits\int  $http_code) 

Parameters

\App\Traits\int $http_code

myAjaxReturn()

myAjaxReturn(\App\Traits\[type]  $data) 

[myAjaxReturn]

Parameters

\App\Traits\[type] $data

[description]

render()

render(\Illuminate\Http\Request  $request) 

Parameters

\Illuminate\Http\Request $request