Class

ArrayType

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

Type that maps a PHP array to a clob SQL type.

Type
Extended by ArrayType
Methods summary
public
# getSqlDeclaration( array $fieldDeclaration, AbstractPlatform $platform )

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

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

Converts a value from its PHP representation to its database representation 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 string
# getName( )

Gets the name of this type.

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