ec_useracc.module

Version

1.1.2.7.2.12.2.32 (checked in on 2008/03/23 at 11:18:08 by sime)

Description

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.

Constants

Namesort iconDescription
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

Functions

Namesort iconDescription
ec_useracc_atexpiryProcess account blocks at expiry time.
ec_useracc_blankUsed to display a blank page.
ec_useracc_confirmationProcesses an email address confirmation.
ec_useracc_confirm_formProduces the confirmation form page in the user account editing section.
ec_useracc_createCreates 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_cronImplementation of hook_cron()
ec_useracc_ec_settingsImplementation of hook_settings()
ec_useracc_ec_transactionapiImplementation of hook_transactionapi()
ec_useracc_feature_infoImplementation of hook_feature_info()
ec_useracc_feature_insertImplementation of hook_feature_insert()
ec_useracc_feature_loadImplementation of hook_feature_load()
ec_useracc_feature_transactionImplementation of hook_feature_transaction()
ec_useracc_feature_txn_workflowImplementation of hook_feature_txn_workflow()
ec_useracc_feature_updateImplementation of hook_feature_update()
ec_useracc_is_creational_txnReturns true if the given transaction contains a creational product.
ec_useracc_loadLoads the user account provision information into the product node.
ec_useracc_login_blocked_userLogs in a blocked user. This function expects that the caller has checked $_SESSION['blocked_uid'] for a valid value.
ec_useracc_mail_resetImplementation of hook_mail_reset() from ec_mail module.
ec_useracc_mail_typesImplementation of hook_mail_types() from ec_mail module.
ec_useracc_menuImplementation of hook_menu().
ec_useracc_nodeapiImplementation of hook_nodeapi().
ec_useracc_product_form_alterImplementation of hook_product_form_alter(). Is only called if a node form is a product.
ec_useracc_recurringapiImplementation of hook_recurringapi().
ec_useracc_saveSaves the user account provision information contained in the given node. Returns true if the save was successful. Otherwise it returns false.
ec_useracc_send_confirmSends a confirmation mail to the given user.
ec_useracc_send_welcomeSends a welcome email to the given user's email address.
ec_useracc_token_listImplements hook_token_list() from the token module.
ec_useracc_token_valuesImplements hook_token_values() from the token module.
ec_useracc_unblockUnblocks the given user account.
ec_useracc_userImplementation of hook_user().
ec_useracc_validateValidates the node form.