You are here

public function ClassMetadata::isSingleValuedAssociation in Plug 7

Checks if the given field is a mapped single valued association for this class.

Parameters

string $fieldName:

Return value

boolean

2 methods override ClassMetadata::isSingleValuedAssociation()
LazyLoadableObjectClassMetadata::isSingleValuedAssociation in lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php
Checks if the given field is a mapped single valued association for this class.
TestObjectMetadata::isSingleValuedAssociation in lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Checks if the given field is a mapped single valued association for this class.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php, line 89

Class

ClassMetadata
Contract for a Doctrine persistence layer ClassMetadata class to implement.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function isSingleValuedAssociation($fieldName);