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

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

Protected Properties

Property Type Description
$handler Xpressengine\User\UserHandler

Public Methods

Method Description
__construct ( UserHandler $handler ) UserController constructor.
create ( ) : Xpressengine\Presenter\RendererInterface show user creation page
deleteUser ( ) : Illuminate\Http\RedirectResponse delete user
edit ( $id ) : Xpressengine\Presenter\RendererInterface show user editing page
getMailList ( ) : Xpressengine\Presenter\RendererInterface response user's email list
index ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface index. show user list
postAddMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface add email
postConfirmMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface confirm email
postDeleteMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface postDeleteMail
search ( null $keyword = null ) : Xpressengine\Presenter\RendererInterface search user
store ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse store user
update ( $id, Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse update user

Protected Methods

Method Description
getGroupInfo ( $groupList ) : array getGroupInfo

Method Details

__construct() public method

UserController constructor.
public __construct ( UserHandler $handler )
$handler Xpressengine\User\UserHandler

create() public method

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

deleteUser() public method

delete user
public deleteUser ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

edit() public method

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

getGroupInfo() protected method

getGroupInfo
protected getGroupInfo ( $groupList ) : array
$groupList
return array

getMailList() public method

response user's email list
public getMailList ( ) : Xpressengine\Presenter\RendererInterface
return Xpressengine\Presenter\RendererInterface

index() public method

index. show user list
public index ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface
$request Illuminate\Http\Request
return Xpressengine\Presenter\RendererInterface

postAddMail() public method

add email
public postAddMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface
$request Illuminate\Http\Request
return Xpressengine\Presenter\RendererInterface

postConfirmMail() public method

confirm email
public postConfirmMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface
$request Illuminate\Http\Request
return Xpressengine\Presenter\RendererInterface

postDeleteMail() public method

postDeleteMail
public postDeleteMail ( Illuminate\Http\Request $request ) : Xpressengine\Presenter\RendererInterface
$request Illuminate\Http\Request
return Xpressengine\Presenter\RendererInterface

store() public method

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

update() public method

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

Property Details

$handler protected property

protected UserHandler,Xpressengine\User $handler
return Xpressengine\User\UserHandler