Methods
__construct()
__construct($name, int $length, $nullable, $default, array $options)
Parameters
$name
$length
int
$nullable
$default
$options
addConstraint()
addConstraint(\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface $constraint) : \Zend\Db\Sql\Ddl\Column\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::addConstraint() |
Parameters
Returns
\Zend\Db\Sql\Ddl\Column\self
getDefault()
getDefault() : null | string | int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getDefault() |
Returns
null
string
int
getExpressionData()
getExpressionData() : array
getLength()
getLength() : int
getName()
getName() : null | string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getName() |
Returns
null
string
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
getLengthExpression()
getLengthExpression() : string
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 |
$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 |
$type
$type : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$type |