__construct |
( |
|
$name, |
|
|
|
$pass = null |
|
) |
| |
Is the given password the same as the user's one?
- Parameters
-
- Returns
- true or false.
Retrieve the user's model by its name.
- Returns
- A Model instance. null if it doesn't exists.
Retrieve all model list from the DB.
- Returns
- Array of strings.
Search for the given user on the DB.
- Parameters
-
$name | The user's name to search. |
- Returns
- a User instance if exists, null otherwise.
Search on the model table of the DB for the user's tables.
- Returns
- An array of strings with the model's names. false if there was problems.
Save or update the DB information regarded to this instance.
- Returns
- true if saving or update was successful.
A string list of model names that the user owns.
The documentation for this class was generated from the following file: