| [ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 372 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 13 fois |
| Nécessite: | 0 fichiers |
UserInfo:: (33 méthodes):
UserInfo()
getUsername()
getPassword()
getMD5Password()
getId()
getAboutMyself()
getUnformattedAboutMyself()
getEmail()
getBlogs()
getOwnBlogs()
getFullName()
setUsername()
setPassword()
setMD5Password()
setId()
setAboutMyself()
setEmail()
setBlogs()
isSiteAdmin()
setSiteAdmin()
setFullName()
setPictureId()
getPictureId()
setPicture()
getPicture()
hasPicture()
_loadPicture()
getStatus()
setStatus()
__sleep()
hasPermission()
hasPermissionByName()
getPermissions()
| UserInfo( $username, $password, $email, $aboutMyself, $fullName, $resourcePictureId = 0, $properties = Array() X-Ref |
| Constructor. Creates a new UserInfo object with the given information. param: username Uniquename assigned to this user. Please use the UsernameValidator class before param: password Unencrypted version of this password (passwords are saved encoded as MD5 strings) param: email Email address of the new user. param: aboutMyself Some text describing this user, if any. param: fullName Full name of this user. param: resourcePictureId Identifier of the picture used to identify this user, defaults to '0' (none) param: properties Associative array containing extra custom data, defaults to an empty array if not provided. param: id Identifier of the user, if known. It will be ignored if this is a new user, as the user id will be |
| getUsername() X-Ref |
return: returns the username |
| getPassword() X-Ref |
| Returns the password. param: The password |
| getMD5Password() X-Ref |
| Returns the password encoded as an MD5 string. param: The password encoded as an MD5 string. |
| getId() X-Ref |
return: Returns the identifier assigned to this user. |
| getAboutMyself( $format = true ) X-Ref |
| Returns the text that was input in the 'about myself' text box in the admin interface param: format Whether basic formatting should be applied to the text return: Returns a string |
| getUnformattedAboutMyself() X-Ref |
return: Returns the information about this user without any formatting. |
| getEmail() X-Ref |
| Pas de description |
| getBlogs() X-Ref |
| Pas de description |
| getOwnBlogs() X-Ref |
| Pas de description |
| getFullName() X-Ref |
| Pas de description |
| setUsername( $newUsername ) X-Ref |
| Pas de description |
| setPassword( $newPassword ) X-Ref |
| Pas de description |
| setMD5Password( $newPassword ) X-Ref |
| Pas de description |
| setId( $newId ) X-Ref |
| Pas de description |
| setAboutMyself( $newAboutMyself ) X-Ref |
| Pas de description |
| setEmail( $newEmail ) X-Ref |
| Pas de description |
| setBlogs( $blogs ) X-Ref |
| Pas de description |
| isSiteAdmin() X-Ref |
| Pas de description |
| setSiteAdmin( $siteAdmin ) X-Ref |
| Pas de description |
| setFullName( $fullName ) X-Ref |
| Pas de description |
| setPictureId( $resourceId ) X-Ref |
| Pas de description |
| getPictureId() X-Ref |
| Pas de description |
| setPicture( $resource ) X-Ref |
| Pas de description |
| getPicture() X-Ref |
| returns a GalleryResource object with the picture chosen by the user as his/her 'avatar'. I think it's better this way than if we just store a url pointing to an image return: a GalleryResource object |
| hasPicture() X-Ref |
| returns true if the user has selected a picture previously Ê@return a boolean value, true if there is a picture or false otherwise |
| _loadPicture() X-Ref |
| getStatus() X-Ref |
| returns the status of the blog return: the current status of the blog |
| setStatus( $status ) X-Ref |
| sets the current status of the blog param: status return: always true |
| __sleep() X-Ref |
| hasPermission( $permission, $blogId = 0 ) X-Ref |
| Pas de description |
| hasPermissionByName( $permName, $blogId = 0 ) X-Ref |
| Pas de description |
| getPermissions( $blogId = 0 ) X-Ref |
| Pas de description |
| Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
|