PHP Класс Elcodi\Admin\PageBundle\Form\EventListener\PermanentPageSubscriber

Наследование: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект

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

Метод Описание
getSubscribedEvents ( ) : array Gets the events which the class is subscribed to.
preSetData ( Symfony\Component\Form\FormEvent $event ) This method is called during the Form::setData() call and removes the options that are not allowed for persistent pages.

Описание методов

getSubscribedEvents() публичный статический Метод

Gets the events which the class is subscribed to.
public static getSubscribedEvents ( ) : array
Результат array The array of events and methods to call.

preSetData() публичный Метод

This method is called during the Form::setData() call and removes the options that are not allowed for persistent pages.
public preSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent The form event launched.