Class CreateTableDecorator

Summary

Fully Qualified Name: Zend\Db\Sql\Platform\Mysql\Ddl\CreateTableDecorator
Extends: CreateTable
Implements: PlatformDecoratorInterface

Description

Methods

Name Description Defined By
__construct() CreateTable
addColumn() CreateTable
addConstraint() CreateTable
getRawState() CreateTable
getSqlString() {@inheritDoc} AbstractSql
isTemporary() CreateTable
setSubject() CreateTableDecorator
setTable() CreateTable
setTemporary() CreateTable

Method Details

__construct()

Parameter Name Type Description
$table string|\TableIdentifier
$isTemporary bool

Returns:

addColumn()

Parameter Name Type Description
$column \Column\ColumnInterface

Returns: self Provides a fluent interface

addConstraint()

Parameter Name Type Description
$constraint \Constraint\ConstraintInterface

Returns: self Provides a fluent interface

getRawState()

Parameter Name Type Description
$key string|null

Returns: array

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

isTemporary()

Returns: bool

setSubject()

Parameter Name Type Description
$subject \CreateTable

Returns: self Provides a fluent interface

setTable()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

setTemporary()

Parameter Name Type Description
$temporary bool

Returns: self Provides a fluent interface

Top