Methods
__construct()
__construct(string $table)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::__construct() |
Parameters
$table
string
addColumn()
addColumn(\Zend\Db\Sql\Ddl\Column\ColumnInterface $column) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::addColumn() |
Parameters
Returns
\Zend\Db\Sql\Ddl\self
addConstraint()
addConstraint(\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface $constraint) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::addConstraint() |
Parameters
Returns
\Zend\Db\Sql\Ddl\self
changeColumn()
changeColumn(string $name, \Zend\Db\Sql\Ddl\Column\ColumnInterface $column) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::changeColumn() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\self
dropColumn()
dropColumn(string $name) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::dropColumn() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\self
dropConstraint()
dropConstraint(string $name) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::dropConstraint() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\self
getRawState()
getRawState(string | null $key) : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::getRawState() |
Parameters
$key
stringnull
Returns
array
Get SQL string for statement
getSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::getSqlString() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::getSqlString() |
Parameters
Returns
string
setTable()
setTable(string $name) : \Zend\Db\Sql\Ddl\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::setTable() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\self
buildSqlString()
buildSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::buildSqlString() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::buildSqlString() |
Parameters
Returns
string
createSqlFromSpecificationAndParameters()
createSqlFromSpecificationAndParameters(string | array $specifications, string | array $parameters) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::createSqlFromSpecificationAndParameters() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::createSqlFromSpecificationAndParameters() |
Parameters
$specifications
stringarray
$parameters
stringarray
Exceptions
Returns
string
getSqlInsertOffsets()
getSqlInsertOffsets(string $sql) : array
Parameters
$sql
string
Returns
array
Copy variables from the subject into the local properties
localizeVariables()
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::localizeVariables() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::localizeVariables() |
processAddColumns()
processAddColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : array
processAddConstraints()
processAddConstraints(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processAddConstraints() |
Parameters
$adapterPlatform
processChangeColumns()
processChangeColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : array
processDropColumns()
processDropColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processDropColumns() |
Parameters
$adapterPlatform
processDropConstraints()
processDropConstraints(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processDropConstraints() |
Parameters
$adapterPlatform
processExpression()
processExpression(\Zend\Db\Sql\ExpressionInterface $expression, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer, null | string $namedParameterPrefix) : string
Inherited
staticvar |
int $runtimeExpressionPrefix |
inherited_from |
\Zend\Db\Sql\AbstractSql::processExpression() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processExpression() |
Parameters
$namedParameterPrefix
nullstring
Exceptions
Returns
string
processSubSelect()
processSubSelect(\Zend\Db\Sql\Select $subselect, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::processSubSelect() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processSubSelect() |
Parameters
Returns
string
processTable()
processTable(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform)
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::processTable() |
Parameters
$adapterPlatform
resolveColumnValue()
resolveColumnValue(null | array | \Zend\Db\Sql\ExpressionInterface | \Zend\Db\Sql\Select $column, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer, null | string $namedParameterPrefix) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::resolveColumnValue() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::resolveColumnValue() |
Parameters
$namedParameterPrefix
nullstring
Returns
string
resolveTable()
resolveTable(string | \Zend\Db\Sql\TableIdentifier | \Zend\Db\Sql\Select $table, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::resolveTable() |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::resolveTable() |
Parameters
Returns
string
normalizeColumnOption()
normalizeColumnOption(string $name) : string
Parameters
$name
string
Returns
string
Properties
$addColumns
$addColumns : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$addColumns |
$addConstraints
$addConstraints : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$addConstraints |
$changeColumns
$changeColumns : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$changeColumns |
$columnOptionSortOrder
$columnOptionSortOrder : int[]
$dropColumns
$dropColumns : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$dropColumns |
$dropConstraints
$dropConstraints : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$dropConstraints |
$instanceParameterIndex
$instanceParameterIndex : array
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::$$instanceParameterIndex |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$instanceParameterIndex |
$processInfo
$processInfo : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::$$processInfo |
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$processInfo |
Specifications for Sql String generation
$specifications : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$specifications |
$table
$table : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::$$table |
Constants
ADD_COLUMNS
ADD_COLUMNS
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::ADD_COLUMNS |
ADD_CONSTRAINTS
ADD_CONSTRAINTS
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::ADD_CONSTRAINTS |
CHANGE_COLUMNS
CHANGE_COLUMNS
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::CHANGE_COLUMNS |
DROP_COLUMNS
DROP_COLUMNS
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::DROP_COLUMNS |
DROP_CONSTRAINTS
DROP_CONSTRAINTS
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::DROP_CONSTRAINTS |
TABLE
TABLE
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\AlterTable::TABLE |