function _amazon_item_classes in Amazon Product Advertisement API 6
Same name and namespace in other branches
- 7.2 amazon.module \_amazon_item_classes()
- 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
File
- ./
amazon.module, line 197
Code
function _amazon_item_classes($item) {
return 'amazon-item amazon-item-' . str_replace('_', '-', _amazon_clean_type($item['producttypename']));
}