__call()
__construct()
addMethods()
compile()
getParams()
limit()
set()
table()
where()
compileMixins()
$limit
$mixins
$order_by
$params
$table
$where
$data
$method_map
Building a UPDATE query.
See Select for the full rant, but the tl;dr is that php 4 is messing up my classes, so I have to actually declare where() and limit() in this class instead of just using the cool passthru functionality.
package | Peyote |
---|---|
author | Dave Widmer |
__call(string $name, $params) : \Peyote\Query
inherited_from | \Peyote\Query::__call() |
---|
string
The name of the method to call
\Peyote\Exception |
---|
__construct(string $table)
string
The name of the table
addMethods(string $mixin, array $methods) : \Petoyte\Query
inherited_from | \Peyote\Query::addMethods() |
---|
string
The name of the mixin
array
A list of methods to add
\Petoyte\Query
compile() : string
string
getParams() : array
array
where(string $column, string $op, mixed $value) : \Peyote\Delete
string
The column name
string
The comparison operator
mixed
The value to bind
compileMixins() : array
inherited_from | \Peyote\Query::compileMixins() |
---|
array
All of the mixins into an array.$mixins : array
$params : array
inherited_from | \Peyote\Query::$$params |
---|
$table : string
inherited_from | \Peyote\Query::$$table |
---|
$data : array
$method_map : array
inherited_from | \Peyote\Query::$$method_map |
---|