PHP Class ForkCMS\Bundle\InstallerBundle\Form\Type\ModulesType

Inheritance: extends Symfony\Component\Form\AbstractType
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

Méthode Description
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 )

Méthodes protégées

Méthode Description
getInstallableModules ( ) : array Get all the modules that can be installed
removeHiddenModules ( array &$modules ) Remove the hidden modules from the modules array

Method Details

buildForm() public méthode

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

finishView() public méthode

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() protected méthode

Get all the modules that can be installed
protected getInstallableModules ( ) : array
Résultat array The modules

getName() public méthode

public getName ( )

removeHiddenModules() protected méthode

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

setDefaultOptions() public méthode

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