Class AbstractTimestampColumn

package Default
inherited_from \Zend\Db\Sql\Ddl\Column\AbstractTimestampColumn

 Methods

__construct()

__construct(null|string $name = null, boolean $nullable = false, mixed|null $default = null, array<mixed,mixed> $options = array()
Inherited

Parameters

$name

nullstring

$nullable

boolean

$default

mixednull

$options

array<mixed,mixed>

addConstraint()

addConstraint(\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface $constraint) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$constraint

\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

getDefault()

getDefault() : null | string | integer
Inherited
inherited_from \Zend\Db\Sql\Ddl\Column\ColumnInterface::getDefault()

Returns

nullstringinteger

getExpressionData()

getExpressionData() : array
Inherited

Returns

array

getName()

getName() : null | string
Inherited
inherited_from \Zend\Db\Sql\Ddl\Column\ColumnInterface::getName()

Returns

nullstring

getOptions()

getOptions() : array
Inherited
inherited_from \Zend\Db\Sql\Ddl\Column\ColumnInterface::getOptions()

Returns

array

isNullable()

isNullable() : boolean
Inherited
inherited_from \Zend\Db\Sql\Ddl\Column\ColumnInterface::isNullable()

Returns

boolean

setDefault()

setDefault(null|string|integer $default) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$default

nullstringinteger

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

setName()

setName(string $name) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

setNullable()

setNullable(boolean $nullable) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$nullable

boolean

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

setOption()

setOption(string $name, string $value) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$name

string

$value

string

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

setOptions()

setOptions(array $options) : \Zend\Db\Sql\Ddl\Column\Timestamp
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$options

array

Returns

\Zend\Db\Sql\Ddl\Column\Timestamp

 Properties

 

$constraints

$constraints : array<mixed,\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface>

Default

array()
 

$default

$default : null | string | integer

Default

 

$isNullable

$isNullable : boolean

Default

false
 

$name

$name : string

Default

''
 

$options

$options : array

Default

array()
 

$specification

$specification : string

Default

'%s %s'
 

$type

$type : string

Default

'TIMESTAMP'
 

$type

$type : string

Default

'INTEGER'