Zend\Db\Sql\Platform\Mysql\Ddl\CreateTableDecorator
Synopsis
class CreateTableDecorator
extends CreateTable
implements
PlatformDecoratorInterface
{
- // Inherited constants from CreateTable
- const COLUMNS = 'columns';
- const CONSTRAINTS = 'constraints';
- const TABLE = 'table';
- // members
- protected CreateTable $createTable;
- // Inherited members from CreateTable
- protected array $columns;
- protected array $constraints;
- protected bool $isTemporary;
- protected array $specifications;
- protected string $table;
- // Inherited members from AbstractSql
- protected array $specifications;
- protected array $processInfo;
- protected array $instanceParameterIndex;
- // methods
- public void setSubject()
- public string getSqlString()
- protected void processColumns()
- // Inherited methods from CreateTable
- public void __construct()
- public self setTemporary()
- public bool isTemporary()
- public self setTable()
- public self addColumn()
- public self addConstraint()
- public array getRawState()
- public string getSqlString()
- protected void processTable()
- protected void processColumns()
- protected void processConstraints()
- // Inherited methods from AbstractSql
- protected void processExpression()
- protected string createSqlFromSpecificationAndParameters()
- protected void processSubSelect()
Hierarchy
Constants
Name | Value |
---|---|
COLUMNS | 'columns' |
CONSTRAINTS | 'constraints' |
TABLE | 'table' |
Members
protected
- $columns — array
- $constraints — array
- $createTable — Zend\Db\Sql\Ddl\CreateTable
- $instanceParameterIndex — array
- $isTemporary — Zend\Db\Sql\Ddl\bool
- $processInfo — string
- $specifications
—
array
Specifications for Sql String generation - $specifications — array
- $table — string