PHP 클래스 Elcodi\Store\CartBundle\Form\Type\CartType

상속: extends Symfony\Component\Form\AbstractType, use trait Elcodi\Component\Core\Factory\Traits\FactoryTrait
파일 보기 프로젝트 열기: elcodi/bamboo

보호된 프로퍼티들

프로퍼티 타입 설명
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router ) Constructor
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

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router )
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

buildForm() 공개 메소드

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() 공개 메소드

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

getBlockPrefix() 공개 메소드

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

getName() 공개 메소드

Return unique name for this form
사용 중단: Deprecated since Symfony 2.8, to be removed from Symfony 3.
public getName ( ) : string
리턴 string

프로퍼티 상세

$router 보호되어 있는 프로퍼티

Router
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $router
리턴 Symfony\Component\Routing\Generator\UrlGeneratorInterface