<?php
theme_uc_catalog_browse($tid = 0)
?>Description:
Formats the catalog pages to display category images, subcategories, and products.
Parameters:
- $tid - The term id of the category to display. Default is 0, which corresponds to the top level of the catalog.
Return value:
Themed HTML string that displays the category image, images and links to subcategories, and/or products in the category.
Example:
<?php
uc_catalog_menu($may_cache) {
$items[] = array(
'path' => variable_get('uc_catalog_url', 'catalog'),
'access' => TRUE,
'title' => variable_get('uc_catalog_name', t('Catalog')),
'callback' => 'theme',
'callback arguments' => array('uc_catalog_browse'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}
?>
