|
ZenCart_Documentation
1.5.0
http://www.collinsharper.com
|
Go to the source code of this file.
| create_coupon_code | ( | $ | salt = "secret", |
| $ | length = SECURITY_CODE_LENGTH |
||
| ) |
Definition at line 1832 of file general.php.
| fmod_round | ( | $ | x, |
| $ | y | ||
| ) |
Definition at line 3246 of file general.php.
| zen_add_tax | ( | $ | price, |
| $ | tax | ||
| ) |
Definition at line 1637 of file general.php.
| zen_admin_demo | ( | ) |
Definition at line 2408 of file general.php.
Definition at line 1609 of file general.php.
| zen_break_string | ( | $ | string, |
| $ | len, | ||
| $ | break_char = '-' |
||
| ) |
Definition at line 315 of file general.php.
| zen_browser_detect | ( | $ | component | ) |
Definition at line 402 of file general.php.
| zen_calculate_tax | ( | $ | price, |
| $ | tax | ||
| ) |
Definition at line 1648 of file general.php.
| zen_call_function | ( | $ | function, |
| $ | parameter, | ||
| $ | object = '' |
||
| ) |
Definition at line 1701 of file general.php.
| zen_cfg_get_zone_name | ( | $ | zone_id | ) |
Definition at line 946 of file general.php.
| zen_cfg_password_display | ( | $ | value | ) |
Definition at line 974 of file general.php.
| zen_cfg_password_input | ( | $ | value, |
| $ | key = '' |
||
| ) |
Definition at line 970 of file general.php.
| zen_cfg_pull_down_country_list | ( | $ | country_id, |
| $ | key = '' |
||
| ) |
Definition at line 889 of file general.php.
| zen_cfg_pull_down_country_list_none | ( | $ | country_id, |
| $ | key = '' |
||
| ) |
Definition at line 896 of file general.php.
| zen_cfg_pull_down_htmleditors | ( | $ | html_editor, |
| $ | key = '' |
||
| ) |
Definition at line 959 of file general.php.
| zen_cfg_pull_down_order_statuses | ( | $ | order_status_id, |
| $ | key = '' |
||
| ) |
Definition at line 1743 of file general.php.
| zen_cfg_pull_down_tax_classes | ( | $ | tax_class_id, |
| $ | key = '' |
||
| ) |
Definition at line 911 of file general.php.
| zen_cfg_pull_down_zone_classes | ( | $ | zone_class_id, |
| $ | key = '' |
||
| ) |
Definition at line 1723 of file general.php.
| zen_cfg_pull_down_zone_list | ( | $ | zone_id, |
| $ | key = '' |
||
| ) |
Definition at line 904 of file general.php.
| zen_cfg_select_coupon_id | ( | $ | coupon_id, |
| $ | key = '' |
||
| ) |
Definition at line 871 of file general.php.
| zen_cfg_select_drop_down | ( | $ | select_array, |
| $ | key_value, | ||
| $ | key = '' |
||
| ) |
Definition at line 1028 of file general.php.
| zen_cfg_select_multioption | ( | $ | select_array, |
| $ | key_value, | ||
| $ | key = '' |
||
| ) |
Definition at line 2951 of file general.php.
| zen_cfg_select_option | ( | $ | select_array, |
| $ | key_value, | ||
| $ | key = '' |
||
| ) |
Definition at line 1011 of file general.php.
| zen_cfg_textarea | ( | $ | text, |
| $ | key = '' |
||
| ) |
Definition at line 932 of file general.php.
| zen_cfg_textarea_small | ( | $ | text, |
| $ | key = '' |
||
| ) |
Definition at line 940 of file general.php.
| zen_childs_in_category_count | ( | $ | categories_id | ) |
Definition at line 764 of file general.php.
| zen_class_exists | ( | $ | class_name | ) |
Definition at line 708 of file general.php.
| zen_clean_html | ( | $ | clean_it | ) |
Definition at line 2977 of file general.php.
| zen_convert_linefeeds | ( | $ | from, |
| $ | to, | ||
| $ | string | ||
| ) |
Definition at line 1799 of file general.php.
| zen_copy_discounts_to_product | ( | $ | copy_from, |
| $ | copy_to | ||
| ) |
Definition at line 3209 of file general.php.
| zen_copy_products_attributes | ( | $ | products_id_from, |
| $ | products_id_to | ||
| ) |
Definition at line 2026 of file general.php.
| zen_count_days | ( | $ | start_date, |
| $ | end_date, | ||
| $ | lookup = 'm' |
||
| ) |
Definition at line 3276 of file general.php.
| zen_count_products_in_cats | ( | $ | category_id | ) |
Definition at line 2790 of file general.php.
| zen_customers_name | ( | $ | customers_id | ) |
Definition at line 62 of file general.php.
| zen_date_diff | ( | $ | date1, |
| $ | date2 | ||
| ) |
Definition at line 3119 of file general.php.
| zen_date_long | ( | $ | raw_date | ) |
Definition at line 132 of file general.php.
| zen_date_short | ( | $ | raw_date | ) |
Definition at line 150 of file general.php.
| zen_datetime_short | ( | $ | raw_datetime | ) |
Definition at line 170 of file general.php.
| zen_delete_products_attributes | ( | $ | delete_product_id | ) |
Definition at line 2241 of file general.php.
| zen_display_tax_value | ( | $ | value, |
| $ | padding = TAX_DECIMAL_PLACES |
||
| ) |
Definition at line 1563 of file general.php.
| zen_draw_date_selector | ( | $ | prefix, |
| $ | date = '' |
||
| ) |
Definition at line 1875 of file general.php.
| zen_draw_products_pull_down | ( | $ | name, |
| $ | parameters = '', |
||
| $ | exclude = '', |
||
| $ | show_id = false, |
||
| $ | set_selected = false, |
||
| $ | show_model = false, |
||
| $ | show_current_category = false |
||
| ) |
Definition at line 229 of file general.php.
| zen_draw_products_pull_down_attributes | ( | $ | name, |
| $ | parameters = '', |
||
| $ | exclude = '' |
||
| ) |
Definition at line 2267 of file general.php.
| zen_draw_products_pull_down_categories | ( | $ | name, |
| $ | parameters = '', |
||
| $ | exclude = '', |
||
| $ | show_id = false, |
||
| $ | show_parent = false |
||
| ) |
Definition at line 2306 of file general.php.
| zen_draw_products_pull_down_categories_attributes | ( | $ | name, |
| $ | parameters = '', |
||
| $ | exclude = '' |
||
| ) |
Definition at line 2349 of file general.php.
| zen_field_length | ( | $ | tbl, |
| $ | fld | ||
| ) |
Definition at line 2180 of file general.php.
| zen_field_type | ( | $ | tbl, |
| $ | fld | ||
| ) |
Definition at line 2171 of file general.php.
| zen_generate_category_path | ( | $ | id, |
| $ | from = 'category', |
||
| $ | categories_array = '', |
||
| $ | index = 0 |
||
| ) |
Definition at line 1122 of file general.php.
| zen_geo_zones_pull_down | ( | $ | parameters, |
| $ | selected = '' |
||
| ) |
Definition at line 427 of file general.php.
| zen_geo_zones_pull_down_coupon | ( | $ | parameters, |
| $ | selected = '' |
||
| ) |
Definition at line 3349 of file general.php.
Definition at line 854 of file general.php.
| zen_get_all_get_params | ( | $ | exclude_array = '' | ) |
Definition at line 116 of file general.php.
| zen_get_categories | ( | $ | categories_array = '', |
| $ | parent_id = '0', |
||
| $ | indent = '' |
||
| ) |
Definition at line 2713 of file general.php.
| zen_get_categories_name_from_product | ( | $ | product_id | ) |
Definition at line 2780 of file general.php.
| zen_get_categories_products_list | ( | $ | categories_id, |
| $ | include_deactivated = false, |
||
| $ | include_child = true |
||
| ) |
Definition at line 3310 of file general.php.
| zen_get_categories_status | ( | $ | categories_id | ) |
Definition at line 2743 of file general.php.
| zen_get_category_description | ( | $ | category_id, |
| $ | language_id | ||
| ) |
Definition at line 613 of file general.php.
| zen_get_category_name | ( | $ | category_id, |
| $ | language_id | ||
| ) |
Definition at line 602 of file general.php.
| zen_get_category_tree | ( | $ | parent_id = '0', |
| $ | spacing = '', |
||
| $ | exclude = '', |
||
| $ | category_tree_array = '', |
||
| $ | include_itself = false, |
||
| $ | category_has_products = false, |
||
| $ | limit = false |
||
| ) |
Definition at line 184 of file general.php.
| zen_get_configuration_key_value | ( | $ | lookup | ) |
Definition at line 2560 of file general.php.
| zen_get_configuration_key_value_layout | ( | $ | lookup, |
| $ | type = 1 |
||
| ) |
Definition at line 2684 of file general.php.
| zen_get_countries | ( | $ | default = '' | ) |
Definition at line 785 of file general.php.
| zen_get_country_name | ( | $ | country_id | ) |
Definition at line 336 of file general.php.
Definition at line 350 of file general.php.
| zen_get_country_zones | ( | $ | country_id | ) |
Definition at line 808 of file general.php.
| zen_get_customers_address_book | ( | $ | customer_id | ) |
Definition at line 3374 of file general.php.
| zen_get_file_directory | ( | $ | check_directory, |
| $ | check_file, | ||
| $ | dir_only = 'false' |
||
| ) |
Definition at line 3002 of file general.php.
| zen_get_file_permissions | ( | $ | mode | ) |
Definition at line 1484 of file general.php.
| zen_get_generated_category_path_ids | ( | $ | id, |
| $ | from = 'category' |
||
| ) |
Definition at line 1181 of file general.php.
| zen_get_geo_zone_name | ( | $ | geo_zone_id | ) |
Definition at line 446 of file general.php.
| zen_get_handler_from_type | ( | $ | product_type | ) |
Definition at line 2616 of file general.php.
| zen_get_language_icon | ( | $ | lookup | ) |
Definition at line 2207 of file general.php.
| zen_get_language_name | ( | $ | lookup | ) |
Definition at line 2232 of file general.php.
Definition at line 584 of file general.php.
| zen_get_manufacturer_url | ( | $ | manufacturer_id, |
| $ | language_id | ||
| ) |
Definition at line 694 of file general.php.
| zen_get_master_categories_pulldown | ( | $ | product_id | ) |
Definition at line 2915 of file general.php.
| zen_get_option_name_language | ( | $ | option, |
| $ | language | ||
| ) |
Definition at line 2216 of file general.php.
| zen_get_option_name_language_sort_order | ( | $ | option, |
| $ | language | ||
| ) |
Definition at line 2224 of file general.php.
| zen_get_order_status_name | ( | $ | order_status_id, |
| $ | language_id = '' |
||
| ) |
Definition at line 1762 of file general.php.
| zen_get_orders_comments | ( | $ | orders_id | ) |
Definition at line 3387 of file general.php.
Definition at line 637 of file general.php.
| zen_get_orders_status_name | ( | $ | orders_status_id, |
| $ | language_id = '' |
||
| ) |
Definition at line 624 of file general.php.
| zen_get_parent_categories | ( | &$ | categories, |
| $ | categories_id | ||
| ) |
Definition at line 2510 of file general.php.
| zen_get_parent_category_id | ( | $ | product_id | ) |
Definition at line 3233 of file general.php.
| zen_get_path | ( | $ | current_category_id = '' | ) |
Definition at line 72 of file general.php.
| zen_get_prid | ( | $ | uprid | ) |
Definition at line 577 of file general.php.
| zen_get_product_is_linked | ( | $ | product_id, |
| $ | show_count = 'false' |
||
| ) |
Definition at line 2761 of file general.php.
| zen_get_product_path | ( | $ | products_id, |
| $ | status_override = '1' |
||
| ) |
Definition at line 2472 of file general.php.
| zen_get_products_category_id | ( | $ | products_id | ) |
Definition at line 2531 of file general.php.
| zen_get_products_description | ( | $ | product_id, |
| $ | language_id | ||
| ) |
Definition at line 669 of file general.php.
| zen_get_products_image | ( | $ | product_id | ) |
Definition at line 2965 of file general.php.
| zen_get_products_manufacturers_name | ( | $ | product_id | ) |
Definition at line 3400 of file general.php.
| zen_get_products_master_categories_name | ( | $ | categories_id | ) |
Definition at line 2545 of file general.php.
| zen_get_products_model | ( | $ | products_id | ) |
Definition at line 1958 of file general.php.
| zen_get_products_name | ( | $ | product_id, |
| $ | language_id = 0 |
||
| ) |
Definition at line 656 of file general.php.
| zen_get_products_options_name_from_value | ( | $ | lookup | ) |
Definition at line 1936 of file general.php.
| zen_get_products_status | ( | $ | product_id | ) |
Definition at line 2752 of file general.php.
| zen_get_products_to_categories | ( | $ | category_id, |
| $ | include_inactive = false, |
||
| $ | counts_what = 'products' |
||
| ) |
Definition at line 2826 of file general.php.
| zen_get_products_type | ( | $ | product_id | ) |
Definition at line 2939 of file general.php.
| zen_get_products_url | ( | $ | product_id, |
| $ | language_id | ||
| ) |
Definition at line 680 of file general.php.
| zen_get_shipping_enabled | ( | $ | shipping_module | ) |
Definition at line 2573 of file general.php.
| zen_get_show_product_switch | ( | $ | lookup, |
| $ | field, | ||
| $ | suffix = 'SHOW_', |
||
| $ | prefix = '_INFO', |
||
| $ | field_prefix = '_', |
||
| $ | field_suffix = '' |
||
| ) |
Definition at line 3070 of file general.php.
| zen_get_show_product_switch_name | ( | $ | lookup, |
| $ | field, | ||
| $ | suffix = 'SHOW_', |
||
| $ | prefix = '_INFO', |
||
| $ | field_prefix = '_', |
||
| $ | field_suffix = '' |
||
| ) |
Definition at line 3101 of file general.php.
Definition at line 1051 of file general.php.
| zen_get_tax_class_title | ( | $ | tax_class_id | ) |
Definition at line 1596 of file general.php.
| zen_get_tax_rate | ( | $ | class_id, |
| $ | country_id = -1, |
||
| $ | zone_id = -1 |
||
| ) |
Definition at line 1655 of file general.php.
| zen_get_tax_rate_value | ( | $ | class_id | ) |
Definition at line 1697 of file general.php.
| zen_get_top_level_domain | ( | $ | url | ) |
Definition at line 2382 of file general.php.
| zen_get_uprid | ( | $ | prid, |
| $ | params | ||
| ) |
Definition at line 565 of file general.php.
| zen_get_zone_class_title | ( | $ | zone_class_id | ) |
Definition at line 1709 of file general.php.
| zen_get_zone_code | ( | $ | country_id, |
| $ | zone_id, | ||
| $ | default_zone | ||
| ) |
Definition at line 549 of file general.php.
| zen_get_zone_name | ( | $ | country_id, |
| $ | zone_id, | ||
| $ | default_zone | ||
| ) |
Definition at line 364 of file general.php.
| zen_gv_account_update | ( | $ | customer_id, |
| $ | gv_id | ||
| ) |
Definition at line 1853 of file general.php.
| zen_has_category_subcategories | ( | $ | category_id | ) |
Definition at line 2697 of file general.php.
| zen_has_product_attributes | ( | $ | products_id, |
| $ | not_readonly = 'true' |
||
| ) |
Definition at line 1985 of file general.php.
| zen_has_product_attributes_downloads | ( | $ | products_id, |
| $ | check_valid = false |
||
| ) |
Definition at line 2414 of file general.php.
| zen_has_product_attributes_downloads_status | ( | $ | products_id | ) |
Definition at line 2449 of file general.php.
| zen_has_product_attributes_OLD | ( | $ | products_id | ) |
Definition at line 1970 of file general.php.
| zen_has_product_discounts | ( | $ | look_up | ) |
Definition at line 3194 of file general.php.
| zen_info_image | ( | $ | image, |
| $ | alt, | ||
| $ | width = '', |
||
| $ | height = '' |
||
| ) |
Definition at line 304 of file general.php.
| zen_mod_select_option | ( | $ | select_array, |
| $ | key_name, | ||
| $ | key_value | ||
| ) |
Definition at line 1037 of file general.php.
| zen_not_null | ( | $ | value | ) |
Definition at line 379 of file general.php.
| zen_options_name | ( | $ | options_id | ) |
Definition at line 278 of file general.php.
| zen_orders_products_downloads | ( | $ | check_filename | ) |
Definition at line 3141 of file general.php.
| zen_output_generated_category_path | ( | $ | id, |
| $ | from = 'category' |
||
| ) |
Definition at line 1164 of file general.php.
| zen_output_string | ( | $ | string, |
| $ | translate = false, |
||
| $ | protected = false |
||
| ) |
Definition at line 37 of file general.php.
| zen_output_string_protected | ( | $ | string | ) |
Definition at line 50 of file general.php.
| zen_output_warning | ( | $ | warning | ) |
Definition at line 2163 of file general.php.
| zen_parse_category_path | ( | $ | cPath | ) |
Definition at line 1813 of file general.php.
| zen_parse_input_field_data | ( | $ | data, |
| $ | parse | ||
| ) |
Definition at line 32 of file general.php.
| zen_parse_salemaker_categories | ( | $ | clist | ) |
Definition at line 3161 of file general.php.
| zen_prepare_country_zones_pull_down | ( | $ | country_id = '' | ) |
Definition at line 826 of file general.php.
| zen_products_attributes_download_delete | ( | $ | product_id | ) |
Definition at line 1440 of file general.php.
| zen_products_id_valid | ( | $ | products_id | ) |
Definition at line 2011 of file general.php.
| zen_products_in_category_count | ( | $ | categories_id, |
| $ | include_deactivated = false, |
||
| $ | include_child = true, |
||
| $ | limit = false |
||
| ) |
Definition at line 720 of file general.php.
| zen_products_lookup | ( | $ | product_id, |
| $ | what_field = 'products_name', |
||
| $ | language = '' |
||
| ) |
Definition at line 3260 of file general.php.
| zen_rand | ( | $ | min = null, |
| $ | max = null |
||
| ) |
Definition at line 1779 of file general.php.
| zen_redirect | ( | $ | url | ) |
Definition at line 12 of file general.php.
| zen_remove | ( | $ | source | ) |
Definition at line 1526 of file general.php.
| zen_remove_category | ( | $ | category_id | ) |
Definition at line 1198 of file general.php.
| zen_remove_order | ( | $ | order_id, |
| $ | restock = false |
||
| ) |
Definition at line 1450 of file general.php.
| zen_remove_product | ( | $ | product_id, |
| $ | ptc = 'true' |
||
| ) |
Definition at line 1359 of file general.php.
| zen_remove_restrict_sub_categories | ( | $ | zf_cat_id, |
| $ | zf_type | ||
| ) |
Definition at line 3047 of file general.php.
| zen_restrict_sub_categories | ( | $ | zf_cat_id, |
| $ | zf_type | ||
| ) |
Definition at line 3023 of file general.php.
| zen_round | ( | $ | value, |
| $ | precision | ||
| ) |
Definition at line 1629 of file general.php.
| zen_sanitize_string | ( | $ | string | ) |
Definition at line 55 of file general.php.
| zen_set_field_length | ( | $ | tbl, |
| $ | fld, | ||
| $ | max = 50, |
||
| $ | override = false |
||
| ) |
Definition at line 2191 of file general.php.
| zen_set_product_status | ( | $ | products_id, |
| $ | status | ||
| ) |
Definition at line 981 of file general.php.
| zen_set_reviews_status | ( | $ | review_id, |
| $ | status | ||
| ) |
Definition at line 2647 of file general.php.
| zen_set_time_limit | ( | $ | limit | ) |
Definition at line 1002 of file general.php.
| zen_string_to_int | ( | $ | string | ) |
Definition at line 1807 of file general.php.
| zen_tax_classes_pull_down | ( | $ | parameters, |
| $ | selected = '' |
||
| ) |
Definition at line 408 of file general.php.
| zen_update_attributes_products_option_values_sort_order | ( | $ | products_id | ) |
Definition at line 2256 of file general.php.
| zen_update_products_price_sorter | ( | $ | product_id | ) |
Definition at line 2671 of file general.php.
| zen_update_salemaker_product_prices | ( | $ | salemaker_id | ) |
Definition at line 3177 of file general.php.
| zen_user_has_gv_balance | ( | $ | c_id | ) |
Definition at line 3414 of file general.php.
| zen_validate_options_to_options_value | ( | $ | products_options_id, |
| $ | products_options_values_id | ||
| ) |
Definition at line 1919 of file general.php.
| zen_values_name | ( | $ | values_id | ) |
Definition at line 292 of file general.php.