PHP Class WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelper

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
显示文件 Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$registry Doctrine\Common\Persistence\ManagerRegistry

Public Methods

Method Description
__construct ( Doctrine\Common\Persistence\ManagerRegistry $registry ) Constructor
disableFilter ( $filter )
enableFilter ( $filter )
getAllClassesForQueryBuilder ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array
getAllMetadata ( )
getClassMetadata ( $className )
getClassMetadataForEntity ( $object )
getDoctrineFilters ( )
getEntityManager ( )
getMetadataFactory ( )
hasClassMetadataForEntity ( $object )
truncateTable ( $className )

Protected Methods

Method Description
addAssociationsTargetClasses ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, array &$classes )

Method Details

__construct() public method

Constructor
public __construct ( Doctrine\Common\Persistence\ManagerRegistry $registry )
$registry Doctrine\Common\Persistence\ManagerRegistry

addAssociationsTargetClasses() protected method

protected addAssociationsTargetClasses ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, array &$classes )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata
$classes array

disableFilter() public method

public disableFilter ( $filter )

enableFilter() public method

public enableFilter ( $filter )

getAllClassesForQueryBuilder() public method

public getAllClassesForQueryBuilder ( Doctrine\ORM\QueryBuilder $queryBuilder ) : array
$queryBuilder Doctrine\ORM\QueryBuilder
return array

getAllMetadata() public method

public getAllMetadata ( )

getClassMetadata() public method

public getClassMetadata ( $className )

getClassMetadataForEntity() public method

public getClassMetadataForEntity ( $object )

getDoctrineFilters() public method

public getDoctrineFilters ( )

getEntityManager() public method

public getEntityManager ( )

getMetadataFactory() public method

public getMetadataFactory ( )

hasClassMetadataForEntity() public method

public hasClassMetadataForEntity ( $object )

truncateTable() public method

public truncateTable ( $className )

Property Details

$registry protected_oe property

protected ManagerRegistry,Doctrine\Common\Persistence $registry
return Doctrine\Common\Persistence\ManagerRegistry