Zend Framework
3.0
|
Public Member Functions | |||||||
__construct ($table=null) | |||||||
Constructor. | |||||||
table ($table) | |||||||
Specify table for statement. | |||||||
set (array $values, $flag=self::VALUES_SET) | |||||||
Set key/value pairs to update. | |||||||
where ($predicate, $combination=Predicate\PredicateSet::OP_AND) | |||||||
Create where clause. | |||||||
join ($name, $on, $type=Join::JOIN_INNER) | |||||||
Create join clause. | |||||||
getRawState ($key=null) | |||||||
__get ($name) | |||||||
Variable overloading. | |||||||
__clone () | |||||||
__clone | |||||||
Public Member Functions inherited from AbstractPreparableSql | |||||||
prepareStatement (AdapterInterface $adapter, StatementContainerInterface $statementContainer) | |||||||
| |||||||
Public Member Functions inherited from AbstractSql | |||||||
getSqlString (PlatformInterface $adapterPlatform=null) | |||||||
Get SQL string for statement.
| |||||||
Public Attributes | |
const | SPECIFICATION_UPDATE = 'update' |
#++ | |
const | SPECIFICATION_SET = 'set' |
const | SPECIFICATION_WHERE = 'where' |
const | SPECIFICATION_JOIN = 'joins' |
const | VALUES_MERGE = 'merge' |
const | VALUES_SET = 'set' |
Protected Member Functions | |
processUpdate (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
processSet (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
processWhere (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
processJoins (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
Protected Attributes | |
$specifications | |
#- | |
$table = '' | |
$emptyWhereProtection = true | |
$set | |
$where = null | |
$joins = null | |
__construct | ( | $table = null | ) |
Constructor.
null | string | TableIdentifier | $table |
__clone | ( | ) |
__get | ( | $name | ) |
Variable overloading.
Proxies to "where" only
string | $name |
getRawState | ( | $key = null | ) |
join | ( | $name, | |
$on, | |||
$type = Join::JOIN_INNER |
|||
) |
Create join clause.
string | array | $name | |
string | $on | |
string | $type | one of the JOIN_* constants |
Exception\InvalidArgumentException |
|
protected |
|
protected |
|
protected |
|
protected |
set | ( | array | $values, |
$flag = self::VALUES_SET |
|||
) |
Set key/value pairs to update.
array | $values | Associative array of key values |
string | $flag | One of the VALUES_* constants |
Exception\InvalidArgumentException |
table | ( | $table | ) |
where | ( | $predicate, | |
$combination = Predicate\PredicateSet::OP_AND |
|||
) |
|
protected |
|
protected |
|
protected |
|
protected |
#-
|
protected |
|
protected |
const SPECIFICATION_JOIN = 'joins' |
const SPECIFICATION_SET = 'set' |
const SPECIFICATION_UPDATE = 'update' |
#++
const SPECIFICATION_WHERE = 'where' |
const VALUES_MERGE = 'merge' |
const VALUES_SET = 'set' |