diff --git a/dbObject.php b/dbObject.php index 6102ccf3..987a3a99 100644 --- a/dbObject.php +++ b/dbObject.php @@ -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