PHP Класс ForkCMS\Bundle\InstallerBundle\Form\Type\ModulesType

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

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

Метод Описание
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) Make sure the required modules are checked and can't be desalbed
getName ( )
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )

Защищенные методы

Метод Описание
getInstallableModules ( ) : array Get all the modules that can be installed
removeHiddenModules ( array &$modules ) Remove the hidden modules from the modules array

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

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

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array

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

Make sure the required modules are checked and can't be desalbed
public finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
$view Symfony\Component\Form\FormView The FormView generated by Symfony
$form Symfony\Component\Form\FormInterface The form itself
$options array The array options

getInstallableModules() защищенный Метод

Get all the modules that can be installed
protected getInstallableModules ( ) : array
Результат array The modules

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

public getName ( )

removeHiddenModules() защищенный Метод

Remove the hidden modules from the modules array
protected removeHiddenModules ( array &$modules )
$modules array The modules we wan't to clean up

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

public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolverInterface