Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Doctrine
ODM
MongoDB
Mapping
ClassMetadataInfo
setDistance
Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::setDistance PHP Method
ClassMetadataInfo Class Documentation
Datei anzeigen
Open project: doctrine/mongodb-odm
setDistance()
public
method
Set the field name that stores the distance.
public
setDistance
(
string
$distance
)
$distance
string
public function setDistance($distance) { $this->distance = $distance; }
ClassMetadataInfo
__construct
addIndex
addInheritedAssociationMapping
addInheritedFieldMapping
addLifecycleCallback
applyStorageStrategy
getAssociationCollectionClass
getAssociationMappedByTargetField
getAssociationNames
getAssociationTargetClass
getCollection
getCollectionCapped
getCollectionMax
getCollectionSize
getDatabase
getDatabaseIdentifierValue
getDistance
getEmbeddedFieldsMappings
getFieldMapping
getFieldMappingByDbFieldName
getFieldNames
getFieldValue
getFile
getIdentifier
getIdentifierFieldNames
getIdentifierObject
getIdentifierValue
getIdentifierValues
getIndexes
getLifecycleCallbacks
getName
getNamespace
getPHPIdentifierValue
getReflectionClass
getReflectionProperties
getReflectionProperty
getShardKey
getTypeOfField
getWriteConcern
hasAssociation
hasDiscriminator
hasEmbed
hasField
hasIndexes
hasLifecycleCallbacks
hasReference
hasWriteConcern
invokeLifecycleCallbacks
isAssociationInverseSide
isChangeTrackingDeferredExplicit
isChangeTrackingDeferredImplicit
isChangeTrackingNotify
isCollectionValuedAssociation
isCollectionValuedEmbed
isCollectionValuedReference
isFile
isIdGeneratorAuto
isIdGeneratorIncrement
isIdGeneratorNone
isIdGeneratorUuid
isIdentifier
isInheritanceTypeCollectionPerClass
isInheritanceTypeNone
isInheritanceTypeSingleCollection
isInheritedField
isMappedToCollection
isNullable
isSharded
isSingleValuedAssociation
isSingleValuedEmbed
isSingleValuedReference
mapField
mapFile
mapManyEmbedded
mapManyReference
mapOneEmbedded
mapOneReference
registerAlsoLoadMethod
setAlsoLoadMethods
setChangeTrackingPolicy
setCollection
setCollectionCapped
setCollectionMax
setCollectionSize
setCustomRepositoryClass
setDatabase
setDefaultDiscriminatorValue
setDiscriminatorField
setDiscriminatorMap
setDiscriminatorValue
setDistance
setFieldValue
setFile
setIdGenerator
setIdGeneratorOptions
setIdGeneratorType
setIdentifier
setIdentifierValue
setInheritanceType
setLifecycleCallbacks
setLockField
setLockMapping
setLockable
setParentClasses
setRequireIndexes
setShardKey
setSlaveOkay
setSubclasses
setVersionField
setVersionMapping
setVersioned
setWriteConcern