Свойство | Type | Description | |
---|---|---|---|
$FieldProperties | Whitelist of allowed field properties. | ||
$FormTypes | Available form field types in format Gdn_Type => DisplayName. | ||
$MagicLabels | array | ||
$ProfileFields | array | ||
$ReservedNames | Prevents accidental or malicious overwrite of sensitive fields. |
Méthode | Description | |
---|---|---|
base_AuthorInfo_handler ( $Sender, $Args ) | Add custom fields to discussions. | |
base_getAppSettingsMenuItems_handler ( $Sender ) | Add the Dashboard menu item. | |
base_render_before ( $sender ) | ||
entryController_registerBeforePassword_handler ( $Sender ) | Add non-checkbox fields to registration forms. | |
entryController_registerFormBeforeTerms_handler ( $Sender ) | Add checkbox fields to registration forms. | |
entryController_registerValidation_handler ( $Sender ) | Required fields on registration forms. | |
parseSpecialFields ( $Fields = [] ) | Special manipulations. | |
profileController_editMyAccountAfter_handler ( $Sender ) | Add fields to edit profile form. | |
settingsController_profileExtender_create ( $Sender ) | Settings page. | |
settingsController_profileFieldAddEdit_create ( $Sender, $Args ) | Add/edit a field. | |
settingsController_profileFieldDelete_create ( $Sender, $Args ) | Delete a field. | |
setup ( ) | Import from CustomProfileFields or upgrade from ProfileExtender 2.0. | |
userController_afterFormInputs_handler ( $Sender ) | Display custom fields on Edit User form. | |
userInfoModule_onBasicInfo_handler ( $Sender ) | Display custom fields on Profile. | |
userModel_afterInsertUser_handler ( $Sender, $Args ) | Save custom profile fields on registration. | |
userModel_afterSave_handler ( $Sender, $Args ) | Save custom profile fields when saving the user. | |
utilityController_exportProfiles_create ( $sender ) | Endpoint to export basic user data along with all custom fields into CSV. |
Méthode | Description | |
---|---|---|
updateUserFields ( $UserID, $Fields ) | Update user with new profile fields. |
Méthode | Description | |
---|---|---|
getProfileField ( $Name ) : array | Get data for a single profile field. | |
getProfileFields ( ) : array | Get custom profile fields. | |
profileFields ( $Sender ) | Display custom profile fields on form. |
public base_AuthorInfo_handler ( $Sender, $Args ) |
public base_getAppSettingsMenuItems_handler ( $Sender ) |
public entryController_registerBeforePassword_handler ( $Sender ) |
public entryController_registerFormBeforeTerms_handler ( $Sender ) |
public entryController_registerValidation_handler ( $Sender ) |
public parseSpecialFields ( $Fields = [] ) |
public profileController_editMyAccountAfter_handler ( $Sender ) |
public settingsController_profileExtender_create ( $Sender ) |
public settingsController_profileFieldAddEdit_create ( $Sender, $Args ) |
public settingsController_profileFieldDelete_create ( $Sender, $Args ) |
public setup ( ) |
protected updateUserFields ( $UserID, $Fields ) | ||
$UserID | int | |
$Fields | array |
public userController_afterFormInputs_handler ( $Sender ) |
public userInfoModule_onBasicInfo_handler ( $Sender ) |
public userModel_afterInsertUser_handler ( $Sender, $Args ) | ||
$Sender | object | |
$Args | array |
public userModel_afterSave_handler ( $Sender, $Args ) | ||
$Sender | object | |
$Args | array |
public utilityController_exportProfiles_create ( $sender ) |
public $FormTypes |