__call()
__construct()
addMethods()
columns()
columnsArray()
compile()
distinct()
getParams()
join()
limit()
offset()
table()
where()
$group_by
$join
$limit
$order_by
$params
$table
$traits
$where
$columns
$is_distinct
$method_map
$offset_num
Building a SELECT query.
The join(), select(), and limit() functions should just be passthrus, but I was getting an error when naming a function the same as the class (php4 FTW!) so I had to just move the methods here and call back. Lame I know, but the only other choice was to go back down to 5.2 and name everything with underscores, and I didn't want to do that, so here we are...
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 $trait, array $methods) : \Petoyte\Query
inherited_from | \Peyote\Query::addMethods() |
---|
string
The name of the trait
array
A list of methods to add
\Petoyte\Query
compile() : string
string
getParams() : array
array
where(string $column, string $op, mixed $value) : \Peyote\Select
string
The column name
string
The comparison operator
mixed
The value to bind
$params : array
inherited_from | \Peyote\Query::$$params |
---|
$table : string
inherited_from | \Peyote\Query::$$table |
---|
$traits : array
$columns : array
$is_distinct : boolean
$method_map : array
inherited_from | \Peyote\Query::$$method_map |
---|
$offset_num : int