uc_store.module

Description

Contains global Ubercart functions and store administration functionality.

The store module is a container of sorts for various helper functions used in different parts of the Ubercart core. It also provides screens and settings pages for use in store administration.

Constants

Namesort iconDescription
CM_TO_CM
CM_TO_FT
CM_TO_IN
CM_TO_MM
FT_TO_CM
FT_TO_FT
FT_TO_IN
FT_TO_MM
G_TO_G
G_TO_KG
G_TO_LB
G_TO_OZ
IN_TO_CM
IN_TO_FT
IN_TO_IN
IN_TO_MM
KG_TO_G
KG_TO_KGUnit conversion ratios.
KG_TO_LB
KG_TO_OZ
LB_TO_G
LB_TO_KG
LB_TO_LB
LB_TO_OZ
MM_TO_CM
MM_TO_FT
MM_TO_IN
MM_TO_MM
OZ_TO_G
OZ_TO_KG
OZ_TO_LB
OZ_TO_OZ

Functions

Namesort iconDescription
theme_uc_admin_dashboard
theme_uc_pane_sort_tableTheme a pane sorting form into a table!
theme_uc_settings_overviewTheme an array of settings information into a pretty little table.
theme_uc_store_address_fields_form
theme_uc_store_block_links
theme_uc_store_footer
uc_address_field_enabledReturn TRUE if a field is enabled.
uc_address_field_requiredReturn TRUE if a field is required.
uc_address_formatFormat an address for display based on a country's address format.
uc_add_js
uc_country_disableDisable a country so it remains installed but is no longer selectable.
uc_country_enableEnable a disabled country.
uc_country_formats_form
uc_country_formats_form_submit
uc_country_import_form
uc_country_import_form_submit
uc_country_remove_form
uc_country_remove_form_submit
uc_country_selectCreate a country select box for a form. $display can be 'name', 'code2' for the 2-digit code, or 'code3' for the 3-digit code.
uc_country_settings_overviewDisplay the country settings overview.
uc_country_updateUpdate a country to its latest version.
uc_currency_formatFormat an amount for display with the store's currency settings.
uc_date_formatFormat a date value for display.
uc_get_addresses
uc_get_country_dataReturns the rows of countries whose data matches the fields specified in the $fields array.
uc_get_field_nameReturn the name of an address field.
uc_get_initials
uc_get_messageReturn the default message for a configurable message.
uc_get_zone_codeReturn the code abbreviation for a zone based on the zone ID or name.
uc_get_zone_idsReturn an array of IDs to use for country file zone INSERTs!
uc_length_conversion
uc_length_formatFormat a length value for display.
uc_numeric_validate
uc_rangeReturn an array of values like PHP 5's range function.
uc_select_addressCreate an address select box based on a user's previous orders.
uc_select_dayCreate a day select box for a form.
uc_select_monthCreate a month select box for a form.
uc_select_yearCreate a year select box for a form.
uc_set_address_formatSave the address format for a country.
uc_store_address
uc_store_address_fields_form
uc_store_address_fields_form_submit
uc_store_admin
uc_store_blockImplementation of hook_block().
uc_store_census_settings
uc_store_configuration_pageDisplay store configuration page.
uc_store_cronImplementation of hook_cron().
uc_store_customersDisplay customer administration page.
uc_store_customer_orders
uc_store_customer_searchDisplay the customer search page.
uc_store_customer_search_form
uc_store_customer_search_form_submit
uc_store_default_country
uc_store_display_settings_form
uc_store_email_from
uc_store_encryption_errorsLogs encryption errors to watchdog.
uc_store_footerImplementation of hook_footer().
uc_store_format_settings_form
uc_store_get_iconReturn the IMG tag for a store icon.
uc_store_help
uc_store_initImplementation of hook_init().
uc_store_initialsForm to enter initials for an administrative user.
uc_store_initials_submit
uc_store_js_utilA handler for Javascript helper functions...
uc_store_menuImplementation of hook_menu().
uc_store_permImplementation of hook_perm().
uc_store_reportsDisplay main reports page.
uc_store_store_settings_form
uc_store_store_settings_overviewDisplay the store settings overview page.
uc_store_tablesList of extensible TAPIr tables used by Ubercart.
uc_store_token_listImplementation of hook_token_list(). (token.module)
uc_store_token_valuesImplementation of hook_token_values(). (token.module)
uc_store_ubercart_helpDisplay store help page.
uc_store_ubercart_help_tokensDisplay the tokens help page.
uc_strip_formStrip <form> tags and form_token and form_id hidden fields from form HTML for use in an AJAX populated div. (Enables these values to be access via $_POST.)
uc_textfieldA simple Forms API textfield generator...
uc_weight_conversion
uc_weight_formatFormat a weight value for display.
uc_weight_sort
uc_zone_selectCreate a zone select box for a form. $display can be 'code' or 'name'.
_country_import_includeInclude the appropriate country file and return the base for hooks.
_country_import_listReturn an array of country files in ubercart/uc_store/countries that can be installed or updated.
_store_footer_options