ASA2 Functions
  • Package
  • Class

Packages

  • API
  • Helper
  • i18n
  • Options
  • OptionsShortcuts
  • Renderer
  • Repo

Functions

  • asa2_collection_exists
  • asa2_filter_asin
  • asa2_get_associate_id_for_url
  • asa2_get_default_country_code
  • asa2_is_asin
  • asa2_is_item_object
  • asa2_is_supported_country_code
  • asa2_replace_tracking_id

Package Helper

Functions summary

asa2_collection_exists Checks if a collection exists.
asa2_filter_asin Filters an Amazon ASIN. It removes invalid characters.
asa2_get_associate_id_for_url Retrieves the Associate ID that best matches an Amazon URL.
asa2_get_default_country_code Retrieve the default country code configured in the ASA2 setup.
asa2_is_asin Checks if a string is a valid ASIN.
asa2_is_item_object Checks if $item is a valid ASA2 item object which is an object of type Asa2_Service_Amazon_Item_Wrapper_Abstract.
asa2_is_supported_country_code Checks if a country code is valid and supported by the Amazon API.
asa2_replace_tracking_id Replaces the tracking ID in an Amazon URL with the given one.
ASA2 Functions API documentation generated by ApiGen