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
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$moneyPrecision integer

Public Methods

Method 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().

Protected Methods

Method 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 method

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

_extractLimit() protected method

protected _extractLimit ( string $sqlType ) : integer
$sqlType string
return integer

_extractPrecision() protected method

protected _extractPrecision ( string $sqlType ) : integer
$sqlType string
return integer

_extractScale() protected method

protected _extractScale ( string $sqlType ) : integer
$sqlType string
return integer

_extractValueFromDefault() protected method

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

_setSimplifiedType() protected method

protected _setSimplifiedType ( )

binaryToString() public method

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

binaryToStringCallback() public method

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

Property Details

$moneyPrecision public_oe static_oe property

public static int $moneyPrecision
return integer