Zend Framework
3.0
|
Public Member Functions | ||||
__construct ($table= '') | ||||
setTable ($name) | ||||
addColumn (Column\ColumnInterface $column) | ||||
changeColumn ($name, Column\ColumnInterface $column) | ||||
dropColumn ($name) | ||||
dropConstraint ($name) | ||||
addConstraint (Constraint\ConstraintInterface $constraint) | ||||
getRawState ($key=null) | ||||
Public Member Functions inherited from AbstractSql | ||||
getSqlString (PlatformInterface $adapterPlatform=null) | ||||
Get SQL string for statement.
| ||||
Public Attributes | |
const | ADD_COLUMNS = 'addColumns' |
const | ADD_CONSTRAINTS = 'addConstraints' |
const | CHANGE_COLUMNS = 'changeColumns' |
const | DROP_COLUMNS = 'dropColumns' |
const | DROP_CONSTRAINTS = 'dropConstraints' |
const | TABLE = 'table' |
Protected Member Functions | |
processTable (PlatformInterface $adapterPlatform=null) | |
processAddColumns (PlatformInterface $adapterPlatform=null) | |
processChangeColumns (PlatformInterface $adapterPlatform=null) | |
processDropColumns (PlatformInterface $adapterPlatform=null) | |
processAddConstraints (PlatformInterface $adapterPlatform=null) | |
processDropConstraints (PlatformInterface $adapterPlatform=null) | |
Protected Member Functions inherited from AbstractSql | |
buildSqlString (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
renderTable ($table, $alias=null) | |
Render table with alias in from/join parts. | |
processExpression (ExpressionInterface $expression, PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null, $namedParameterPrefix=null) | |
int $runtimeExpressionPrefix | |
createSqlFromSpecificationAndParameters ($specifications, $parameters) | |
processSubSelect (Select $subselect, PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
processJoin (Join $joins, PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
resolveColumnValue ($column, PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null, $namedParameterPrefix=null) | |
resolveTable ($table, PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
localizeVariables () | |
Copy variables from the subject into the local properties. | |
Protected Attributes | |
$addColumns = [] | |
$addConstraints = [] | |
$changeColumns = [] | |
$dropColumns = [] | |
$dropConstraints = [] | |
$specifications | |
$table = '' | |
Protected Attributes inherited from AbstractSql | |
$specifications = [] | |
$processInfo = ['paramPrefix' => '' | |
$instanceParameterIndex = [] | |
__construct | ( | $table = '' | ) |
string | $table |
addColumn | ( | Column\ColumnInterface | $column | ) |
Column\ColumnInterface | $column |
addConstraint | ( | Constraint\ConstraintInterface | $constraint | ) |
Constraint\ConstraintInterface | $constraint |
changeColumn | ( | $name, | |
Column\ColumnInterface | $column | ||
) |
string | $name | |
Column\ColumnInterface | $column |
dropColumn | ( | $name | ) |
string | $name |
dropConstraint | ( | $name | ) |
string | $name |
getRawState | ( | $key = null | ) |
string | null | $key |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
setTable | ( | $name | ) |
string | $name |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const ADD_COLUMNS = 'addColumns' |
const ADD_CONSTRAINTS = 'addConstraints' |
const CHANGE_COLUMNS = 'changeColumns' |
const DROP_COLUMNS = 'dropColumns' |
const DROP_CONSTRAINTS = 'dropConstraints' |
const TABLE = 'table' |