Doctrine


Doctrine\ORM\Mapping\Driver\DatabaseDriver
/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php at line 41

Class DatabaseDriver

DatabaseDriver
All Implemented Interfaces:
Driver

public class DatabaseDriver

The DatabaseDriver reverse engineers the mapping metadata from a database.

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Guilherme Blanco
Jonathan Wage

Constructor Summary

DatabaseDriver(mixed schemaManager, AnnotationReader reader)

Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.

Method Summary
void

getAllClassNames()

{@inheritDoc}

void

isTransient(mixed className)

{@inheritdoc}

void

loadMetadataForClass(mixed className, mixed metadata)

{@inheritdoc}

Constructor Detail

/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php at line 52

DatabaseDriver

public DatabaseDriver(mixed schemaManager, AnnotationReader reader)

Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.

Parameters:
reader - The AnnotationReader to use.

Method Detail

/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php at line 158

getAllClassNames

public void getAllClassNames()


/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php at line 150

isTransient

public void isTransient(mixed className)


/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php at line 60

loadMetadataForClass

public void loadMetadataForClass(mixed className, mixed metadata)


Doctrine