PHP Class App\Http\Controllers\RoutesController

Inheritance: extends Controller
显示文件 Open project: sroutier/laravel-5.1-enterprise-starter-kit

Public Methods

Method Description
__construct ( Illuminate\Contracts\Foundation\Application $app, AuditRepository $audit, RouteRepository $route, PermissionRepository $permission )
create ( ) : Illuminate\View\View
destroy ( $id ) : Illuminate\Http\RedirectResponse | Redirector
disable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
disableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
edit ( $id ) : Illuminate\View\View
enable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
enableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
getInfo ( Illuminate\Http\Request $request ) : mixed
getModalDelete ( integer $id ) : View Delete Confirm
index ( ) : Illuminate\View\View
load ( ) : Illuminate\View\View
savePerms ( Illuminate\Http\Request $request ) : Illuminate\View\View
searchByName ( Illuminate\Http\Request $request ) : array | static[]
show ( $id ) : Illuminate\View\View
store ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector
update ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\RedirectResponse | Redirector

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Foundation\Application $app, AuditRepository $audit, RouteRepository $route, PermissionRepository $permission )
$app Illuminate\Contracts\Foundation\Application
$audit App\Repositories\AuditRepository
$route App\Repositories\RouteRepository
$permission App\Repositories\PermissionRepository

create() public method

public create ( ) : Illuminate\View\View
return Illuminate\View\View

destroy() public method

public destroy ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

disable() public method

public disable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

disableSelected() public method

public disableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
$request Illuminate\Http\Request
return Illuminate\View\View

edit() public method

public edit ( $id ) : Illuminate\View\View
$id
return Illuminate\View\View

enable() public method

public enable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

enableSelected() public method

public enableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
$request Illuminate\Http\Request
return Illuminate\View\View

getInfo() public method

public getInfo ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
return mixed

getModalDelete() public method

Delete Confirm
public getModalDelete ( integer $id ) : View
$id integer
return View

index() public method

public index ( ) : Illuminate\View\View
return Illuminate\View\View

load() public method

public load ( ) : Illuminate\View\View
return Illuminate\View\View

savePerms() public method

public savePerms ( Illuminate\Http\Request $request ) : Illuminate\View\View
$request Illuminate\Http\Request
return Illuminate\View\View

searchByName() public method

public searchByName ( Illuminate\Http\Request $request ) : array | static[]
$request Illuminate\Http\Request
return array | static[]

show() public method

public show ( $id ) : Illuminate\View\View
return Illuminate\View\View

store() public method

public store ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

update() public method

public update ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
$id
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector