PHP Class App\Http\Controllers\AccountController

Inheritance: extends Controller
Mostra file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer
$paymentService App\services\PaymentService
$referralRepository App\Ninja\Repositories\ReferralRepository
$userMailer App\Ninja\Mailers\UserMailer

Public Methods

Method Description
__construct ( AccountRepository $accountRepo, UserMailer $userMailer, ContactMailer $contactMailer, ReferralRepository $referralRepository, PaymentService $paymentService ) AccountController constructor.
cancelAccount ( ) : Illuminate\Http\RedirectResponse
changePlan ( ) : Illuminate\Http\RedirectResponse
checkEmail ( ) : string
demo ( ) : Illuminate\Http\RedirectResponse
doRegister ( ) : mixed
doSection ( $section ) : Illuminate\Http\RedirectResponse
getSearchData ( ) : Illuminate\Http\JsonResponse
getStarted ( ) : Illuminate\Http\RedirectResponse
previewEmail ( TemplateService $templateService ) : Illuminate\Http\Response
redirectLegacy ( $section, boolean $subSection = false ) : Illuminate\Http\RedirectResponse
removeLogo ( ) : Illuminate\Http\RedirectResponse
resendConfirmation ( ) : Illuminate\Http\RedirectResponse
savePaymentGatewayLimits ( ) : Illuminate\Http\RedirectResponse
saveUserDetails ( )
setTrashVisible ( $entityType, $visible ) : mixed
showSection ( boolean $section = false ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
showUserDetails ( ) : Illuminate\Contracts\View\View
startTrial ( $plan ) : Illuminate\Http\RedirectResponse
submitSignup ( ) : string
updateDetails ( UpdateAccountRequest $request ) : Illuminate\Http\RedirectResponse

Private Methods

Method Description
saveAccountManagement ( ) : Illuminate\Http\RedirectResponse
saveClientPortal ( ) : Illuminate\Http\RedirectResponse
saveCustomizeDesign ( ) : Illuminate\Http\RedirectResponse
saveEmailSettings ( )
saveEmailTemplates ( ) : Illuminate\Http\RedirectResponse
saveInvoiceDesign ( ) : Illuminate\Http\RedirectResponse
saveInvoiceSettings ( )
saveLocalization ( ) : Illuminate\Http\RedirectResponse
saveNotifications ( ) : Illuminate\Http\RedirectResponse
saveOnlinePayments ( ) : Illuminate\Http\RedirectResponse
saveProducts ( ) : Illuminate\Http\RedirectResponse
saveTaxRates ( ) : Illuminate\Http\RedirectResponse
showAccountManagement ( ) : Illuminate\Contracts\View\View
showBankAccounts ( ) : Illuminate\Contracts\View\View
showClientPortal ( ) : Illuminate\Contracts\View\View
showCompanyDetails ( ) : Illuminate\Contracts\View\View
showInvoiceDesign ( $section ) : Illuminate\Contracts\View\View
showInvoiceSettings ( ) : Illuminate\Contracts\View\View
showLocalization ( ) : Illuminate\Contracts\View\View
showOnlinePayments ( ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
showPaymentTerms ( ) : Illuminate\Contracts\View\View
showProducts ( ) : Illuminate\Contracts\View\View
showSystemSettings ( ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
showTaxRates ( ) : Illuminate\Contracts\View\View
showTemplates ( ) : Illuminate\Contracts\View\View

Method Details

__construct() public method

AccountController constructor.
public __construct ( AccountRepository $accountRepo, UserMailer $userMailer, ContactMailer $contactMailer, ReferralRepository $referralRepository, PaymentService $paymentService )
$accountRepo App\Ninja\Repositories\AccountRepository
$userMailer App\Ninja\Mailers\UserMailer
$contactMailer App\Ninja\Mailers\ContactMailer
$referralRepository App\Ninja\Repositories\ReferralRepository
$paymentService App\services\PaymentService

cancelAccount() public method

public cancelAccount ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

changePlan() public method

public changePlan ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

checkEmail() public method

public checkEmail ( ) : string
return string

demo() public method

public demo ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

doRegister() public method

public doRegister ( ) : mixed
return mixed

doSection() public method

public doSection ( $section ) : Illuminate\Http\RedirectResponse
$section
return Illuminate\Http\RedirectResponse

getSearchData() public method

public getSearchData ( ) : Illuminate\Http\JsonResponse
return Illuminate\Http\JsonResponse

getStarted() public method

public getStarted ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

previewEmail() public method

public previewEmail ( TemplateService $templateService ) : Illuminate\Http\Response
$templateService App\services\TemplateService
return Illuminate\Http\Response

redirectLegacy() public method

public redirectLegacy ( $section, boolean $subSection = false ) : Illuminate\Http\RedirectResponse
$section
$subSection boolean
return Illuminate\Http\RedirectResponse

resendConfirmation() public method

public resendConfirmation ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

savePaymentGatewayLimits() public method

public savePaymentGatewayLimits ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

saveUserDetails() public method

public saveUserDetails ( )

setTrashVisible() public method

public setTrashVisible ( $entityType, $visible ) : mixed
$entityType
$visible
return mixed

showSection() public method

public showSection ( boolean $section = false ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
$section boolean
return Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse

showUserDetails() public method

public showUserDetails ( ) : Illuminate\Contracts\View\View
return Illuminate\Contracts\View\View

startTrial() public method

public startTrial ( $plan ) : Illuminate\Http\RedirectResponse
$plan
return Illuminate\Http\RedirectResponse

submitSignup() public method

public submitSignup ( ) : string
return string

updateDetails() public method

public updateDetails ( UpdateAccountRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\UpdateAccountRequest
return Illuminate\Http\RedirectResponse

Property Details

$accountRepo protected_oe property

protected AccountRepository,App\Ninja\Repositories $accountRepo
return App\Ninja\Repositories\AccountRepository

$contactMailer protected_oe property

protected ContactMailer,App\Ninja\Mailers $contactMailer
return App\Ninja\Mailers\ContactMailer

$paymentService protected_oe property

protected PaymentService,App\Services $paymentService
return App\services\PaymentService

$referralRepository protected_oe property

protected ReferralRepository,App\Ninja\Repositories $referralRepository
return App\Ninja\Repositories\ReferralRepository

$userMailer protected_oe property

protected UserMailer,App\Ninja\Mailers $userMailer
return App\Ninja\Mailers\UserMailer