Class

DecimalType

Package: io Since: 2.0 Located at io/db/dbms/Doctrine/DBAL/Types/DecimalType.php

Type that maps an SQL DECIMAL to a PHP double.

Type
Extended by DecimalType
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.

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