1.1.2.7.2.12.2.32 (checked in on 2008/03/23 at 11:18:08 by sime)
ec_useracc.module Enables user account provision when products are purchased. @author Sammy Spets (thanks to Synerger Pty Ltd, Australia) @todo: Member-only discounts available on other products purchased when a user account is purchased.
| Name | Description |
|---|---|
| ECMAIL_TYPE_EMAIL_CONFIRM | |
| ECMAIL_TYPE_SITE_WELCOME | |
| ECUSERACC_CODE_NCHARS | |
| ECUSERACC_DEFAULT_CONFIRM_EXPIRY | |
| ECUSERACC_SECONDS_PER_DAY | |
| MAILVAR_EMAIL_CONFIRM | |
| MAILVAR_SITE_WELCOME |
| Name | Description |
|---|---|
| ec_useracc_atexpiry | Process account blocks at expiry time. |
| ec_useracc_blank | Used to display a blank page. |
| ec_useracc_confirmation | Processes an email address confirmation. |
| ec_useracc_confirm_form | Produces the confirmation form page in the user account editing section. |
| ec_useracc_create | Creates a user account for the given transaction and product. This function assumes the product given is a creational one. If the current user is logged in this function does nothing. |
| ec_useracc_cron | Implementation of hook_cron() |
| ec_useracc_ec_settings | Implementation of hook_settings() |
| ec_useracc_ec_transactionapi | Implementation of hook_transactionapi() |
| ec_useracc_feature_info | Implementation of hook_feature_info() |
| ec_useracc_feature_insert | Implementation of hook_feature_insert() |
| ec_useracc_feature_load | Implementation of hook_feature_load() |
| ec_useracc_feature_transaction | Implementation of hook_feature_transaction() |
| ec_useracc_feature_txn_workflow | Implementation of hook_feature_txn_workflow() |
| ec_useracc_feature_update | Implementation of hook_feature_update() |
| ec_useracc_is_creational_txn | Returns true if the given transaction contains a creational product. |
| ec_useracc_load | Loads the user account provision information into the product node. |
| ec_useracc_login_blocked_user | Logs in a blocked user. This function expects that the caller has checked $_SESSION['blocked_uid'] for a valid value. |
| ec_useracc_mail_reset | Implementation of hook_mail_reset() from ec_mail module. |
| ec_useracc_mail_types | Implementation of hook_mail_types() from ec_mail module. |
| ec_useracc_menu | Implementation of hook_menu(). |
| ec_useracc_nodeapi | Implementation of hook_nodeapi(). |
| ec_useracc_product_form_alter | Implementation of hook_product_form_alter(). Is only called if a node form is a product. |
| ec_useracc_recurringapi | Implementation of hook_recurringapi(). |
| ec_useracc_save | Saves the user account provision information contained in the given node. Returns true if the save was successful. Otherwise it returns false. |
| ec_useracc_send_confirm | Sends a confirmation mail to the given user. |
| ec_useracc_send_welcome | Sends a welcome email to the given user's email address. |
| ec_useracc_token_list | Implements hook_token_list() from the token module. |
| ec_useracc_token_values | Implements hook_token_values() from the token module. |
| ec_useracc_unblock | Unblocks the given user account. |
| ec_useracc_user | Implementation of hook_user(). |
| ec_useracc_validate | Validates the node form. |