Method |
Description |
|
deleteSetting ( integer $id, string $name ) : integer |
Delete a setting. |
|
existsByEmail ( string $email, integer $ignoreId = null ) : boolean |
Check if a profile exists by email address. |
|
existsDisplayName ( string $displayName, integer $id = null ) : boolean |
Check if a display name exists. |
|
get ( integer $profileId ) : Profile |
Get profile by its id. |
|
getAvatar ( integer $id, string $email = null, string $size = '240x240' ) : string |
Get avatar |
|
getEncryptedString ( string $string, string $salt ) : string |
Get an encrypted string. |
|
getIdByEmail ( string $email ) : integer |
Get profile id by email. |
|
getIdBySetting ( string $name, string $value ) : integer |
Get profile id by setting. |
|
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. |
|
getSettings ( integer $id ) : array |
Get all settings for a profile. |
|
getUrl ( string $displayName, integer $id = null ) : string |
Retrieve a unique URL for a profile based on the display name. |
|
insert ( array $values ) : integer |
Insert a new profile. |
|
parse ( ) |
Parse the general profiles info into the template. |
|
setSetting ( integer $id, string $name, string $value ) |
Insert or update a single profile setting. |
|
setSettings ( integer $id, array $values ) |
Insert or update multiple profile settings. |
|
update ( integer $id, array $values ) : integer |
Update a profile. |
|