PHP 클래스 Stevemo\Cpanel\Controllers\GroupsController

상속: extends BaseController
파일 보기 프로젝트 열기: stevemo/cpanel

보호된 프로퍼티들

프로퍼티 타입 설명
$form Stevemo\Cpanel\Group\Form\GroupFormInterface
$groups Stevemo\Cpanel\Group\Repo\CpanelGroupInterface
$permissions Stevemo\Cpanel\Permission\Repo\PermissionInterface

공개 메소드들

메소드 설명
__construct ( Stevemo\Cpanel\Group\Repo\CpanelGroupInterface $groups, Stevemo\Cpanel\Group\Form\GroupFormInterface $form, Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions )
create ( ) : Illuminate\View\View Display create a new group form
destroy ( $id ) : Illuminate\Http\RedirectResponse Remove the specified resource from storage.
edit ( $id ) : Illuminate\Http\RedirectResponse | Illuminate\View\View Show the form for editing the specified resource.
index ( ) : Illuminate\View\View Display all the groups
store ( ) : Illuminate\Http\RedirectResponse Store a newly created resource in storage.
update ( $id ) : Illuminate\Http\RedirectResponse Update the specified resource in storage.

메소드 상세

__construct() 공개 메소드

public __construct ( Stevemo\Cpanel\Group\Repo\CpanelGroupInterface $groups, Stevemo\Cpanel\Group\Form\GroupFormInterface $form, Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions )
$groups Stevemo\Cpanel\Group\Repo\CpanelGroupInterface
$form Stevemo\Cpanel\Group\Form\GroupFormInterface
$permissions Stevemo\Cpanel\Permission\Repo\PermissionInterface

create() 공개 메소드

Display create a new group form
저자: Steve Montambeault
public create ( ) : Illuminate\View\View
리턴 Illuminate\View\View

destroy() 공개 메소드

Remove the specified resource from storage.
저자: Steve Montambeault
public destroy ( $id ) : Illuminate\Http\RedirectResponse
$id
리턴 Illuminate\Http\RedirectResponse

edit() 공개 메소드

Show the form for editing the specified resource.
저자: Steve Montambeault
public edit ( $id ) : Illuminate\Http\RedirectResponse | Illuminate\View\View
$id
리턴 Illuminate\Http\RedirectResponse | Illuminate\View\View

index() 공개 메소드

Display all the groups
저자: Steve Montambeault
public index ( ) : Illuminate\View\View
리턴 Illuminate\View\View

store() 공개 메소드

Store a newly created resource in storage.
저자: Steve Montambeault
public store ( ) : Illuminate\Http\RedirectResponse
리턴 Illuminate\Http\RedirectResponse

update() 공개 메소드

Update the specified resource in storage.
저자: Steve Montambeault
public update ( $id ) : Illuminate\Http\RedirectResponse
$id
리턴 Illuminate\Http\RedirectResponse

프로퍼티 상세

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

protected GroupFormInterface,Stevemo\Cpanel\Group\Form $form
리턴 Stevemo\Cpanel\Group\Form\GroupFormInterface

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

protected CpanelGroupInterface,Stevemo\Cpanel\Group\Repo $groups
리턴 Stevemo\Cpanel\Group\Repo\CpanelGroupInterface

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

protected PermissionInterface,Stevemo\Cpanel\Permission\Repo $permissions
리턴 Stevemo\Cpanel\Permission\Repo\PermissionInterface