Column representing a FLOAT type.
Cannot name a class "float" starting in PHP 7, as it's a reserved keyword;
hence, "floating", with a type of "FLOAT".
Methods
__construct()
__construct($name, int $digits, int | null $decimal, $nullable, $default, array $options)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::__construct() |
Parameters
$name
$digits
int
$decimal
intnull
$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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::addConstraint() |
Parameters
Returns
\Zend\Db\Sql\Ddl\Column\self
getDecimal()
getDecimal() : int | null
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::getDecimal() |
Returns
int
null
getDefault()
getDefault() : null | string | int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::getDefault() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getDefault() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::getDefault() |
Returns
null
string
int
getDigits()
getDigits() : int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::getDigits() |
Returns
int
getExpressionData()
getExpressionData() : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getExpressionData() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::getExpressionData() |
Returns
array
getLength()
getLength() : int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::getLength() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::isNullable() |
Returns
bool
setDecimal()
setDecimal(int | null $decimal) : \Zend\Db\Sql\Ddl\Column\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::setDecimal() |
Parameters
$decimal
intnull
Returns
\Zend\Db\Sql\Ddl\Column\self
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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::setDefault() |
Parameters
$default
nullstringint
Returns
\Zend\Db\Sql\Ddl\Column\self
setDigits()
setDigits(int $digits) : \Zend\Db\Sql\Ddl\Column\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::setDigits() |
Parameters
$digits
int
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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::setOptions() |
Parameters
$options
array
Returns
\Zend\Db\Sql\Ddl\Column\self
getLengthExpression()
getLengthExpression() : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::getLengthExpression() |
Returns
string
Properties
$constraints
$constraints : \Zend\Db\Sql\Ddl\Constraint\ConstraintInterface[]
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$constraints |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$constraints |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$constraints |
$decimal
$decimal : int | null
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$decimal |
$default
$default : null | string | int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$default |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$default |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$default |
$isNullable
$isNullable : bool
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$isNullable |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$isNullable |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$isNullable |
$length
$length : int
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$length |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$length |
$name
$name : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$name |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$name |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$name |
$options
$options : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$options |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$options |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$options |
$specification
$specification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Column\Column::$$specification |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractLengthColumn::$$specification |
inherited_from |
\Zend\Db\Sql\Ddl\Column\AbstractPrecisionColumn::$$specification |