PHP Class Networking\InitCmsBundle\Form\Type\AutocompleteType

Author: Yorkie Chadwick ([email protected])
Inheritance: extends Symfony\Component\Form\AbstractType
Afficher le fichier Open project: networking/init-cms-bundle

Protected Properties

Свойство Type Description
$hints

Méthodes publiques

Méthode Description
__construct ( Doctrine\Common\Persistence\ManagerRegistry $registry, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null, Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface $choiceListFactory = null ) AutocompleteType constructor.
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
getLoader ( Doctrine\Common\Persistence\ObjectManager $manager, Doctrine\ORM\QueryBuilder $queryBuilder, string $class, $hints = [] ) : ORMQueryBuilderLoader Return the default loader object.
getName ( ) : string
getQueryBuilderPartsForCachingHash ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array We consider two query builders with an equal SQL string and equal parameters to be equal.

Private Methods

Méthode Description
parameterToArray ( Doctrine\ORM\Query\Parameter $parameter ) : array Converts a query parameter to an array.

Method Details

__construct() public méthode

AutocompleteType constructor.
public __construct ( Doctrine\Common\Persistence\ManagerRegistry $registry, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null, Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface $choiceListFactory = null )
$registry Doctrine\Common\Persistence\ManagerRegistry
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccessorInterface
$choiceListFactory Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface

configureOptions() public méthode

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getLoader() public méthode

Return the default loader object.
public getLoader ( Doctrine\Common\Persistence\ObjectManager $manager, Doctrine\ORM\QueryBuilder $queryBuilder, string $class, $hints = [] ) : ORMQueryBuilderLoader
$manager Doctrine\Common\Persistence\ObjectManager
$queryBuilder Doctrine\ORM\QueryBuilder
$class string
Résultat Networking\InitCmsBundle\Form\ORMQueryBuilderLoader

getName() public méthode

public getName ( ) : string
Résultat string

getQueryBuilderPartsForCachingHash() public méthode

We consider two query builders with an equal SQL string and equal parameters to be equal.
public getQueryBuilderPartsForCachingHash ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array
$queryBuilder Doctrine\ORM\QueryBuilder
Résultat array

Property Details

$hints protected_oe property

protected $hints