PHP 클래스 App\Http\Controllers\PermissionsController

상속: extends Controller
파일 보기 프로젝트 열기: sroutier/laravel-5.1-enterprise-starter-kit

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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 create ( ) : Illuminate\View\View
리턴 Illuminate\View\View

destroy() 공개 메소드

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

disable() 공개 메소드

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

disableSelected() 공개 메소드

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

edit() 공개 메소드

public edit ( $id ) : Illuminate\View\View
$id
리턴 Illuminate\View\View

enable() 공개 메소드

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

enableSelected() 공개 메소드

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

generate() 공개 메소드

public generate ( ) : Illuminate\View\View
리턴 Illuminate\View\View

getModalDelete() 공개 메소드

Delete Confirm
public getModalDelete ( integer $id ) : View
$id integer
리턴 View

index() 공개 메소드

public index ( ) : Illuminate\View\View
리턴 Illuminate\View\View

show() 공개 메소드

public show ( $id ) : Illuminate\View\View
$id
리턴 Illuminate\View\View

store() 공개 메소드

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

update() 공개 메소드

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