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

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

Public Methods

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

Protected Methods

Method Description
loadMappingFile ( $file ) {@inheritDoc}

Private Methods

Method 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 method

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

loadMappingFile() protected method

{@inheritDoc}
protected loadMappingFile ( $file )

loadMetadataForClass() public method

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