PHP 클래스 App\Http\Controllers\Backend\UserController

상속: extends BaseController
파일 보기 프로젝트 열기: qloog/laravel5-backend

보호된 프로퍼티들

프로퍼티 타입 설명
$permissions App\Contracts\Repositories\PermissionRepository
$roles App\Contracts\Repositories\RoleRepository
$users App\Contracts\Repositories\UserRepository

공개 메소드들

메소드 설명
__construct ( App\Contracts\Repositories\UserRepository $users, App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
changePassword ( $id, Illuminate\Http\Request $request ) : mixed
create ( ) : Illuminate\View\View Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\View\View Show the form for editing the specified resource.
index ( ) : Illuminate\View\View Display a listing of the resource.
show ( integer $id ) : Illuminate\View\View Display the specified resource.
store ( Illuminate\Http\Request $request ) : mixed Store a newly created resource in storage.
update ( integer $id, Illuminate\Http\Request $request ) : Illuminate\Http\Response Update the specified resource in storage.
updatePassword ( $id, Illuminate\Http\Request $request ) : mixed

메소드 상세

__construct() 공개 메소드

public __construct ( App\Contracts\Repositories\UserRepository $users, App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
$users App\Contracts\Repositories\UserRepository
$roles App\Contracts\Repositories\RoleRepository
$permissions App\Contracts\Repositories\PermissionRepository

changePassword() 공개 메소드

public changePassword ( $id, Illuminate\Http\Request $request ) : mixed
$id
$request Illuminate\Http\Request
리턴 mixed

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : Illuminate\View\View
리턴 Illuminate\View\View

destroy() 공개 메소드

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
리턴 Illuminate\Http\Response

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\View\View
$id integer
리턴 Illuminate\View\View

index() 공개 메소드

Display a listing of the resource.
public index ( ) : Illuminate\View\View
리턴 Illuminate\View\View

show() 공개 메소드

Display the specified resource.
public show ( integer $id ) : Illuminate\View\View
$id integer
리턴 Illuminate\View\View

store() 공개 메소드

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
리턴 mixed

update() 공개 메소드

Update the specified resource in storage.
public update ( integer $id, Illuminate\Http\Request $request ) : Illuminate\Http\Response
$id integer
$request Illuminate\Http\Request
리턴 Illuminate\Http\Response

updatePassword() 공개 메소드

public updatePassword ( $id, Illuminate\Http\Request $request ) : mixed
$id
$request Illuminate\Http\Request
리턴 mixed

프로퍼티 상세

$permissions 보호되어 있는 프로퍼티

protected PermissionRepository,App\Contracts\Repositories $permissions
리턴 App\Contracts\Repositories\PermissionRepository

$roles 보호되어 있는 프로퍼티

protected RoleRepository,App\Contracts\Repositories $roles
리턴 App\Contracts\Repositories\RoleRepository

$users 보호되어 있는 프로퍼티

protected UserRepository,App\Contracts\Repositories $users
리턴 App\Contracts\Repositories\UserRepository