Skip to content

Commit 810ffe9

Browse files
takashikiavbdr
authored andcommitted
update phpdoc method signatures in dbObject (#795)
1 parent eaf1f6c commit 810ffe9

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

dbObject.php

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,30 @@
1414
* @method dbObject ArrayBuilder()
1515
* @method dbObject JsonBuilder()
1616
* @method dbObject ObjectBuilder()
17-
* @method mixed byId (string $id, mixed $fields)
18-
* @method mixed get (mixed $limit, mixed $fields)
19-
* @method mixed getOne (mixed $fields)
20-
* @method mixed paginate (int $page, array $fields)
21-
* @method dbObject query ($query, $numRows)
22-
* @method dbObject rawQuery ($query, $bindParams, $sanitize)
23-
* @method dbObject join (string $objectName, string $key, string $joinType, string $primaryKey)
24-
* @method dbObject with (string $objectName)
25-
* @method dbObject groupBy (string $groupByField)
26-
* @method dbObject orderBy ($orderByField, $orderbyDirection, $customFields)
27-
* @method dbObject where ($whereProp, $whereValue, $operator)
28-
* @method dbObject orWhere ($whereProp, $whereValue, $operator)
29-
* @method dbObject setQueryOption ($options)
30-
* @method dbObject setTrace ($enabled, $stripPrefix)
31-
* @method dbObject withTotalCount ()
32-
* @method dbObject startTransaction ()
33-
* @method dbObject commit ()
34-
* @method dbObject rollback ()
35-
* @method dbObject ping ()
36-
* @method string getLastError ()
37-
* @method string getLastQuery ()
38-
**/
17+
* @method mixed byId(string $id, mixed $fields)
18+
* @method mixed get(mixed $limit, mixed $fields)
19+
* @method mixed getOne(mixed $fields)
20+
* @method mixed paginate(int $page, array $fields)
21+
* @method dbObject query($query, $numRows = null)
22+
* @method dbObject rawQuery($query, $bindParams = null)
23+
* @method dbObject join(string $objectName, string $key, string $joinType, string $primaryKey)
24+
* @method dbObject with(string $objectName)
25+
* @method dbObject groupBy(string $groupByField)
26+
* @method dbObject orderBy($orderByField, $orderbyDirection = "DESC", $customFieldsOrRegExp = null)
27+
* @method dbObject where($whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
28+
* @method dbObject orWhere($whereProp, $whereValue = 'DBNULL', $operator = '=')
29+
* @method dbObject having($havingProp, $havingValue = 'DBNULL', $operator = '=', $cond = 'AND')
30+
* @method dbObject orHaving($havingProp, $havingValue = null, $operator = null)
31+
* @method dbObject setQueryOption($options)
32+
* @method dbObject setTrace($enabled, $stripPrefix = null)
33+
* @method dbObject withTotalCount()
34+
* @method dbObject startTransaction()
35+
* @method dbObject commit()
36+
* @method dbObject rollback()
37+
* @method dbObject ping()
38+
* @method string getLastError()
39+
* @method string getLastQuery()
40+
*/
3941
class dbObject {
4042
/**
4143
* Working instance of MysqliDb created earlier

0 commit comments

Comments
 (0)