PersonObject __construct(
)
|
|
Constructor for the class that populates all of the complex types with default values
API Tags:
Information Tags:
Redefinition of:
- AlphaDAO::__construct()
- The constructor which sets up some housekeeping attributes
void after_loadByAttribute_callback(
)
|
|
Set up the transient attributes for the site after it has loaded
API Tags:
Information Tags:
void after_load_callback(
)
|
|
Set up the transient attributes for the rights group after it has loaded
API Tags:
Information Tags:
void after_save_callback(
)
|
|
Looks up the OID for the Standard rights group, then relates the new person to that group if they are not in it already. If that group does not exist it will be recreated!
API Tags:
Information Tags:
void before_populateFromPost_callback(
)
|
|
Encrypts any fields called 'password' posted for the PersonObject
API Tags:
Information Tags:
string generatePassword(
)
|
|
Generates a random password for the user
API Tags:
Information Tags:
integer getCommentCount(
)
|
|
Method for getting a count of the amount of article comments posted by the user
API Tags:
Information Tags:
Since: | 1.0 |
Throws: | AlphaException |
Getter for displayName
API Tags:
Information Tags:
bool inGroup(
string
$groupName
)
|
|
Checks to see if the person is in the rights group specified
Parameters:
API Tags:
Information Tags:
void sendMail(
string
$message, string
$subject
)
|
|
A generic method for mailing a person
Parameters:
string |
$message: |
|
string |
$subject: |
|
API Tags:
Information Tags:
Since: | 1.0 |
Throws: | MailNotSentException |
void setDisplayName(
string
$displayName
)
|
|
Setter for displayName
Parameters:
API Tags:
Information Tags:
Sets up the Relation definitions on this BO
API Tags:
Information Tags: