PHP Class Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver

Since: 1.0
Inheritance: extends Doctrine\Common\Persistence\Mapping\Driver\FileDriver
Afficher le fichier Open project: doctrine/mongodb-odm Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $locator, $fileExtension = self::DEFAULT_FILE_EXTENSION ) {@inheritDoc}
loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) {@inheritDoc}

Méthodes protégées

Méthode Description
loadMappingFile ( $file ) {@inheritDoc}

Private Methods

Méthode Description
addEmbedMapping ( ClassMetadataInfo $class, $embed, $type )
addFieldMapping ( ClassMetadataInfo $class, $mapping )
addIndex ( ClassMetadataInfo $class, SimpleXmlElement $xmlIndex )
addReferenceMapping ( ClassMetadataInfo $class, $reference, $type )
getPartialFilterExpression ( SimpleXMLElement $fields )
setShardKey ( ClassMetadataInfo $class, SimpleXmlElement $xmlShardkey )

Method Details

__construct() public méthode

{@inheritDoc}
public __construct ( $locator, $fileExtension = self::DEFAULT_FILE_EXTENSION )

loadMappingFile() protected méthode

{@inheritDoc}
protected loadMappingFile ( $file )

loadMetadataForClass() public méthode

{@inheritDoc}
public loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata