PHP Class App\Http\Controllers\PermissionsController

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

Public Methods

Method Description
__construct ( Illuminate\Contracts\Foundation\Application $app, AuditRepository $audit, PermissionRepository $permission, RoleRepository $role, RouteRepository $route )
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
generate ( ) : Illuminate\View\View
getModalDelete ( integer $id ) : View Delete Confirm
index ( ) : Illuminate\View\View
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, PermissionRepository $permission, RoleRepository $role, RouteRepository $route )
$app Illuminate\Contracts\Foundation\Application
$audit App\Repositories\AuditRepository
$permission App\Repositories\PermissionRepository
$role App\Repositories\RoleRepository
$route App\Repositories\RouteRepository

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

generate() public method

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

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

show() public method

public show ( $id ) : Illuminate\View\View
$id
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