ColumnInfo::__construct
(
TableInfo
$table,
$name,
$type = null ,
$nativeType = null ,
$size = null ,
$scale = null ,
$is_nullable = null ,
$default = null
)
|
Construct a new ColumnInfo object.
|
array ColumnInfo::__sleep ( ) |
This "magic" method is invoked upon serialize(). Because the Info class hierarchy is recursive, we must handle the serialization and unserialization of this object.
|
string ColumnInfo::getName ( ) |
Get column name.
|
int ColumnInfo::getType ( ) |
Get column type.
|
string ColumnInfo::getNativeType ( ) |
Gets the native type name.
|
int ColumnInfo::getSize ( ) |
Get column size.
|
int ColumnInfo::getScale ( ) |
Get column scale. Scale refers to number of digits after the decimal. Sometimes this is referred to as precision, but precision is the total number of digits (i.e. length).
|
mixed ColumnInfo::getDefaultValue ( ) |
Get the default value.
|
boolean ColumnInfo::isNullable ( ) |
Is column nullable?
|
string ColumnInfo::toString ( ) |
|
TableInfo ColumnInfo::getTable ( ) |
Get parent table.
|
ColumnInfo::$name |
Column name |
ColumnInfo::$type |
Column Creole type. |
ColumnInfo::$nativeType |
Column native type |
ColumnInfo::$size |
Column length |
ColumnInfo::$scale |
Column scale (number of digits after decimal ) |
ColumnInfo::$isNullable |
Is nullable? |
ColumnInfo::$defaultValue |
Default value |
ColumnInfo::$table |
Table |
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|