Methods

__construct()

__construct(string $name, int $length, bool $nullable, null $default, array $options) 

Parameters

$name

string

$length

int

$nullable

bool

$default

null

$options

array

getDefault()

getDefault() : null | string | int
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::getDefault()

Returns

nullstringint

getExpressionData()

getExpressionData() : array

Returns

array

getLength()

getLength() : int

Returns

int

getName()

getName() : null | string
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::getName()

Returns

nullstring

getOptions()

getOptions() : array
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::getOptions()

Returns

array

isNullable()

isNullable() : bool
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::isNullable()

Returns

bool

setDefault()

setDefault(null | string | int $default) : \Zend\Db\Sql\Ddl\Column\self
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::setDefault()

Parameters

$default

nullstringint

Returns

\Zend\Db\Sql\Ddl\Column\self

setLength()

setLength(int $length) : \Zend\Db\Sql\Ddl\Column\self

Parameters

$length

int

Returns

\Zend\Db\Sql\Ddl\Column\self

setName()

setName(string $name) : \Zend\Db\Sql\Ddl\Column\self
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::setName()

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\Column\self

setNullable()

setNullable(bool $nullable) : \Zend\Db\Sql\Ddl\Column\self
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::setNullable()

Parameters

$nullable

bool

Returns

\Zend\Db\Sql\Ddl\Column\self

setOption()

setOption(string $name, string $value) : \Zend\Db\Sql\Ddl\Column\self
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::setOption()

Parameters

$name

string

$value

string

Returns

\Zend\Db\Sql\Ddl\Column\self

setOptions()

setOptions(array $options) : \Zend\Db\Sql\Ddl\Column\self
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::setOptions()

Parameters

$options

array

Returns

\Zend\Db\Sql\Ddl\Column\self

 Properties

 

$default

$default : null | string | int
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::$$default
 

$isNullable

$isNullable : bool
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::$$isNullable
 

$length

$length : int

 

$name

$name : string
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::$$name
 

$options

$options : array
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::$$options
 

$specification

$specification : string
Inherited

inherited_from \Zend\Db\Sql\Ddl\Column\Column::$$specification
 

<p>Change type to blob</p>

$type : string