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

update phpdoc method signatures in dbObject (#795)

parent eaf1f6cc
...@@ -14,28 +14,30 @@ ...@@ -14,28 +14,30 @@
* @method dbObject ArrayBuilder() * @method dbObject ArrayBuilder()
* @method dbObject JsonBuilder() * @method dbObject JsonBuilder()
* @method dbObject ObjectBuilder() * @method dbObject ObjectBuilder()
* @method mixed byId (string $id, mixed $fields) * @method mixed byId(string $id, mixed $fields)
* @method mixed get (mixed $limit, mixed $fields) * @method mixed get(mixed $limit, mixed $fields)
* @method mixed getOne (mixed $fields) * @method mixed getOne(mixed $fields)
* @method mixed paginate (int $page, array $fields) * @method mixed paginate(int $page, array $fields)
* @method dbObject query ($query, $numRows) * @method dbObject query($query, $numRows = null)
* @method dbObject rawQuery ($query, $bindParams, $sanitize) * @method dbObject rawQuery($query, $bindParams = null)
* @method dbObject join (string $objectName, string $key, string $joinType, string $primaryKey) * @method dbObject join(string $objectName, string $key, string $joinType, string $primaryKey)
* @method dbObject with (string $objectName) * @method dbObject with(string $objectName)
* @method dbObject groupBy (string $groupByField) * @method dbObject groupBy(string $groupByField)
* @method dbObject orderBy ($orderByField, $orderbyDirection, $customFields) * @method dbObject orderBy($orderByField, $orderbyDirection = "DESC", $customFieldsOrRegExp = null)
* @method dbObject where ($whereProp, $whereValue, $operator) * @method dbObject where($whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject orWhere ($whereProp, $whereValue, $operator) * @method dbObject orWhere($whereProp, $whereValue = 'DBNULL', $operator = '=')
* @method dbObject setQueryOption ($options) * @method dbObject having($havingProp, $havingValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject setTrace ($enabled, $stripPrefix) * @method dbObject orHaving($havingProp, $havingValue = null, $operator = null)
* @method dbObject withTotalCount () * @method dbObject setQueryOption($options)
* @method dbObject startTransaction () * @method dbObject setTrace($enabled, $stripPrefix = null)
* @method dbObject commit () * @method dbObject withTotalCount()
* @method dbObject rollback () * @method dbObject startTransaction()
* @method dbObject ping () * @method dbObject commit()
* @method string getLastError () * @method dbObject rollback()
* @method string getLastQuery () * @method dbObject ping()
**/ * @method string getLastError()
* @method string getLastQuery()
*/
class dbObject { class dbObject {
/** /**
* Working instance of MysqliDb created earlier * 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