PHP Class Elcodi\Admin\ProductBundle\Form\Type\PackType

Inheritance: extends Symfony\Component\Form\AbstractType, use trait Elcodi\Component\EntityTranslator\EventListener\Traits\EntityTranslatableFormTrait, use trait Elcodi\Component\Core\Factory\Traits\FactoryTrait
Afficher le fichier Open project: elcodi/bamboo

Protected Properties

Свойство Type Description
$categoryNamespace string Category namespace
$imageNamespace string Image namespace
$manufacturerNamespace string Manufacturer namespace
$purchasableNameResolver Elcodi\Component\Product\NameResolver\Interfaces\PurchasableNameResolverInterface Purchasable name resolver
$purchasableNamespace string Purchasable namespace

Méthodes publiques

Méthode Description
__construct ( Elcodi\Component\Product\NameResolver\Interfaces\PurchasableNameResolverInterface $purchasableNameResolver, string $purchasableNamespace, string $manufacturerNamespace, string $categoryNamespace, string $imageNamespace ) Construct
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options ) Buildform function
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) Configures the options for this type.
getBlockPrefix ( ) : string Returns the prefix of the template block name for this type.
getName ( ) : string Return unique name for this form

Method Details

__construct() public méthode

Construct
public __construct ( Elcodi\Component\Product\NameResolver\Interfaces\PurchasableNameResolverInterface $purchasableNameResolver, string $purchasableNamespace, string $manufacturerNamespace, string $categoryNamespace, string $imageNamespace )
$purchasableNameResolver Elcodi\Component\Product\NameResolver\Interfaces\PurchasableNameResolverInterface Purchasable name resolver
$purchasableNamespace string Purchasable namespace
$manufacturerNamespace string Manufacturer namespace
$categoryNamespace string Category namespace
$imageNamespace string Image namespace

buildForm() public méthode

Buildform function
public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface the formBuilder
$options array the options for this form

configureOptions() public méthode

Configures the options for this type.
public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver The resolver for the options.

getBlockPrefix() public méthode

The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
public getBlockPrefix ( ) : string
Résultat string The prefix of the template block name

getName() public méthode

Return unique name for this form
Deprecation: Deprecated since Symfony 2.8, to be removed from Symfony 3.
public getName ( ) : string
Résultat string

Property Details

$categoryNamespace protected_oe property

Category namespace
protected string $categoryNamespace
Résultat string

$imageNamespace protected_oe property

Image namespace
protected string $imageNamespace
Résultat string

$manufacturerNamespace protected_oe property

Manufacturer namespace
protected string $manufacturerNamespace
Résultat string

$purchasableNameResolver protected_oe property

Purchasable name resolver
protected PurchasableNameResolverInterface,Elcodi\Component\Product\NameResolver\Interfaces $purchasableNameResolver
Résultat Elcodi\Component\Product\NameResolver\Interfaces\PurchasableNameResolverInterface

$purchasableNamespace protected_oe property

Purchasable namespace
protected string $purchasableNamespace
Résultat string