Class

BooleanType

Package: Doctrine\DBAL\Types License: LGPL 2.1 Version: PHPBoost 5.2 - last update: 2013 01 01 Since: PHPBoost 4.0 - 2013 01 01 Link: https://www.doctrine-project.org Located at: io/db/dbms/Doctrine/DBAL/Types/BooleanType.php

Type that maps an SQL boolean to a PHP boolean.

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

Constants inherited from Type
CODE_BOOL, CODE_INT, CODE_LOB, CODE_NULL, CODE_STR
Properties inherited from Type
$_typeObjects