ProductClassEditType extends AbstractType
Table of Contents
$entityManager | EntityManagerInterface | |
---|---|---|
$validator | ValidatorInterface | |
$baseInfoRepository | BaseInfoRepository | |
__construct() | ProductClassEditType constructor. | mixed |
buildForm() | {@inheritdoc} | mixed |
configureOptions() | {@inheritdoc} | mixed |
setTaxRate() | 各行の個別税率設定の制御. | mixed |
setCheckbox() | 各行の登録チェックボックスの制御. | mixed |
addValidations() | mixed | |
addErrors() | mixed |
Properties
$entityManager
protected
EntityManagerInterface
$entityManager
$validator
protected
ValidatorInterface
$validator
$baseInfoRepository
protected
BaseInfoRepository
$baseInfoRepository
Methods
__construct()
ProductClassEditType constructor.
public
__construct(
$entityManager :
EntityManagerInterface
, $validator :
ValidatorInterface
, $baseInfoRepository :
BaseInfoRepository
)
: mixed
Parameters
- $entityManager : EntityManagerInterface
- $validator : ValidatorInterface
- $baseInfoRepository : BaseInfoRepository
Return values
mixedbuildForm()
{@inheritdoc}
public
buildForm(
$builder :
FormBuilderInterface
, $options :
array
)
: mixed
Parameters
- $builder : FormBuilderInterface
- $options : array
Return values
mixedconfigureOptions()
{@inheritdoc}
public
configureOptions(
$resolver :
OptionsResolver
)
: mixed
Parameters
- $resolver : OptionsResolver
Return values
mixedsetTaxRate()
各行の個別税率設定の制御.
protected
setTaxRate(
$builder :
FormBuilderInterface
)
: mixed
Parameters
- $builder : FormBuilderInterface
Return values
mixedsetCheckbox()
各行の登録チェックボックスの制御.
protected
setCheckbox(
$builder :
FormBuilderInterface
)
: mixed
Parameters
- $builder : FormBuilderInterface
Return values
mixedaddValidations()
protected
addValidations(
$builder :
FormBuilderInterface
)
: mixed
Parameters
- $builder : FormBuilderInterface
Return values
mixedaddErrors()
protected
addErrors(
$key :
mixed
, $form :
FormInterface
, $errors :
ConstraintViolationListInterface
)
: mixed
Parameters
- $key : mixed
- $form : FormInterface
- $errors : ConstraintViolationListInterface