[ Index ]
osCommerce Docs :: PHP Cross Reference For osCommerce 2.2 MS2
Provided By OSCdox.com

/admin/includes/functions/ -> general.php (summary)

[Source view]

(no description)

Author: (None specified)
File Size: 1306 lines (51 kb)
Included or required: 0 times
Referenced: 0 times
Includes or requires: 0 files
Tables referenced:  categories
 countries
 manufacturers_info
 products
 products_to_categories
 tax_rates
 zones_to_geo_zones

Defines 82 functions

  tep_redirect()
  tep_parse_input_field_data()
  tep_output_string()
  tep_output_string_protected()
  tep_sanitize_string()
  tep_customers_name()
  tep_get_path()
  tep_get_all_get_params()
  tep_date_long()
  tep_date_short()
  tep_datetime_short()
  tep_get_category_tree()
  tep_draw_products_pull_down()
  tep_options_name()
  tep_values_name()
  tep_info_image()
  tep_break_string()
  tep_get_country_name()
  tep_get_zone_name()
  tep_not_null()
  tep_browser_detect()
  tep_tax_classes_pull_down()
  tep_geo_zones_pull_down()
  tep_get_geo_zone_name()
  tep_address_format()
  tep_get_zone_code()
  tep_get_uprid()
  tep_get_prid()
  tep_get_languages()
  tep_get_category_name()
  tep_get_orders_status_name()
  tep_get_orders_status()
  tep_get_products_name()
  tep_get_products_description()
  tep_get_products_url()
  tep_get_manufacturer_url()
  tep_class_exists()
  tep_products_in_category_count()
  tep_childs_in_category_count()
  tep_get_countries()
  tep_get_country_zones()
  tep_prepare_country_zones_pull_down()
  tep_get_address_formats()
  tep_cfg_pull_down_country_list()
  tep_cfg_pull_down_zone_list()
  tep_cfg_pull_down_tax_classes()
  tep_cfg_textarea()
  tep_cfg_get_zone_name()
  tep_set_banner_status()
  tep_set_product_status()
  tep_set_specials_status()
  tep_set_time_limit()
  tep_cfg_select_option()
  tep_mod_select_option()
  tep_get_system_information()
  tep_generate_category_path()
  tep_output_generated_category_path()
  tep_get_generated_category_path_ids()
  tep_remove_category()
  tep_remove_product()
  tep_remove_order()
  tep_reset_cache_block()
  tep_get_file_permissions()
  tep_remove()
  tep_display_tax_value()
  tep_mail()
  tep_get_tax_class_title()
  tep_banner_image_extension()
  tep_round()
  tep_add_tax()
  tep_calculate_tax()
  tep_get_tax_rate()
  tep_get_tax_rate_value()
  tep_call_function()
  tep_get_zone_class_title()
  tep_cfg_pull_down_zone_classes()
  tep_cfg_pull_down_order_statuses()
  tep_get_order_status_name()
  tep_rand()
  tep_convert_linefeeds()
  tep_string_to_int()
  tep_parse_category_path()

Functions

Functions that are not part of a class:
tep_redirect($url)   X-Ref

Redirect to another page or site

tep_parse_input_field_data($data, $parse)   X-Ref

Parse the data used in the html tags to ensure the tags will not break

tep_output_string($string, $translate = false, $protected = false)   X-Ref
No description

tep_output_string_protected($string)   X-Ref
No description

tep_sanitize_string($string)   X-Ref
No description

tep_customers_name($customers_id)   X-Ref
No description

tep_get_path($current_category_id = '')   X-Ref
No description

tep_get_all_get_params($exclude_array = '')   X-Ref
No description

tep_date_long($raw_date)   X-Ref
No description

tep_date_short($raw_date)   X-Ref

Output a raw date string in the selected locale date format
$raw_date needs to be in this format: YYYY-MM-DD HH:MM:SS
NOTE: Includes a workaround for dates before 01/01/1970 that fail on windows servers

tep_datetime_short($raw_datetime)   X-Ref
No description

tep_get_category_tree($parent_id = '0', $spacing = '', $exclude = '', $category_tree_array = '', $include_itself = false)   X-Ref
No description

tep_draw_products_pull_down($name, $parameters = '', $exclude = '')   X-Ref
No description

tep_options_name($options_id)   X-Ref
No description

tep_values_name($values_id)   X-Ref
No description

tep_info_image($image, $alt, $width = '', $height = '')   X-Ref
No description

tep_break_string($string, $len, $break_char = '-')   X-Ref
No description

tep_get_country_name($country_id)   X-Ref
No description

tep_get_zone_name($country_id, $zone_id, $default_zone)   X-Ref
No description

tep_not_null($value)   X-Ref
No description

tep_browser_detect($component)   X-Ref
No description

tep_tax_classes_pull_down($parameters, $selected = '')   X-Ref
No description

tep_geo_zones_pull_down($parameters, $selected = '')   X-Ref
No description

tep_get_geo_zone_name($geo_zone_id)   X-Ref
No description

tep_address_format($address_format_id, $address, $html, $boln, $eoln)   X-Ref
No description

tep_get_zone_code($country, $zone, $def_state)   X-Ref
No description

tep_get_uprid($prid, $params)   X-Ref
No description

tep_get_prid($uprid)   X-Ref
No description

tep_get_languages()   X-Ref
No description

tep_get_category_name($category_id, $language_id)   X-Ref
No description

tep_get_orders_status_name($orders_status_id, $language_id = '')   X-Ref
No description

tep_get_orders_status()   X-Ref
No description

tep_get_products_name($product_id, $language_id = 0)   X-Ref
No description

tep_get_products_description($product_id, $language_id)   X-Ref
No description

tep_get_products_url($product_id, $language_id)   X-Ref
No description

tep_get_manufacturer_url($manufacturer_id, $language_id)   X-Ref

Return the manufacturers URL in the needed language
TABLES: manufacturers_info

tep_class_exists($class_name)   X-Ref

Wrapper for class_exists() function
This function is not available in all PHP versions so we test it before using it.

tep_products_in_category_count($categories_id, $include_deactivated = false)   X-Ref

Count how many products exist in a category
TABLES: products, products_to_categories, categories

tep_childs_in_category_count($categories_id)   X-Ref

Count how many subcategories exist in a category
TABLES: categories

tep_get_countries($default = '')   X-Ref

Returns an array with countries
TABLES: countries

tep_get_country_zones($country_id)   X-Ref

return an array with country zones

tep_prepare_country_zones_pull_down($country_id = '')   X-Ref
No description

tep_get_address_formats()   X-Ref

Get list of address_format_id's

tep_cfg_pull_down_country_list($country_id)   X-Ref

Alias function for Store configuration values in the Administration Tool

tep_cfg_pull_down_zone_list($zone_id)   X-Ref
No description

tep_cfg_pull_down_tax_classes($tax_class_id, $key = '')   X-Ref
No description

tep_cfg_textarea($text)   X-Ref

Function to read in text area in admin

tep_cfg_get_zone_name($zone_id)   X-Ref
No description

tep_set_banner_status($banners_id, $status)   X-Ref

Sets the status of a banner

tep_set_product_status($products_id, $status)   X-Ref

Sets the status of a product

tep_set_specials_status($specials_id, $status)   X-Ref

Sets the status of a product on special

tep_set_time_limit($limit)   X-Ref

Sets timeout for the current script.
Cant be used in safe mode.

tep_cfg_select_option($select_array, $key_value, $key = '')   X-Ref

Alias function for Store configuration values in the Administration Tool

tep_mod_select_option($select_array, $key_name, $key_value)   X-Ref

Alias function for module configuration keys

tep_get_system_information()   X-Ref

Retreive server information

tep_generate_category_path($id, $from = 'category', $categories_array = '', $index = 0)   X-Ref
No description

tep_output_generated_category_path($id, $from = 'category')   X-Ref
No description

tep_get_generated_category_path_ids($id, $from = 'category')   X-Ref
No description

tep_remove_category($category_id)   X-Ref
No description

tep_remove_product($product_id)   X-Ref
No description

tep_remove_order($order_id, $restock = false)   X-Ref
No description

tep_reset_cache_block($cache_block)   X-Ref
No description

tep_get_file_permissions($mode)   X-Ref
No description

tep_remove($source)   X-Ref
No description

tep_display_tax_value($value, $padding = TAX_DECIMAL_PLACES)   X-Ref

Output the tax percentage with optional padded decimals

tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address)   X-Ref
No description

tep_get_tax_class_title($tax_class_id)   X-Ref
No description

tep_banner_image_extension()   X-Ref
No description

tep_round($value, $precision)   X-Ref

Wrapper function for round() for php3 compatibility

tep_add_tax($price, $tax)   X-Ref

Add tax to a products price

tep_calculate_tax($price, $tax)   X-Ref
No description

tep_get_tax_rate($class_id, $country_id = -1, $zone_id = -1)   X-Ref

Returns the tax rate for a zone / class
TABLES: tax_rates, zones_to_geo_zones

tep_get_tax_rate_value($class_id)   X-Ref

Returns the tax rate for a tax class
TABLES: tax_rates

tep_call_function($function, $parameter, $object = '')   X-Ref
No description

tep_get_zone_class_title($zone_class_id)   X-Ref
No description

tep_cfg_pull_down_zone_classes($zone_class_id, $key = '')   X-Ref
No description

tep_cfg_pull_down_order_statuses($order_status_id, $key = '')   X-Ref
No description

tep_get_order_status_name($order_status_id, $language_id = '')   X-Ref
No description

tep_rand($min = null, $max = null)   X-Ref

Return a random value

tep_convert_linefeeds($from, $to, $string)   X-Ref
No description

tep_string_to_int($string)   X-Ref
No description

tep_parse_category_path($cPath)   X-Ref

Parse and secure the cPath parameter values



Generated: Tue Nov 4 23:53:39 2003
Hosted By :: AABox.com
Cross-referenced by PHPXref 0.4