| [ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 165 lignes (3 kb) |
| Inclus ou requis: | 5 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
User:: (5 méthodes):
User()
SetInitialValues()
SetPassword()
Save()
Delete()
| User() X-Ref |
| Generic constructor. Runs the SetInitialValues fuction. |
| SetInitialValues() X-Ref |
| Sets object to some sane initial values |
| SetPassword($password) X-Ref |
| Encrypts and sets password for the User |
| Save() X-Ref |
| Saves the user to the database. If no user_id is set, then a new record is created. If the uset_id is set, then the record is updated to all values in the User object. returns: mixed If successful, true. If it fails, false. |
| Delete() X-Ref |
| Delete the record for this user from the database and resets all values to their initial values. returns: mixed If successful, true. If it fails, false. |
| Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |