PHP 클래스 App\Http\Controllers\UserController

상속: extends Controller
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$accountRepo
$contactMailer
$userMailer
$userService

공개 메소드들

메소드 설명
__construct ( AccountRepository $accountRepo, ContactMailer $contactMailer, UserMailer $userMailer, UserService $userService )
bulk ( )
changePassword ( ) * public function logout() { if (Auth::check()) { if (!Auth::user()->registered) { $account = Auth::user()->account; $this->accountRepo->unlinkAccount($account); if ($account->company->accounts->count() == 1) { $account->company->forceDelete(); } $account->forceDelete(); } }
confirm ( string $code ) Attempt to confirm account with code
create ( ) Displays the form for account creation
edit ( $publicId )
forcePDFJS ( )
getDatatable ( )
index ( )
manageCompanies ( )
save ( $userPublicId = false ) Stores new account
saveSidebarState ( )
sendConfirmation ( $userPublicId )
setTheme ( )
store ( )
switchAccount ( $newUserId )
unlinkAccount ( $userAccountId, $userId )
update ( $publicId )

메소드 상세

__construct() 공개 메소드

public __construct ( AccountRepository $accountRepo, ContactMailer $contactMailer, UserMailer $userMailer, UserService $userService )
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer
$userMailer App\Ninja\Mailers\UserMailer
$userService App\services\UserService

bulk() 공개 메소드

public bulk ( )

changePassword() 공개 메소드

Auth::logout(); Session::flush(); return Redirect::to('/')->with('clearGuestKey', true); }
public changePassword ( )

confirm() 공개 메소드

Attempt to confirm account with code
public confirm ( string $code )
$code string

create() 공개 메소드

Displays the form for account creation
public create ( )

edit() 공개 메소드

public edit ( $publicId )

forcePDFJS() 공개 메소드

public forcePDFJS ( )

getDatatable() 공개 메소드

public getDatatable ( )

index() 공개 메소드

public index ( )

manageCompanies() 공개 메소드

public manageCompanies ( )

save() 공개 메소드

Stores new account
public save ( $userPublicId = false )

saveSidebarState() 공개 메소드

public saveSidebarState ( )

sendConfirmation() 공개 메소드

public sendConfirmation ( $userPublicId )

setTheme() 공개 메소드

public setTheme ( )

store() 공개 메소드

public store ( )

switchAccount() 공개 메소드

public switchAccount ( $newUserId )

unlinkAccount() 공개 메소드

public unlinkAccount ( $userAccountId, $userId )

update() 공개 메소드

public update ( $publicId )

프로퍼티 상세

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

protected $accountRepo

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

protected $contactMailer

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

protected $userMailer

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

protected $userService