EditController extends AbstractController
Table of Contents
Properties
$taxRuleService
protected
TaxRuleService
$taxRuleService
$deviceTypeRepository
protected
DeviceTypeRepository
$deviceTypeRepository
$productRepository
protected
ProductRepository
$productRepository
$categoryRepository
protected
CategoryRepository
$categoryRepository
$customerRepository
protected
CustomerRepository
$customerRepository
$serializer
protected
Serializer
$serializer
$deliveryRepository
protected
DeliveryRepository
$deliveryRepository
$purchaseFlow
protected
PurchaseFlow
$purchaseFlow
$orderRepository
protected
OrderRepository
$orderRepository
$orderNoProcessor
protected
OrderNoProcessor
$orderNoProcessor
$orderItemTypeRepository
protected
OrderItemTypeRepository
$orderItemTypeRepository
$orderStateMachine
protected
OrderStateMachine
$orderStateMachine
$orderStatusRepository
protected
OrderStatusRepository
$orderStatusRepository
$orderHelper
private
OrderHelper
$orderHelper
$eccubeConfig
protected
EccubeConfig
$eccubeConfig
$entityManager
protected
EntityManagerInterface
$entityManager
$translator
protected
TranslatorInterface
$translator
$formFactory
protected
FormFactoryInterface
$formFactory
$eventDispatcher
protected
EventDispatcherInterface
$eventDispatcher
$session
protected
Session
$session
Methods
__construct()
EditController constructor.
public
__construct(
$taxRuleService :
TaxRuleService
, $deviceTypeRepository :
DeviceTypeRepository
, $productRepository :
ProductRepository
, $categoryRepository :
CategoryRepository
, $customerRepository :
CustomerRepository
, $serializer :
SerializerInterface
, $deliveryRepository :
DeliveryRepository
, $orderPurchaseFlow :
PurchaseFlow
, $orderRepository :
OrderRepository
, $orderNoProcessor :
OrderNoProcessor
, $orderItemTypeRepository :
OrderItemTypeRepository
, $orderStatusRepository :
OrderStatusRepository
, $orderStateMachine :
OrderStateMachine
, $orderHelper :
OrderHelper
)
: mixed
Parameters
- $taxRuleService : TaxRuleService
- $deviceTypeRepository : DeviceTypeRepository
- $productRepository : ProductRepository
- $categoryRepository : CategoryRepository
- $customerRepository : CustomerRepository
- $serializer : SerializerInterface
- $deliveryRepository : DeliveryRepository
- $orderPurchaseFlow : PurchaseFlow
- $orderRepository : OrderRepository
- $orderNoProcessor : OrderNoProcessor
- $orderItemTypeRepository : OrderItemTypeRepository
- $orderStatusRepository : OrderStatusRepository
- $orderStateMachine : OrderStateMachine
- $orderHelper : OrderHelper
Return values
mixedindex()
受注登録/編集画面.
public
index(
$request :
Request
[, $id :
mixed
= null ]
, $router :
RouterInterface
)
: mixed
Parameters
- $request : Request
- $id : mixed = null
- $router : RouterInterface
Tags
Return values
mixedsearchCustomerHtml()
顧客情報を検索する.
public
searchCustomerHtml(
$request :
Request
[, $page_no :
int
= null ]
, $paginator :
Paginator
)
: JsonResponse
Parameters
- $request : Request
- $page_no : int = null
- $paginator : Paginator
Tags
Return values
JsonResponsesearchCustomerById()
顧客情報を検索する.
public
searchCustomerById(
$request :
Request
)
: JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponsesearchProduct()
public
searchProduct(
$request :
Request
[, $page_no :
mixed
= null ]
, $paginator :
Paginator
)
: mixed
Parameters
- $request : Request
- $page_no : mixed = null
- $paginator : Paginator
Tags
Return values
mixedsearchOrderItemType()
その他明細情報を取得
public
searchOrderItemType(
$request :
Request
)
: array
Parameters
- $request : Request
Tags
Return values
arraysetEccubeConfig()
public
setEccubeConfig(
$eccubeConfig :
EccubeConfig
)
: mixed
Parameters
- $eccubeConfig : EccubeConfig
Tags
Return values
mixedsetEntityManager()
public
setEntityManager(
$entityManager :
EntityManagerInterface
)
: mixed
Parameters
- $entityManager : EntityManagerInterface
Tags
Return values
mixedsetTranslator()
public
setTranslator(
$translator :
TranslatorInterface
)
: mixed
Parameters
- $translator : TranslatorInterface
Tags
Return values
mixedsetSession()
public
setSession(
$session :
SessionInterface
)
: mixed
Parameters
- $session : SessionInterface
Tags
Return values
mixedsetFormFactory()
public
setFormFactory(
$formFactory :
FormFactoryInterface
)
: mixed
Parameters
- $formFactory : FormFactoryInterface
Tags
Return values
mixedsetEventDispatcher()
public
setEventDispatcher(
$eventDispatcher :
EventDispatcherInterface
)
: mixed
Parameters
- $eventDispatcher : EventDispatcherInterface
Tags
Return values
mixedaddSuccess()
public
addSuccess(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedaddError()
public
addError(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedaddDanger()
public
addDanger(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedaddWarning()
public
addWarning(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedaddInfo()
public
addInfo(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedaddRequestError()
public
addRequestError(
$message :
mixed
[, $namespace :
mixed
= 'front' ]
)
: mixed
Parameters
- $message : mixed
- $namespace : mixed = 'front'
Return values
mixedclearMessage()
public
clearMessage(
)
: mixed
Return values
mixeddeleteMessage()
public
deleteMessage(
)
: mixed
Return values
mixedsetLoginTargetPath()
public
setLoginTargetPath(
$targetPath :
string
[, $namespace :
mixed
= null ]
)
: mixed
Parameters
- $targetPath : string
- $namespace : mixed = null
Return values
mixedforwardToRoute()
Forwards the request to another controller.
public
forwardToRoute(
$route :
string
[, $path :
array
= [] ]
[, $query :
array
= [] ]
)
: Response
Parameters
- $route : string
The name of the route
- $path : array = []
An array of path parameters
- $query : array = []
An array of query parameters
Return values
Response —A Response instance
isTokenValid()
Checks the validity of a CSRF token.
protected
isTokenValid(
)
: bool
if token is invalid, throws AccessDeniedHttpException.