Method | Description | |
---|---|---|
disableFilter ( string $filter ) | Disables Doctrine filter | |
enableFilter ( string $filter ) : Doctrine\ORM\Query\Filter\SQLFilter | Enables Doctrine filter | |
getAllClassesForQueryBuilder ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array | Returns the root and association classes used in given QueryBuilder | |
getAllMetadata ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadata[] | ||
getClassMetadata ( string $className ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | Returns class metadata for given class name | |
getClassMetadataForEntity ( object $entity ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | Returns class metadata for given object | |
getDoctrineFilters ( ) : Doctrine\ORM\Query\FilterCollection | Gets the enabled filters. | |
getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager | object | Returns Doctrine manager | |
getMetadataFactory ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadataFactory | ||
hasClassMetadataForEntity ( object $object ) : boolean | Returns true if entity is managed through Doctrine, false otherwise | |
truncateTable ( string $className ) | Truncates table |
public disableFilter ( string $filter ) | ||
$filter | string | Filter name |
public enableFilter ( string $filter ) : Doctrine\ORM\Query\Filter\SQLFilter | ||
$filter | string | |
return | Doctrine\ORM\Query\Filter\SQLFilter |
public getAllClassesForQueryBuilder ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array | ||
$queryBuilder | Doctrine\ORM\QueryBuilder | |
return | array |
public getAllMetadata ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadata[] | ||
return | Doctrine\Common\Persistence\Mapping\ClassMetadata[] |
public getClassMetadata ( string $className ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | ||
$className | string | |
return | Doctrine\Common\Persistence\Mapping\ClassMetadata |
public getClassMetadataForEntity ( object $entity ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | ||
$entity | object | |
return | Doctrine\Common\Persistence\Mapping\ClassMetadata |
public getDoctrineFilters ( ) : Doctrine\ORM\Query\FilterCollection | ||
return | Doctrine\ORM\Query\FilterCollection | The active filter collection. |
public getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager | object | ||
return | Doctrine\Common\Persistence\ObjectManager | object |
public getMetadataFactory ( ) : Doctrine\Common\Persistence\Mapping\ClassMetadataFactory | ||
return | Doctrine\Common\Persistence\Mapping\ClassMetadataFactory |
public hasClassMetadataForEntity ( object $object ) : boolean | ||
$object | object | |
return | boolean |
public truncateTable ( string $className ) | ||
$className | string |