PHP Class App\Http\Controllers\User\Settings\GroupController

Inheritance: extends App\Http\Controllers\Controller
Show file Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$groups Xpressengine\User\Repositories\UserGroupRepositoryInterface

Public Methods

Method Description
__construct ( ) GroupController constructor.
create ( ) : Xpressengine\Presenter\RendererInterface show group creation page
destroy ( Request $request ) : Illuminate\Http\RedirectResponse delete group
edit ( $id ) : Xpressengine\Presenter\RendererInterface show group editing page
index ( ) : Xpressengine\Presenter\RendererInterface show group list
search ( null $keyword = null ) : Xpressengine\Presenter\RendererInterface search Group
store ( Request $request ) : Illuminate\Http\RedirectResponse store group
update ( Request $request, $id ) : Illuminate\Http\RedirectResponse postEdit
updateJoinGroup ( Request $request )

Method Details

__construct() public method

GroupController constructor.
public __construct ( )

create() public method

show group creation page
public create ( ) : Xpressengine\Presenter\RendererInterface
return Xpressengine\Presenter\RendererInterface

destroy() public method

delete group
public destroy ( Request $request ) : Illuminate\Http\RedirectResponse
$request Xpressengine\Http\Request
return Illuminate\Http\RedirectResponse

edit() public method

show group editing page
public edit ( $id ) : Xpressengine\Presenter\RendererInterface
$id
return Xpressengine\Presenter\RendererInterface

index() public method

show group list
public index ( ) : Xpressengine\Presenter\RendererInterface
return Xpressengine\Presenter\RendererInterface

store() public method

store group
public store ( Request $request ) : Illuminate\Http\RedirectResponse
$request Xpressengine\Http\Request
return Illuminate\Http\RedirectResponse

update() public method

postEdit
public update ( Request $request, $id ) : Illuminate\Http\RedirectResponse
$request Xpressengine\Http\Request
$id
return Illuminate\Http\RedirectResponse

updateJoinGroup() public method

public updateJoinGroup ( Request $request )
$request Xpressengine\Http\Request

Property Details

$groups protected property

protected UserGroupRepositoryInterface,Xpressengine\User\Repositories $groups
return Xpressengine\User\Repositories\UserGroupRepositoryInterface