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

Since: 1.0
Author: Benjamin Eberlei ([email protected])
Author: Jonathan H. Wage ([email protected])
Author: Roman Borschel ([email protected])
Inheritance: extends Doctrine\Common\Persistence\Mapping\Driver\FileDriver
Datei anzeigen Open project: doctrine/couchdb-odm Class Usage Examples

Public Methods

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

Protected Methods

Method Description
loadMappingFile ( $file )

Private Methods

Method Description
getCascadeMode ( SimpleXMLElement $cascadeElement ) : integer Gathers a list of cascade options found in the given cascade element.

Method Details

__construct() public method

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

loadMappingFile() protected method

protected loadMappingFile ( $file )

loadMetadataForClass() public method

public loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata