PHP Класс Elcodi\Admin\PageBundle\Form\Type\PageType

Наследование: extends Symfony\Component\Form\AbstractType, use trait Elcodi\Component\EntityTranslator\EventListener\Traits\EntityTranslatableFormTrait, use trait Elcodi\Component\Core\Factory\Traits\FactoryTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$permanentPageSubscriber Symfony\Component\EventDispatcher\EventSubscriberInterface A permanent page form event subscriber.

Открытые методы

Метод Описание
__construct ( Symfony\Component\EventDispatcher\EventSubscriberInterface $permanentPageSubscriber ) Builds the page edit form.
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() публичный метод

Builds the page edit form.
public __construct ( Symfony\Component\EventDispatcher\EventSubscriberInterface $permanentPageSubscriber )
$permanentPageSubscriber Symfony\Component\EventDispatcher\EventSubscriberInterface A permanent page event subscriber.

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

Описание свойств

$permanentPageSubscriber защищенное свойство

A permanent page form event subscriber.
protected EventSubscriberInterface,Symfony\Component\EventDispatcher $permanentPageSubscriber
Результат Symfony\Component\EventDispatcher\EventSubscriberInterface