Doctrine


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

Class StringType

Class:StringType - Superclass: Type
Type
⌊ StringType

public class StringType
extends Type

Type that maps an SQL VARCHAR 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
void

getDefaultLength(mixed platform)

@override

string

getName()

@override

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/StringType.php at line 40

getDefaultLength

public void getDefaultLength(mixed platform)

Todo:
Needed?

/Doctrine/DBAL/Types/StringType.php at line 46

getName

public string getName()

Todo:
Needed?

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

getSqlDeclaration

public void getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform)

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

Doctrine