Commit 810ffe98 authored by 天心流水's avatar 天心流水 Committed by Alexander Butenko

update phpdoc method signatures in dbObject (#795)

parent eaf1f6cc
......@@ -14,28 +14,30 @@
* @method dbObject ArrayBuilder()
* @method dbObject JsonBuilder()
* @method dbObject ObjectBuilder()
* @method mixed byId (string $id, mixed $fields)
* @method mixed get (mixed $limit, mixed $fields)
* @method mixed getOne (mixed $fields)
* @method mixed paginate (int $page, array $fields)
* @method dbObject query ($query, $numRows)
* @method dbObject rawQuery ($query, $bindParams, $sanitize)
* @method dbObject join (string $objectName, string $key, string $joinType, string $primaryKey)
* @method dbObject with (string $objectName)
* @method dbObject groupBy (string $groupByField)
* @method dbObject orderBy ($orderByField, $orderbyDirection, $customFields)
* @method dbObject where ($whereProp, $whereValue, $operator)
* @method dbObject orWhere ($whereProp, $whereValue, $operator)
* @method dbObject setQueryOption ($options)
* @method dbObject setTrace ($enabled, $stripPrefix)
* @method dbObject withTotalCount ()
* @method dbObject startTransaction ()
* @method dbObject commit ()
* @method dbObject rollback ()
* @method dbObject ping ()
* @method string getLastError ()
* @method string getLastQuery ()
**/
* @method mixed byId(string $id, mixed $fields)
* @method mixed get(mixed $limit, mixed $fields)
* @method mixed getOne(mixed $fields)
* @method mixed paginate(int $page, array $fields)
* @method dbObject query($query, $numRows = null)
* @method dbObject rawQuery($query, $bindParams = null)
* @method dbObject join(string $objectName, string $key, string $joinType, string $primaryKey)
* @method dbObject with(string $objectName)
* @method dbObject groupBy(string $groupByField)
* @method dbObject orderBy($orderByField, $orderbyDirection = "DESC", $customFieldsOrRegExp = null)
* @method dbObject where($whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject orWhere($whereProp, $whereValue = 'DBNULL', $operator = '=')
* @method dbObject having($havingProp, $havingValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject orHaving($havingProp, $havingValue = null, $operator = null)
* @method dbObject setQueryOption($options)
* @method dbObject setTrace($enabled, $stripPrefix = null)
* @method dbObject withTotalCount()
* @method dbObject startTransaction()
* @method dbObject commit()
* @method dbObject rollback()
* @method dbObject ping()
* @method string getLastError()
* @method string getLastQuery()
*/
class dbObject {
/**
* Working instance of MysqliDb created earlier
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment