This commit is contained in:
rsgrinko committed 2021-04-28 23:07:05 +03:00
1 parent 4cc5fc65f5
commit 6655d7ebfd
1 file changed
+3 -3
+3 -3
View File
@@ -6,10 +6,10 @@ When creating a class in the constructor, you must specify the data for connecti
$DataBase = new DataBase('server', 'db_user', 'db_password', 'db_name');<br>
<br>
<b>Supported methods:</b><br>
public function query($sql, $params = [])<br>
public function query($sql, $params)<br>
public function getItem($table, $where)<br>
public function getItems($table, $where, $sort = '')<br>
public function getAll($table, $sort = '', $params = [])<br>
public function getItems($table, $where, $sort)<br>
public function getAll($table, $sort, $params)<br>
## class Users
Used to work with users (authorization, logout, registration, receiving fields, etc.)<br>
<br>