Class

IntegerType

Type that maps an SQL INT to a PHP integer.

Type
Extended by IntegerType
Methods summary
public string
# getName( )

Gets the name of this type.

public
# getSqlDeclaration( array $fieldDeclaration, AbstractPlatform $platform )

Gets the SQL declaration snippet for a field of this type.

public mixed
# convertToPHPValue( mixed $value, AbstractPlatform $platform )

Converts a value from its database representation to its PHP representation of this type.

public integer
# getTypeCode( )

Gets the type code of this type.

Methods inherited from Type
__construct(), addType(), convertToDatabaseValue(), getDefaultLength(), getType(), hasType(), overrideType()
Constants inherited from Type
CODE_BOOL, CODE_INT, CODE_LOB, CODE_NULL, CODE_STR
Properties inherited from Type
$_typeObjects