Property | Type | Description | |
---|---|---|---|
$_autoincrement | |||
$_base | |||
$_default | |||
$_limit | |||
$_name | |||
$_null | |||
$_precision | |||
$_scale | |||
$_type | |||
$_unsigned |
Method | Description | |
---|---|---|
__construct ( $base, $name, $type, $limit = null, $precision = null, $scale = null, $unsigned = null, $default = null, $null = null, $autoincrement = null ) | Constructor. | |
__toString ( ) : string | ||
getDefault ( ) : string | ||
getLimit ( ) : integer | ||
getName ( ) : string | ||
getSqlType ( ) : string | ||
getType ( ) : string | ||
isAutoIncrement ( ) : boolean | ||
isNull ( ) : boolean | ||
isUnsigned ( ) : boolean | ||
precision ( ) : integer | ||
scale ( ) : integer | ||
setAutoIncrement ( $autoincrement ) | ||
setDefault ( $default ) | ||
setLimit ( $limit ) | ||
setName ( $name ) | ||
setNull ( $null ) | ||
setPrecision ( $precision ) | ||
setScale ( $scale ) | ||
setType ( $type ) | ||
setUnsigned ( $unsigned ) | ||
toSql ( ) : string |
Method | Description | |
---|---|---|
_addColumnOptions ( string $sql, array $options ) |
public __construct ( $base, $name, $type, $limit = null, $precision = null, $scale = null, $unsigned = null, $default = null, $null = null, $autoincrement = null ) |
protected _addColumnOptions ( string $sql, array $options ) | ||
$sql | string | |
$options | array |