__call()
__construct()
addMethods()
getParams()
table()
$params
$table
$traits
$method_map
The base Query class for SELECT, INSERT, UPDATE and DELETE statement.
These four classes will share some functionality, so let us share!
| package | Peyote |
|---|---|
| author | Dave Widmer |
__call(string $name, $params) : \Peyote\Query
__construct(string $table)
stringThe name of the table
addMethods(string $trait, array $methods) : \Petoyte\Query
stringThe name of the trait
arrayA list of methods to add
\Petoyte\QuerygetParams() : array
array$params : array
$table : string
$traits : array
$method_map : array