EC-CUBE4 APIドキュメント

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

Methods

__construct()

ProductClassEditType constructor.

public __construct( $entityManager : EntityManagerInterface , $validator : ValidatorInterface , $baseInfoRepository : BaseInfoRepository ) : mixed
Parameters
$entityManager : EntityManagerInterface
$validator : ValidatorInterface
$baseInfoRepository : BaseInfoRepository
Return values
mixed

buildForm()

{@inheritdoc}

public buildForm( $builder : FormBuilderInterface , $options : array ) : mixed
Parameters
$builder : FormBuilderInterface
$options : array
Return values
mixed

configureOptions()

{@inheritdoc}

public configureOptions( $resolver : OptionsResolver ) : mixed
Parameters
$resolver : OptionsResolver
Return values
mixed

setTaxRate()

各行の個別税率設定の制御.

protected setTaxRate( $builder : FormBuilderInterface ) : mixed
Parameters
$builder : FormBuilderInterface
Return values
mixed

setCheckbox()

各行の登録チェックボックスの制御.

protected setCheckbox( $builder : FormBuilderInterface ) : mixed
Parameters
$builder : FormBuilderInterface
Return values
mixed

addValidations()

protected addValidations( $builder : FormBuilderInterface ) : mixed
Parameters
$builder : FormBuilderInterface
Return values
mixed

addErrors()

protected addErrors( $key : mixed , $form : FormInterface , $errors : ConstraintViolationListInterface ) : mixed
Parameters
$key : mixed
$form : FormInterface
$errors : ConstraintViolationListInterface
Return values
mixed

Search results