Methods
__construct()
__construct($name, int $length, $nullable, $default, array $options)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::__construct() |
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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::addConstraint() |
Parameters
Returns
\Zend\Db\Sql\Ddl\Column\self
getDefault()
getDefault() : null | string | int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getDefault() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getDefault() |
Returns
null
string
int
getExpressionData()
getExpressionData() : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getExpressionData() |
Returns
array
getLength()
getLength() : int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getLength() |
Returns
int
getName()
getName() : null | string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getName() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getName() |
Returns
null
string
getOptions()
getOptions() : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getOptions() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getOptions() |
Returns
array
isNullable()
isNullable() : bool
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::isNullable() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::setDefault() |
Parameters
$default
nullstringint
Returns
\Zend\Db\Sql\Ddl\Column\self
setLength()
setLength(int $length) : \Zend\Db\Sql\Ddl\Column\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::setLength() |
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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::setOptions() |
Parameters
$options
array
Returns
\Zend\Db\Sql\Ddl\Column\self
getLengthExpression()
getLengthExpression() : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getLengthExpression() |
Returns
string
Properties
$default
$default : null | string | int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$default |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$default |
$isNullable
$isNullable : bool
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$isNullable |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$isNullable |
$length
$length : int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$length |
$name
$name : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$name |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$name |
$options
$options : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$options |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$options |
$specification
$specification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$specification |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$specification |
<p>Change type to blob</p>
$type : string