PHP Класс App\Http\Controllers\AccountController

Наследование: extends Controller
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer
$paymentService App\services\PaymentService
$referralRepository App\Ninja\Repositories\ReferralRepository
$userMailer App\Ninja\Mailers\UserMailer

Открытые методы

Метод Описание
__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

Приватные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

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 cancelAccount ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

changePlan() публичный Метод

public changePlan ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

checkEmail() публичный Метод

public checkEmail ( ) : string
Результат string

demo() публичный Метод

public demo ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

doRegister() публичный Метод

public doRegister ( ) : mixed
Результат mixed

doSection() публичный Метод

public doSection ( $section ) : Illuminate\Http\RedirectResponse
$section
Результат Illuminate\Http\RedirectResponse

getSearchData() публичный Метод

public getSearchData ( ) : Illuminate\Http\JsonResponse
Результат Illuminate\Http\JsonResponse

getStarted() публичный Метод

public getStarted ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

previewEmail() публичный Метод

public previewEmail ( TemplateService $templateService ) : Illuminate\Http\Response
$templateService App\services\TemplateService
Результат Illuminate\Http\Response

redirectLegacy() публичный Метод

public redirectLegacy ( $section, boolean $subSection = false ) : Illuminate\Http\RedirectResponse
$section
$subSection boolean
Результат Illuminate\Http\RedirectResponse

resendConfirmation() публичный Метод

public resendConfirmation ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

savePaymentGatewayLimits() публичный Метод

public savePaymentGatewayLimits ( ) : Illuminate\Http\RedirectResponse
Результат Illuminate\Http\RedirectResponse

saveUserDetails() публичный Метод

public saveUserDetails ( )

setTrashVisible() публичный Метод

public setTrashVisible ( $entityType, $visible ) : mixed
$entityType
$visible
Результат mixed

showSection() публичный Метод

public showSection ( boolean $section = false ) : Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse
$section boolean
Результат Illuminate\Contracts\View\View | Illuminate\Http\RedirectResponse

showUserDetails() публичный Метод

public showUserDetails ( ) : Illuminate\Contracts\View\View
Результат Illuminate\Contracts\View\View

startTrial() публичный Метод

public startTrial ( $plan ) : Illuminate\Http\RedirectResponse
$plan
Результат Illuminate\Http\RedirectResponse

submitSignup() публичный Метод

public submitSignup ( ) : string
Результат string

updateDetails() публичный Метод

public updateDetails ( UpdateAccountRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\UpdateAccountRequest
Результат Illuminate\Http\RedirectResponse

Описание свойств

$accountRepo защищенное свойство

protected AccountRepository,App\Ninja\Repositories $accountRepo
Результат App\Ninja\Repositories\AccountRepository

$contactMailer защищенное свойство

protected ContactMailer,App\Ninja\Mailers $contactMailer
Результат App\Ninja\Mailers\ContactMailer

$paymentService защищенное свойство

protected PaymentService,App\Services $paymentService
Результат App\services\PaymentService

$referralRepository защищенное свойство

protected ReferralRepository,App\Ninja\Repositories $referralRepository
Результат App\Ninja\Repositories\ReferralRepository

$userMailer защищенное свойство

protected UserMailer,App\Ninja\Mailers $userMailer
Результат App\Ninja\Mailers\UserMailer