Column
        
        extends Column
    
    
            
            in package
            
        
    
    
    
        
        
    Tags
Table of Contents
- MONEY_COLUMN_TYPE_OID = 790
 - The internal PostgreSQL identifier of the money data type.
 - $moneyPrecision : int
 - $default : mixed
 - $isNumber : mixed
 - $isText : mixed
 - $limit : mixed
 - $name : mixed
 - $null : mixed
 - $precision : mixed
 - $scale : mixed
 - $sqlType : mixed
 - $type : mixed
 - $unsigned : mixed
 - __construct() : mixed
 - Construct
 - binaryToString() : string
 - Used to convert from BLOBs (BYTEAs) to Strings.
 - binaryToStringCallback() : mixed
 - Callback function for binaryToString().
 - extractDefault() : mixed
 - getDefault() : string
 - getLimit() : int
 - getName() : string
 - getSqlType() : string
 - getType() : string
 - isNull() : bool
 - isNumber() : bool
 - isText() : bool
 - isUnsigned() : bool
 - precision() : int
 - scale() : int
 - stringToDate() : Horde_Date
 - stringToDummyTime() : Horde_Date|null
 - stringToTime() : Horde_Date
 - typeCast() : mixed
 - Casts value (which is a String) to an appropriate instance.
 - valueToBoolean() : bool
 - valueToDecimal() : float
 - extractLimit() : int
 - extractPrecision() : int
 - extractScale() : int
 - extractUnsigned() : int
 - extractValueFromDefault() : mixed
 - Extracts the value from a PostgreSQL column default definition.
 - setSimplifiedType() : mixed
 
Constants
MONEY_COLUMN_TYPE_OID
The internal PostgreSQL identifier of the money data type.
    public
        mixed
    MONEY_COLUMN_TYPE_OID
    = 790
    
        
    
    Tags
Properties
$moneyPrecision
    public
    static    int
    $moneyPrecision
     = 19
    
    
    
$default
    protected
        mixed
    $default
    
        
        
    
$isNumber
    protected
        mixed
    $isNumber
    
        
        
    
$isText
    protected
        mixed
    $isText
    
        
        
    
$limit
    protected
        mixed
    $limit
    
        
        
    
$name
    protected
        mixed
    $name
    
        
        
    
$null
    protected
        mixed
    $null
    
        
        
    
$precision
    protected
        mixed
    $precision
    
        
        
    
$scale
    protected
        mixed
    $scale
    
        
        
    
$sqlType
    protected
        mixed
    $sqlType
    
        
        
    
$type
    protected
        mixed
    $type
    
        
        
    
$unsigned
    protected
        mixed
    $unsigned
    
        
        
    
Methods
__construct()
Construct
    public
                    __construct(string $name, string $default[, string $sqlType = null ][, bool $null = true ]) : mixed
    
        Parameters
- $name : string
 - $default : string
 - $sqlType : string = null
 - $null : bool = true
 
Return values
mixed —binaryToString()
Used to convert from BLOBs (BYTEAs) to Strings.
    public
                    binaryToString(mixed $value) : string
    
        Parameters
- $value : mixed
 
Return values
string —binaryToStringCallback()
Callback function for binaryToString().
    public
                    binaryToStringCallback(mixed $matches) : mixed
    
        Parameters
- $matches : mixed
 
Return values
mixed —extractDefault()
    public
                    extractDefault(mixed $default) : mixed
        
        Parameters
- $default : mixed
 
Return values
mixed —getDefault()
    public
                    getDefault() : string
    
    
    
        Return values
string —getLimit()
    public
                    getLimit() : int
    
    
    
        Return values
int —getName()
    public
                    getName() : string
    
    
    
        Return values
string —getSqlType()
    public
                    getSqlType() : string
    
    
    
        Return values
string —getType()
    public
                    getType() : string
    
    
    
        Return values
string —isNull()
    public
                    isNull() : bool
    
    
    
        Return values
bool —isNumber()
    public
                    isNumber() : bool
    
    
    
        Return values
bool —isText()
    public
                    isText() : bool
    
    
    
        Return values
bool —isUnsigned()
    public
                    isUnsigned() : bool
    
    
    
        Return values
bool —precision()
    public
                    precision() : int
    
    
    
        Return values
int —scale()
    public
                    scale() : int
    
    
    
        Return values
int —stringToDate()
    public
                    stringToDate(string $string) : Horde_Date
    
        Parameters
- $string : string
 
Return values
Horde_Date —stringToDummyTime()
    public
                    stringToDummyTime(string $string) : Horde_Date|null
    
        Parameters
- $string : string
 
Return values
Horde_Date|null —stringToTime()
    public
                    stringToTime(string $string) : Horde_Date
    
        Parameters
- $string : string
 
Return values
Horde_Date —typeCast()
Casts value (which is a String) to an appropriate instance.
    public
                    typeCast(mixed $value) : mixed
    
        Parameters
- $value : mixed
 
Return values
mixed —valueToBoolean()
    public
                    valueToBoolean(mixed $value) : bool
    
        Parameters
- $value : mixed
 
Return values
bool —valueToDecimal()
    public
                    valueToDecimal(mixed $value) : float
    
        Parameters
- $value : mixed
 
Return values
float —extractLimit()
    protected
                    extractLimit(string $sqlType) : int
    
        Parameters
- $sqlType : string
 
Return values
int —extractPrecision()
    protected
                    extractPrecision(string $sqlType) : int
    
        Parameters
- $sqlType : string
 
Return values
int —extractScale()
    protected
                    extractScale(string $sqlType) : int
    
        Parameters
- $sqlType : string
 
Return values
int —extractUnsigned()
    protected
                    extractUnsigned(string $sqlType) : int
    
        Parameters
- $sqlType : string
 
Return values
int —extractValueFromDefault()
Extracts the value from a PostgreSQL column default definition.
    protected
                    extractValueFromDefault(mixed $default) : mixed
    
        Parameters
- $default : mixed
 
Return values
mixed —setSimplifiedType()
    protected
                    setSimplifiedType() : mixed