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
| Name | Description |
|---|---|
| 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_KG | Unit 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
| Name | Description |
|---|---|
| theme_uc_admin_dashboard | |
| theme_uc_pane_sort_table | Theme a pane sorting form into a table! |
| theme_uc_settings_overview | Theme 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_enabled | Return TRUE if a field is enabled. |
| uc_address_field_required | Return TRUE if a field is required. |
| uc_address_format | Format an address for display based on a country's address format. |
| uc_add_js | |
| uc_country_disable | Disable a country so it remains installed but is no longer selectable. |
| uc_country_enable | Enable 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_select | Create 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_overview | Display the country settings overview. |
| uc_country_update | Update a country to its latest version. |
| uc_currency_format | Format an amount for display with the store's currency settings. |
| uc_date_format | Format a date value for display. |
| uc_get_addresses | |
| uc_get_country_data | Returns the rows of countries whose data matches the fields specified in the $fields array. |
| uc_get_field_name | Return the name of an address field. |
| uc_get_initials | |
| uc_get_message | Return the default message for a configurable message. |
| uc_get_zone_code | Return the code abbreviation for a zone based on the zone ID or name. |
| uc_get_zone_ids | Return an array of IDs to use for country file zone INSERTs! |
| uc_length_conversion | |
| uc_length_format | Format a length value for display. |
| uc_numeric_validate | |
| uc_range | Return an array of values like PHP 5's range function. |
| uc_select_address | Create an address select box based on a user's previous orders. |
| uc_select_day | Create a day select box for a form. |
| uc_select_month | Create a month select box for a form. |
| uc_select_year | Create a year select box for a form. |
| uc_set_address_format | Save 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_block | Implementation of hook_block(). |
| uc_store_census_settings | |
| uc_store_configuration_page | Display store configuration page. |
| uc_store_cron | Implementation of hook_cron(). |
| uc_store_customers | Display customer administration page. |
| uc_store_customer_orders | |
| uc_store_customer_search | Display 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_errors | Logs encryption errors to watchdog. |
| uc_store_footer | Implementation of hook_footer(). |
| uc_store_format_settings_form | |
| uc_store_get_icon | Return the IMG tag for a store icon. |
| uc_store_help | |
| uc_store_init | Implementation of hook_init(). |
| uc_store_initials | Form to enter initials for an administrative user. |
| uc_store_initials_submit | |
| uc_store_js_util | A handler for Javascript helper functions... |
| uc_store_menu | Implementation of hook_menu(). |
| uc_store_perm | Implementation of hook_perm(). |
| uc_store_reports | Display main reports page. |
| uc_store_store_settings_form | |
| uc_store_store_settings_overview | Display the store settings overview page. |
| uc_store_tables | List of extensible TAPIr tables used by Ubercart. |
| uc_store_token_list | Implementation of hook_token_list(). (token.module) |
| uc_store_token_values | Implementation of hook_token_values(). (token.module) |
| uc_store_ubercart_help | Display store help page. |
| uc_store_ubercart_help_tokens | Display the tokens help page. |
| uc_strip_form | Strip <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_textfield | A simple Forms API textfield generator... |
| uc_weight_conversion | |
| uc_weight_format | Format a weight value for display. |
| uc_weight_sort | |
| uc_zone_select | Create a zone select box for a form. $display can be 'code' or 'name'. |
| _country_import_include | Include the appropriate country file and return the base for hooks. |
| _country_import_list | Return an array of country files in ubercart/uc_store/countries that can be installed or updated. |
| _store_footer_options |
