\App\Modules\Admin\Http\MiddlewareCheckRabc

Summary

Methods
Properties
Constants
successJson()
errorJson()
setHttpCode()
myAjaxReturn()
handle()
No public properties found
No constants found
No protected methods found
$http_code
$guard
N/A
checkRabc()
No private properties found
N/A

Properties

$http_code

$http_code : 

Type

$guard

$guard : 

Type

Methods

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]

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next) : mixed

Handle an incoming request.

Parameters

\Illuminate\Http\Request $request
\Closure $next

Returns

mixed

checkRabc()

checkRabc(  $request, \App\Modules\Admin\Http\Middleware\int  $admin_id,   $load_error = '') 

Parameters

$request
\App\Modules\Admin\Http\Middleware\int $admin_id
$load_error