2021-04-29 22:17:02 +03:00
2021-04-29 22:14:44 +03:00
2021-04-28 22:49:32 +03:00
2021-04-29 22:20:02 +03:00
2021-04-29 21:49:22 +03:00

BasicFramework

A simple framework for building web applications

class DataBase

When creating a class in the constructor, you must specify the data for connecting to the database
$DataBase = new DataBase('server', 'db_user', 'db_password', 'db_name');

Supported methods:
public function query($sql, $params)
public function getItem($table, $where)
public function getItems($table, $where, $sort)
public function getAll($table, $sort, $params)
public function addItem($table, $data)

class Users

Used to work with users (authorization, logout, registration, receiving fields, etc.)

Supported methods:
public function Authorize($id)
public function getFields($id)
public function Logout()
public function is_user()
public function Registration($login, $password, $level = 'user', $name = '')
public function user_exists($login)
public function SecurityAuthorize($login, $password)

S
Description
A simple framework for building web applications
Readme GPL-2.0
296 KiB
0 Stars 1 Watchers 0 Forks
Languages
PHP 100%