Doctrine


Doctrine\DBAL\Types\TextType
/Doctrine/DBAL/Types/TextType.php at line 31

Class TextType

Class:TextType - Superclass: Type
Type
⌊ TextType

public class TextType
extends Type

Type that maps an SQL CLOB to a PHP string.

Since:
2.0
Author:
Roman Borschel

Fields inherited from Doctrine\DBAL\Types\Type
BIGINT, BOOLEAN, DATE, DATETIME, DECIMAL, INTEGER, OBJECT, SMALLINT, STRING, TARRAY, TEXT, TIME
Method Summary
string

getName()

Gets the name of this type.

void

getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform)

@override

Methods inherited from Doctrine\DBAL\Types\Type
addType, convertToDatabaseValue, convertToPHPValue, getBindingType, getDefaultLength, getName, getSqlDeclaration, getType, getTypesMap, hasType, overrideType

Method Detail

/Doctrine/DBAL/Types/TextType.php at line 39

getName

public string getName()

Gets the name of this type.

Todo:
Needed?

/Doctrine/DBAL/Types/TextType.php at line 34

getSqlDeclaration

public void getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform)

Parameters:
fieldDeclaration - The field declaration.
platform - The currently used database platform.

Doctrine