PHP Class Horde_Db_Adapter_Postgresql_Column, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Db_Adapter_Base_Column
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$moneyPrecision integer

Méthodes publiques

Méthode Description
__construct ( string $name, string $default, string $sqlType = null, boolean $null = true ) Construct
binaryToString ( $value ) : string Used to convert from BLOBs (BYTEAs) to Strings.
binaryToStringCallback ( $matches ) Callback function for binaryToString().

Méthodes protégées

Méthode Description
_extractLimit ( string $sqlType ) : integer
_extractPrecision ( string $sqlType ) : integer
_extractScale ( string $sqlType ) : integer
_extractValueFromDefault ( $default ) Extracts the value from a PostgreSQL column default definition.
_setSimplifiedType ( )

Method Details

__construct() public méthode

Construct
public __construct ( string $name, string $default, string $sqlType = null, boolean $null = true )
$name string
$default string
$sqlType string
$null boolean

_extractLimit() protected méthode

protected _extractLimit ( string $sqlType ) : integer
$sqlType string
Résultat integer

_extractPrecision() protected méthode

protected _extractPrecision ( string $sqlType ) : integer
$sqlType string
Résultat integer

_extractScale() protected méthode

protected _extractScale ( string $sqlType ) : integer
$sqlType string
Résultat integer

_extractValueFromDefault() protected méthode

Extracts the value from a PostgreSQL column default definition.
protected _extractValueFromDefault ( $default )

_setSimplifiedType() protected méthode

protected _setSimplifiedType ( )

binaryToString() public méthode

Used to convert from BLOBs (BYTEAs) to Strings.
public binaryToString ( $value ) : string
Résultat string

binaryToStringCallback() public méthode

Callback function for binaryToString().
public binaryToStringCallback ( $matches )

Property Details

$moneyPrecision public_oe static_oe property

public static int $moneyPrecision
Résultat integer