20 |
rodolico |
1 |
There are two pair of classes here.
|
|
|
2 |
|
|
|
3 |
users implements a login class for PHP.
|
|
|
4 |
usersDataSourceMysqli implements the data access (ie, data back end)
|
|
|
5 |
|
|
|
6 |
usersPermissions extends users by adding logical permissions
|
|
|
7 |
usersPermissionsDataSourceMysqli extends usersDataSourceMysqli
|
|
|
8 |
|
8 |
rodolico |
9 |
This is a Users Login class for PHP, designed to be a self contained
|
|
|
10 |
system to handle user login and administration. It is also designed to
|
|
|
11 |
be programmatically modifiable by the programmer, ie adding new columns
|
|
|
12 |
is fairly simple.
|
|
|
13 |
|
9 |
rodolico |
14 |
Examples are in the examples directory.
|
|
|
15 |
UsersTest.php is a basic setup which automatically detects if the
|
|
|
16 |
table exists and, if not, creates it
|
|
|
17 |
|
|
|
18 |
UsersTestExtended.php is an example of adding a new column to our
|
|
|
19 |
table, giving the user some limitations on what they can access in
|
|
|
20 |
our app.
|
|
|
21 |
|
|
|
22 |
UsersInitDB.php creates and initializes the table structure for
|
|
|
23 |
UsersTestExtended.php as an example of using it in an installer.
|
20 |
rodolico |
24 |
|
|
|
25 |
scripts containing the words Permissions are for the userPermissions
|
|
|
26 |
class.
|
8 |
rodolico |
27 |
|
22 |
rodolico |
28 |
documentation contains users.class.txt and usersPermissions.class.txt
|
|
|
29 |
which are the sources from our dokuwiki site
|
8 |
rodolico |
30 |
|
10 |
rodolico |
31 |
http://kb.unixservertech.com/software/dailydata/libraries/php_user
|
|
|
32 |
|
28 |
rodolico |
33 |
documentation also contains the directory phpDocumentor which is phpdoc
|
|
|
34 |
output documenting the classes involved in HTML format (load the
|
|
|
35 |
index.html file in your browser).
|
8 |
rodolico |
36 |
|