PHP Class App\Http\Controllers\PermissionsController

Inheritance: extends Controller
Afficher le fichier Open project: sroutier/laravel-5.1-enterprise-starter-kit

Méthodes publiques

Méthode 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 méthode

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 méthode

public create ( ) : Illuminate\View\View
Résultat Illuminate\View\View

destroy() public méthode

public destroy ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
Résultat Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

disable() public méthode

public disable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
Résultat Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

disableSelected() public méthode

public disableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
$request Illuminate\Http\Request
Résultat Illuminate\View\View

edit() public méthode

public edit ( $id ) : Illuminate\View\View
$id
Résultat Illuminate\View\View

enable() public méthode

public enable ( $id ) : Illuminate\Http\RedirectResponse | Redirector
$id
Résultat Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

enableSelected() public méthode

public enableSelected ( Illuminate\Http\Request $request ) : Illuminate\View\View
$request Illuminate\Http\Request
Résultat Illuminate\View\View

generate() public méthode

public generate ( ) : Illuminate\View\View
Résultat Illuminate\View\View

getModalDelete() public méthode

Delete Confirm
public getModalDelete ( integer $id ) : View
$id integer
Résultat View

index() public méthode

public index ( ) : Illuminate\View\View
Résultat Illuminate\View\View

show() public méthode

public show ( $id ) : Illuminate\View\View
$id
Résultat Illuminate\View\View

store() public méthode

public store ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
Résultat Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

update() public méthode

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