Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Doctrine
ODM
OrientDB
Mapper
ClassMetadata
hasField
Doctrine\ODM\OrientDB\Mapper\ClassMetadata::hasField PHP Method
ClassMetadata Class Documentation
显示文件
Open project: doctrine/orientdb-odm
hasField()
public
method
Checks if the given field is a mapped property for this class.
public
hasField
(
string
$property
) :
boolean
$property
string
The name of the property to which the field is mapped
return
boolean
public function hasField($property) { return (bool) $this->getFieldByProperty($property); }
ClassMetadata
__construct
discoverReflectionFields
getAssociation
getAssociationMappedByTargetField
getAssociationNames
getAssociationTargetClass
getAssociations
getField
getFieldByProperty
getFieldNames
getFields
getIdentifier
getIdentifierFieldNames
getIdentifierValues
getName
getReflectionClass
getReflectionFields
getReflectionProperties
getRidPropertyName
getTypeOfField
hasAssociation
hasField
isAssociationInverseSide
isCollectionValuedAssociation
isIdentifier
isSingleValuedAssociation
isValuedAssociation
setAssociations
setDocumentValue
setFields
setIdentifier