You are here

function _amazon_item_classes in Amazon Product Advertisement API 6

Same name and namespace in other branches
  1. 7.2 amazon.module \_amazon_item_classes()
  2. 7 amazon.module \_amazon_item_classes()
6 calls to _amazon_item_classes()
amazon-inline-item.tpl.php in ./amazon-inline-item.tpl.php
amazon_preprocess_amazon_item in ./amazon.module
hook_preprocess: amazon_item.
theme_amazon_inline_item_dvd in amazon_media/amazon_media.theme.inc
theme_amazon_inline_item_software in amazon_media/amazon_media.theme.inc
theme_amazon_inline_item_video_games in amazon_media/amazon_media.theme.inc

... See full list

File

./amazon.module, line 197

Code

function _amazon_item_classes($item) {
  return 'amazon-item amazon-item-' . str_replace('_', '-', _amazon_clean_type($item['producttypename']));
}