PHP Class Horde_Db_Adapter_Oracle_Column, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Db_Adapter_Base_Column
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
__construct ( string $name, string $default, string $sqlType = null, boolean $null = true, integer $length = null, integer $precision = null, integer $scale = null ) Constructor.
binaryToString ( $value ) : string Used to convert from BLOBs to Strings

Protected Methods

Method Description
_setSimplifiedType ( )

Method Details

__construct() public method

Constructor.
public __construct ( string $name, string $default, string $sqlType = null, boolean $null = true, integer $length = null, integer $precision = null, integer $scale = null )
$name string Column name, such as "supplier_id" in "supplier_id int(11)".
$default string Type-casted default value, such as "new" in "sales_stage varchar(20) default 'new'".
$sqlType string Column type.
$null boolean Whether this column allows NULL values.
$length integer Column width.
$precision integer Precision for NUMBER and FLOAT columns.
$scale integer Number of digits to the right of the decimal point in a number.

_setSimplifiedType() protected method

protected _setSimplifiedType ( )

binaryToString() public method

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