-
$_account
-
The account which has been activated, not valid otherwise.
-
$_account
-
The user account we are managing. This is taken from the currently active user if no account is specified in the URL, or from the GUID passed to the system.
-
$_account
-
The user account we are managing. This is taken from the currently active user if no account is specified in the URL, or from the GUID passed to the system.
-
$_account
-
The user account we are managing. This is taken from the currently active user if no account is specified in the URL, or from the GUID passed to the system.
-
$_account
-
The user account we are managing. This is taken from the currently active user if no account is specified in the URL, or from the GUID passed to the system.
-
$_account_type
-
The type of account which is being registered. This is a schema name.
-
$_avatar
-
The Avatar image, if set.
-
$_avatar
-
The Avatar image, if set.
-
$_avatar_thumbnail
-
The Avatar thumbnail image, if set.
-
$_avatar_thumbnail
-
The Avatar thumbnail image, if set.
-
$_controller
-
The controller used to display the password changer dialog.
-
$_controller
-
The DM2 controller used to edit the datamanager form.
-
$_controller
-
The datamanager controller instance used to create the new record.
-
$_datamanager
-
The datamanager used to load the account-related information.
-
$_datamanager
-
The datamanager used to load the account-related information.
-
$_datamanager
-
The datamanager used to load the account-related information.
-
$_fields
-
This is a list of visible field names of the current account. It is computed after account loading. They are listed in the order they appear in the schema.
-
$_person
-
The person record of the account which has been activated. Not valid otherwise.
-
$_processing_msg
-
Helper variable, containg a localized message to be shown to the user indicating the form's processing state.
-
$_processing_msg
-
The account activation processing message. Used for already-activated style messages.
-
$_processing_msg
-
Helper variable, containg a localized message to be shown to the user indicating the form's processing state.
-
$_processing_msg_raw
-
The raw, untranslated processing message. Use this if you want to have your own translation beside the defaults given by the component. The variable contains the l10n string IDs.
-
$_processing_msg_raw
-
The raw, untranslated processing message. Use this if you want to have your own translation beside the defaults given by the component. The variable contains the l10n string IDs.
-
$_processing_msg_raw
-
The raw, untranslated processing message. Use this if you want to have your own translation beside the defaults given by the component. The variable contains the l10n string IDs.
-
$_schemadb
-
The schema database in use at this topic. This is loaded on-demand only.
-
$_schemadb
-
The schema database to use when creating new accounts.
-
$_stage
-
This member indicates the processing stage we are in, this is used in the sessioning code to connect the various requests. The value is transited by a hidden form element.
-
$_success
-
This is true if we did successfully change the password. It will then display a simple password-changed-successfully response.
-
$_topic
-
The topic we are managing.
-
$_type_groups
-
Internal helper, which contains a list of all midcom_core_group records for the defined account types.
-
$_user
-
The midcom_core_user object matching the loaded account. This is useful for isonline checkes and the like.
-
$_view_quick
-
This is true if we are in the quick-view mode, which displays only the administrativly assigned fields, along with a link to the full profile view. This makes live a bit easier when including profiles in other components.
-
$_view_self
-
This flag is set to true if we are viewing the account of the currently registered user. This influences the access control of the account display.
-
$_visible_fields
-
This is a list of visible field names of the current account. It is computed after account loading. They are listed in the order they appear in the schema.
-
$_visible_fields_user_selection
-
This is an array extracted out of the parameter net.nehmer.account/visible_field_list, which holds the names of all fields the user has marked visible. This is loaded once when determining visibilities.
-
$_visible_fields_user_selection
-
This is an array extracted out of the parameter net.nehmer.account/visible_field_list, which holds the names of all fields the user has marked visible. This is loaded once when determining visibilities.
-
_activate_account
-
This call will actually activate the account, gaining privileges using the sudo service.
-
_auto_publish_account_details
-
This call automatically publishes the account details if the component is configured to do so. This encompasses all user-publishable schema fields regardless of their content.
-
_check_old_password
-
This function checks the old password entered into the pwchange_controller against the account password.
-
_compute_cancel_membership_confirm_hash
-
Helper function which takes a number of login session specific items into account, that should protect against social-hacking attacks on a user not actually wanting to cancel his membership.
-
_compute_fields
-
This function iterates over the field list and produces the information needed to render the form. All linked fields are consolidated together in the order they appear, with the master field being the only one in the main array, and the rest available as "linkers".
-
_compute_visible_fields
-
This function iterates over the field list in the schema and puts a list of fields the user may see together.
-
_create_account
-
This function will create a new controller based on the simple storage backend to store the entered information into a newly created storage object.
-
_create_null_controller
-
This starts up a datamanager suitable for the first stage of processing. It will render the form without any storage object.
-
_drop_account
-
Actually deletes the current account. On any error, generate_error is triggered.
-
_handler_activate
-
This is a simple handler which verifies if the argument pair given in the URL is a correct Person GUID / Account Activation Hash pair. If yes, the account will be activated, and the user will be relocated to a success page.
-
_handler_cancel_membership
-
This function prepares everything to cancel the membership, it basically follows the same procedure as handle_password.
-
_handler_edit
-
This handler loads the account, validates permissions and starts up the datamanager.
-
_handler_lostpassword
-
This function prepares everything to update the username, it basically follows the same procedure as handle_password.
-
_handler_password
-
The handler provides publishing support. After creating and preparing all members, it will first process the form. Afterwards, it provides the means to display the publishing form.
-
_handler_publish
-
The handler provides publishing support. After creating and preparing all members, it will first process the form. Afterwards, it provides the means to display the publishing form.
-
_handler_publish_ok
-
This handler is shown upon successful processing. While it is always valid, no actual operation is done at this point, the publish handler does this and relocates here on success.
-
_handler_register
-
This handler manages the actual input of the required information, using the DM2.
-
_handler_select_type
-
This is the main request handler, which shows a list of account types based on the schema database. If only one schema is available, it automatically relocates to the corresponding form.
-
_handler_username
-
This function prepares everything to update the username, it basically follows the same procedure as handle_password.
-
_handler_view
-
The view handler will load the account and set the appropriate flags for startup preparation according to the handler name.
-
_handler_welcome
-
Simple welcome page, lists available plugins. All work done in the show call.
-
_handle_confirm_stage
-
This function handles the confirm stage. Cancel relocates back to the account type selection screen, next will save previous will go back to allow the user to edit the data.
-
_handle_input_stage
-
This is an internal helper function which handles the input stage, e.g. the form which is open for input.
-
_invoke_account_activation_callback
-
This function invokes the callback set in the component configuration upon activation of an account. It will be executed at the end of the activation with sudo privilgeges.
-
_invoke_cancel_membership_callback
-
This function invokes the callback set in the component configuration upon deleting an account. It will be executed immediately before the actual delete operation.
-
_is_field_visible
-
This helper uses the 'visible_mode' customdata member to compute actual visibility of a field. Possible settings:
-
_is_field_visible
-
This helper uses the 'visible_mode' customdata member to compute actual visibility of a field.
-
_load_plugin
-
Loads the plugin identified by $name. Only the on-site listing is loaded.
-
_load_plugin
-
Loads the plugin identified by $name. Only the on-site listing is loaded.
-
_load_plugin_class
-
Loads the file/snippet neccessary for a given plugin, according to its configuration.
-
_load_plugin_class
-
Loads the file/snippet neccessary for a given plugin, according to its configuration.
-
_load_schema_db
-
Internal helper, which loads the schema database into the member _schemadb if it has not yet been loaded.
-
_load_type_groups
-
Internal helper, which loads the account group listing into the member _type_groups if it has not yet been loaded.
-
_on_can_handle
-
This event hook will load any on-site plugin that has been recognized in the configuration.
-
_on_can_handle
-
This event hook will load any on-site plugin that has been recognized in the configuration.
-
_on_execute
-
-
_on_initialize
-
-
_on_initialize
-
-
_on_initialize
-
-
_patch_schema
-
This function patches the active schema to have the correct navigation buttons present.
-
_prepare_datamanager
-
Internal helper funciton, prepares a datamanager based on the current account.
-
_prepare_datamanager
-
Internal helper funciton, prepares a datamanager based on the current account.
-
_prepare_datamanager
-
Internal helper funciton, prepares a datamanager based on the current account.
-
_prepare_datamanager
-
Internal helper funciton, prepares a datamanager based on the current account.
-
_prepare_lostpassword_formmanager
-
This function prepares the form manager used to change the password.
-
_prepare_plugin
-
Prepares the actual plugin by adding all neccessary information to the request switch.
-
_prepare_plugin
-
Prepares the actual plugin by adding all neccessary information to the request switch.
-
_prepare_pwchange_formmanager
-
This function prepares the form manager used to change the password.
-
_prepare_request_data
-
This function prepares the requestdata with all computed values.
-
_prepare_request_data
-
This function prepares the requestdata with all computed values.
-
_prepare_request_data
-
This function prepares the requestdata with all computed values.
-
_prepare_request_data
-
This is the request data preparation code used during the actual registration sequence.
-
_prepare_request_data
-
This function prepares the requestdata with all computed values.
-
_prepare_usernamechange_formmanager
-
This function prepares the form manager used to change the password.
-
_process_cancel_membership
-
Actual membership cancellation, looks for the REQUEST key cancel_ok and then invalidates the password and sets a property about when the account was disabled.
-
_process_form
-
This function processes the form, computing the visible field list for the current selection. If no form submission can be found, the method exits unconditionally.
-
_process_image_upload
-
Helper function, called during form processing. Takes any image upload from the avatar field and processes it accordingly.
-
_process_lostpassword_form
-
This function processes the form, creating a new password and mailing it to the user in question.
-
_process_pwchange_form
-
This function processes the form, computing the visible field list for the current selection. If no form submission can be found, the method exits unconditionally.
-
_process_usernamechange_form
-
This function processes the form, computing the visible field list for the current selection. If no form submission can be found, the method exits unconditionally.
-
_register_username_validation_rule
-
Add further validation rules, this is done with the form directly, as we have to register the callback first. We have to load the callback file manually, as we don't add it to the standard loader code.
-
_render_field
-
A little helper which extracts the view of the given type
-
_render_field
-
A little helper which extracts the view of the given type
-
_reset_password
-
This is an internal helper function, resetting the password for the given username to a randomly generated one.
-
_send_registration_mail
-
This is a simple function which generates and sends an account registration confirmation including the randomly-generated password and the corresponding activation link.
-
_send_reset_mail
-
This is a simple function which generates and sends a password reset mail.
-
_send_welcome_mail
-
Sends a welcome mail to the user given in the _account member. It will exit directly if the net.nehmer.mail integration is disabled.
-
_show_activate
-
Lists the available account types.
-
_show_cancel_membership
-
Shows either the mebership cancel confirmation dialog or a succcess message.
-
_show_edit
-
The rendering code consists of a standard init/loop/end construct.
-
_show_lostpassword
-
Shows either the username change dialog or a succcess message.
-
_show_password
-
Shows the the password changing dialog.
-
_show_publish
-
This handler loops over all fields, displaying them in turn. The sequence is
-
_show_publish_ok
-
This handler shows the successful-publishing message, it has the same information available, as the actual publishing hanlder, but it consists of only one style element, containing a simple "your details have been submitted message".
-
_show_register
-
Lists the available account types.
-
_show_select_type
-
Lists the available account types.
-
_show_username
-
Shows either the username change dialog or a succcess message.
-
_show_view
-
The rendering code consists of a standard init/loop/end construct.
-
_show_welcome
-
-
_update_image_attachment
-
Internal helper, which takes a file and creates or updates the corresponding attachment identified by its name.
-
_update_password
-
This helper will update the password to the new value and synchronize the last changed timestamp accordingly.