PHP 클래스 Doctrine\ODM\CouchDB\Configuration

부터: 1.0
저자: Benjamin Eberlei ([email protected])
저자: Lukas Kahwe Smith ([email protected])
파일 보기 프로젝트 열기: doctrine/couchdb-odm 1 사용 예제들

공개 메소드들

메소드 설명
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

getValidateDoctrineMetadata() 공개 메소드

Gets if all CouchDB document metadata should be validated on read

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