You are here

public function ClassMetadata::getTypeOfField in Plug 7

Returns a type name of this field.

This type names can be implementation specific but should at least include the php types: integer, string, boolean, float/double, datetime.

Parameters

string $fieldName:

Return value

string

2 methods override ClassMetadata::getTypeOfField()
LazyLoadableObjectClassMetadata::getTypeOfField in lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php
Returns a type name of this field.
TestObjectMetadata::getTypeOfField in lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
Returns a type name of this field.

File

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

Class

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

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getTypeOfField($fieldName);