PHP 클래스 ForkCMS\Bundle\InstallerBundle\Form\Type\DatabaseType

상속: extends Symfony\Component\Form\AbstractType
파일 보기 프로젝트 열기: forkcms/forkcms

공개 메소드들

메소드 설명
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
checkDatabaseConnection ( InstallationData $data, Symfony\Component\Validator\ExecutionContextInterface $context ) Validate if a database connection can be made
getName ( )
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )

메소드 상세

buildForm() 공개 메소드

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

checkDatabaseConnection() 공개 메소드

Validate if a database connection can be made
public checkDatabaseConnection ( InstallationData $data, Symfony\Component\Validator\ExecutionContextInterface $context )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData The form data
$context Symfony\Component\Validator\ExecutionContextInterface The forms validation context

getName() 공개 메소드

public getName ( )

setDefaultOptions() 공개 메소드

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