PHP Класс Doctrine\ODM\CouchDB\Configuration

С версии: 1.0
Автор: Benjamin Eberlei ([email protected])
Автор: Lukas Kahwe Smith ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addDesignDocument ( string $name, string $className, array $options )
addDocumentNamespace ( string $alias, string $namespace ) Adds a namespace under a certain alias.
getAllOrNothingFlush ( ) : boolean
getAutoGenerateProxyClasses ( )
getDesignDocument ( string $name ) : array
getDesignDocumentNames ( ) : array
getDocumentNamespace ( string $documentNamespaceAlias ) : string Resolves a registered namespace alias to the full namespace.
getLuceneHandlerName ( )
getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache Gets the cache driver implementation that is used for metadata caching.
getMetadataDriverImpl ( ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver Gets the cache driver implementation that is used for the mapping metadata.
getMetadataResolverImpl ( )
getMigrations ( ) : Doctrine\ODM\CouchDB\Migrations\NullMigration;
getProxyDir ( ) : string Gets the directory where Doctrine generates any necessary proxy class files.
getProxyNamespace ( ) : string Gets the namespace for Doctrine proxy class files.
getUUIDGenerationBufferSize ( ) : integer Gets the default UUID Generator buffer size
getValidateDoctrineMetadata ( ) : boolean Gets if all CouchDB document metadata should be validated on read
newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver Add a new default annotation driver with a correctly configured annotation reader.
setAllOrNothingFlush ( boolean $allOrNothing )
setAutoGenerateProxyClasses ( $bool )
setDocumentNamespaces ( array $documentNamespaces ) : void Set the document alias map
setLuceneHandlerName ( $handlerName = '_fti' )
setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl ) Sets the cache driver implementation that is used for metadata caching.
setMetadataDriverImpl ( Doctrine\Common\Persistence\Mapping\Driver\MappingDriver $driverImpl ) Sets the cache driver implementation that is used for metadata caching.
setMetadataResolverImpl ( Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver $resolver )
setMigrations ( Doctrine\ODM\CouchDB\Migrations\DocumentMigration $migration )
setProxyDir ( string $dir ) Sets the directory where Doctrine generates any necessary proxy class files.
setProxyNamespace ( string $namespace ) Sets the namespace for Doctrine proxy class files.
setUUIDGenerationBufferSize ( integer $UUIDGenerationBufferSize ) Sets the default UUID Generator buffer size
setValidateDoctrineMetadata ( boolean $validateDoctrineMetadata ) Sets if all CouchDB document metadata should be validated on read

Описание методов

addDesignDocument() публичный Метод

public addDesignDocument ( string $name, string $className, array $options )
$name string
$className string
$options array

addDocumentNamespace() публичный Метод

Adds a namespace under a certain alias.
public addDocumentNamespace ( string $alias, string $namespace )
$alias string
$namespace string

getAllOrNothingFlush() публичный Метод

public getAllOrNothingFlush ( ) : boolean
Результат boolean

getAutoGenerateProxyClasses() публичный Метод

getDesignDocument() публичный Метод

public getDesignDocument ( string $name ) : array
$name string
Результат array

getDesignDocumentNames() публичный Метод

public getDesignDocumentNames ( ) : array
Результат array

getDocumentNamespace() публичный Метод

Resolves a registered namespace alias to the full namespace.
public getDocumentNamespace ( string $documentNamespaceAlias ) : string
$documentNamespaceAlias string
Результат string

getLuceneHandlerName() публичный Метод

getMetadataCacheImpl() публичный Метод

Gets the cache driver implementation that is used for metadata caching.
public getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache
Результат Doctrine\Common\Cache\Cache

getMetadataDriverImpl() публичный Метод

Gets the cache driver implementation that is used for the mapping metadata.
public getMetadataDriverImpl ( ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
Результат Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

getMetadataResolverImpl() публичный Метод

getMigrations() публичный Метод

public getMigrations ( ) : Doctrine\ODM\CouchDB\Migrations\NullMigration;
Результат Doctrine\ODM\CouchDB\Migrations\NullMigration;

getProxyDir() публичный Метод

Gets the directory where Doctrine generates any necessary proxy class files.
public getProxyDir ( ) : string
Результат string

getProxyNamespace() публичный Метод

Gets the namespace for Doctrine proxy class files.
public getProxyNamespace ( ) : string
Результат string

getUUIDGenerationBufferSize() публичный Метод

Gets the default UUID Generator buffer size
public getUUIDGenerationBufferSize ( ) : integer
Результат integer

getValidateDoctrineMetadata() публичный Метод

Gets if all CouchDB document metadata should be validated on read
public getValidateDoctrineMetadata ( ) : boolean
Результат boolean

newDefaultAnnotationDriver() публичный Метод

Add a new default annotation driver with a correctly configured annotation reader.
public newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver
$paths array
Результат Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver

setAllOrNothingFlush() публичный Метод

public setAllOrNothingFlush ( boolean $allOrNothing )
$allOrNothing boolean

setAutoGenerateProxyClasses() публичный Метод

public setAutoGenerateProxyClasses ( $bool )

setDocumentNamespaces() публичный Метод

Set the document alias map
public setDocumentNamespaces ( array $documentNamespaces ) : void
$documentNamespaces array
Результат void

setLuceneHandlerName() публичный Метод

public setLuceneHandlerName ( $handlerName = '_fti' )

setMetadataCacheImpl() публичный Метод

Sets the cache driver implementation that is used for metadata caching.
public setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl )
$cacheImpl Doctrine\Common\Cache\Cache

setMetadataDriverImpl() публичный Метод

Sets the cache driver implementation that is used for metadata caching.
public setMetadataDriverImpl ( Doctrine\Common\Persistence\Mapping\Driver\MappingDriver $driverImpl )
$driverImpl Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

setMetadataResolverImpl() публичный Метод

public setMetadataResolverImpl ( Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver $resolver )
$resolver Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver

setMigrations() публичный Метод

public setMigrations ( Doctrine\ODM\CouchDB\Migrations\DocumentMigration $migration )
$migration Doctrine\ODM\CouchDB\Migrations\DocumentMigration

setProxyDir() публичный Метод

Sets the directory where Doctrine generates any necessary proxy class files.
public setProxyDir ( string $dir )
$dir string

setProxyNamespace() публичный Метод

Sets the namespace for Doctrine proxy class files.
public setProxyNamespace ( string $namespace )
$namespace string

setUUIDGenerationBufferSize() публичный Метод

Sets the default UUID Generator buffer size
public setUUIDGenerationBufferSize ( integer $UUIDGenerationBufferSize )
$UUIDGenerationBufferSize integer

setValidateDoctrineMetadata() публичный Метод

Sets if all CouchDB document metadata should be validated on read
public setValidateDoctrineMetadata ( boolean $validateDoctrineMetadata )
$validateDoctrineMetadata boolean