Méthode | Description | |
---|---|---|
__construct ( |
||
getAttribute ( string $attribute ) : string | Gets user attribute | |
getAuthor ( ) : MetaAuthor | Get user related author | |
hasAttribute ( string $attribute ) : boolean | Checks user attribute | |
has_permission ( string $permission ) : boolean | Test if user has permission | |
image ( integer $width = 80, integer $height = 80, string $specs = 'fit', string $imagePath = null ) : string | Get image src | |
is ( $name ) : boolean | Test if user is a given type | |
isActive ( ) : boolean | Test if user is active | |
isAdmin ( ) : boolean | Test if user is admin | |
isAuthor ( ) : boolean | Test if user is author | |
isBlogger ( ) : boolean | Test if user is blogger | |
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) |
Méthode | Description | |
---|---|---|
getCountry ( ) : string | Get the name of the country of the registered user | |
getCreated ( ) | ||
getDisplayName ( ) : string | ||
getEmail ( ) | ||
getFirstName ( ) | ||
getId ( ) : integer | Get user id | |
getLastName ( ) | ||
getPostsCount ( ) : integer | Get posts count | |
getSubscriber ( ) | ||
getSubscriptions ( ) : MetaSubscription | Get subscription | |
getTopics ( ) : array | Get topics | |
getUsername ( ) | ||
isBlockedFromComments ( ) : boolean | Test if user is blocked from commenting | |
isDefined ( ) | ||
isLoggedIn ( ) : boolean | Test if user is logged in |
public getAttribute ( string $attribute ) : string | ||
$attribute | string | User attribute |
Résultat | string |
public getAuthor ( ) : MetaAuthor | ||
Résultat | MetaAuthor |
protected getCountry ( ) : string | ||
Résultat | string |
protected getPostsCount ( ) : integer | ||
Résultat | integer |
protected getSubscriptions ( ) : MetaSubscription | ||
Résultat | MetaSubscription |
public hasAttribute ( string $attribute ) : boolean | ||
$attribute | string | User attribute |
Résultat | boolean |
public has_permission ( string $permission ) : boolean | ||
$permission | string | |
Résultat | boolean |
protected isBlockedFromComments ( ) : boolean | ||
Résultat | boolean |
protected isLoggedIn ( ) : boolean | ||
Résultat | boolean |