public isSingleValuedReference ( string $fieldName ) : boolean | ||
$fieldName | string | |
return | boolean | TRUE if the association exists and is single-valued, FALSE otherwise. |
public function isSingleValuedReference($fieldName)
{
return isset($this->fieldMappings[$fieldName]['association']) && $this->fieldMappings[$fieldName]['association'] === self::REFERENCE_ONE;
}