PHP 클래스 Contao\CoreBundle\EventListener\DoctrineSchemaListener

파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( DcaSchemaProvider $provider ) Constructor.
onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $event ) Handles the Doctrine schema and overrides the indexes with a fixed length.
postGenerateSchema ( Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs $event ) Adds the Contao DCA information to the Doctrine schema.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( DcaSchemaProvider $provider )
$provider Contao\CoreBundle\Doctrine\Schema\DcaSchemaProvider

onSchemaIndexDefinition() 공개 메소드

Handles the Doctrine schema and overrides the indexes with a fixed length.
public onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $event )
$event Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs

postGenerateSchema() 공개 메소드

Adds the Contao DCA information to the Doctrine schema.
public postGenerateSchema ( Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs $event )
$event Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs