UsersDataSourceMySQLi.class.php
usersDataSource class
usersDataSource provides the data access capabilities for the Users class.
To build a data access class for Users, the following 5 methods must exist. getPassword(username) getAllUsers() getARecord update
Additionally, where appropriate, the following function is useful buildTable()
This particular instance provides an interface to MySQL using the mysqli libraries.
Create an instance of this, then pass the variable to several Users calls.
Tags
Interfaces, Classes and Traits
- usersDataSourceMySQLi
- usersDataSource class