Properties

$_base

$_base : 

Type

$_name

$_name : 

Type

$_type

$_type : 

Type

$_limit

$_limit : 

Type

$_precision

$_precision : 

Type

$_scale

$_scale : 

Type

$_unsigned

$_unsigned : 

Type

$_default

$_default : 

Type

$_null

$_null : 

Type

$_autoincrement

$_autoincrement : 

Type

Methods

__construct()

__construct(  $base,   $name,   $type,   $limit = null,   $precision = null,   $scale = null,   $unsigned = null,   $default = null,   $null = null,   $autoincrement = null) 

Constructor.

Parameters

$base
$name
$type
$limit
$precision
$scale
$unsigned
$default
$null
$autoincrement

toSql()

toSql() : string

Returns

string

__toString()

__toString() : string

Returns

string

getName()

getName() : string

Returns

string

getDefault()

getDefault() : string

Returns

string

getType()

getType() : string

Returns

string

getSqlType()

getSqlType() : string

Returns

string

getLimit()

getLimit() : integer

Returns

integer

precision()

precision() : integer

Returns

integer

scale()

scale() : integer

Returns

integer

isUnsigned()

isUnsigned() : boolean

Returns

boolean

isNull()

isNull() : boolean

Returns

boolean

isAutoIncrement()

isAutoIncrement() : boolean

Returns

boolean

setName()

setName(  $name) 

Parameters

$name

setDefault()

setDefault(  $default) 

Parameters

$default

setType()

setType(  $type) 

Parameters

$type

setLimit()

setLimit(  $limit) 

Parameters

$limit

setPrecision()

setPrecision(  $precision) 

Parameters

$precision

setScale()

setScale(  $scale) 

Parameters

$scale

setUnsigned()

setUnsigned(  $unsigned) 

Parameters

$unsigned

setNull()

setNull(  $null) 

Parameters

$null

setAutoIncrement()

setAutoIncrement(  $autoincrement) 

Parameters

$autoincrement

_addColumnOptions()

_addColumnOptions(string  $sql, array  $options) 

Parameters

string $sql
array $options