Method |
Description |
|
delete ( mixed $ids ) |
Delete the given profiles. |
|
deleteGroup ( integer $id ) |
Delete a profile group. |
|
deleteProfileGroup ( integer $id ) |
Delete a membership of a profile in a group. |
|
deleteSession ( integer $id ) |
Delete a sessions of a profile. |
|
exists ( integer $id ) : boolean |
Check if a profile exists. |
|
existsByEmail ( string $email, integer $id = null ) : boolean |
Check if a profile exists by email address. |
|
existsDisplayName ( string $displayName, integer $id = null ) : boolean |
Check if a display name exists. |
|
existsGroup ( integer $id ) : boolean |
Check if a group exists. |
|
existsGroupName ( string $groupName, integer $id = null ) : boolean |
Check if a group name exists. |
|
existsProfileGroup ( integer $id ) : boolean |
Check if a profile is in a group. |
|
get ( integer $id ) : array |
Get information about a profile. |
|
getAvatar ( integer $id, string $email = null ) : string |
Get avatar |
|
getByEmail ( string $email ) : array |
Get information about a profile, by email |
|
getEncryptedString ( string $string, string $salt ) : string |
Encrypt a string with a salt. |
|
getGroup ( integer $id ) : array |
Get information about a profile group. |
|
getGroups ( ) : array |
Get the list of all groups as array($groupId => $groupName). |
|
getGroupsForDropDown ( integer $profileId, integer $includeId = null ) : array |
Get profile groups for dropdown not yet linked to a profile |
|
getProfileGroup ( integer $id ) : array |
Get information about a profile group where a user is member of. |
|
getProfileGroups ( integer $id ) : array |
Get the groups where a profile is member of. |
|
getRandomString ( integer $length = 15, boolean $numeric = true, boolean $lowercase = true, boolean $uppercase = true, boolean $special = true ) : string |
Generate a random string. |
|
getSetting ( integer $id, string $name ) : string |
Get a setting for a profile. |
|
getStatusForDropDown ( ) : array |
Fetch the list of status, but for a dropdown. |
|
getUrl ( string $displayName, integer $id = null ) : string |
Retrieve a unique URL for a profile based on the display name. |
|
getUser ( integer $id ) : string |
Get the HTML for a user to use in a datagrid |
|
importCsv ( array $data, null $groupId = null, boolean $overwriteExisting = false ) : array |
Import CSV data |
|
insert ( array $values ) : integer |
Insert a new profile. |
|
insertGroup ( array $values ) : integer |
Insert a new group. |
|
insertProfileGroup ( array $values ) : integer |
Add a profile to a group. |
|
notifyAdmin ( array $values, string $templatePath = null ) |
Notify admin - after adding profile to profiles module |
|
notifyProfile ( array $values, boolean $forUpdate = false, string $templatePath = null ) |
Notify profile - after adding profile to profiles module |
|
setSetting ( integer $id, string $name, mixed $value ) |
Insert or update a single profile setting. |
|
update ( integer $id, array $values ) : integer |
Update a profile. |
|
updateGroup ( integer $id, array $values ) : integer |
Update a profile group. |
|
updateProfileGroup ( integer $id, array $values ) : integer |
Update a membership of a profile in a group. |
|