DefaultPrincipal DefaultPrincipal(
int
$id
)
|
|
Initializes the Object with the User by the given ID
Parameters:
Gets the Status ID as it is hold in the DB
API Tags:
| Return: | the Status ID for the initialized User |
Fetches the users consumer ID.
API Tags:
Returns the Users email adress.
API Tags:
Redefinition of:
- Principal::getEmail()
- Returns the Users email.
Gets the Language ID for this User.
API Tags:
Redefinition of:
- Principal::getLanguageID()
- Gets the Language ID for this Principal.
Gets the User name.
API Tags:
| Return: | the Username in BIGACE |
Redefinition of:
- Principal::getName()
- Gets the Principal name.
Gets the Users ID
API Tags:
Gets the Users status within BIGACE.
If User is not known it will return the same as isValidUser().
API Tags:
| Return: | value for the Users status. |
Redefinition of:
- Principal::isActive()
- Gets the Users status.
Gets the Information if user is anonymous.
API Tags:
| Return: | if User is anonymous |
Redefinition of:
- Principal::isAnonymous()
- Returns whether the User is anonymous or not.
This shows if the User is registered within BIGACE.
It returns true even if the Users status is inactive!
API Tags:
| Return: | true if user is known |