Back to PhocacartRoute class

Method getWishListRoute

public static
getWishListRoute
(mixed $id = 0, mixed $catid = 0)

Method getWishListRoute - Source code

public static function getWishListRoute($id = 0, $catid = 0)
{
    $needles = array('wishlist' => '', 'item' => (int) $id, 'category' => (int) $catid, 'categories' => '', 'items' => '');
    $link = 'index.php?option=com_phocacart&view=wishlist';
    return self::_buildLink($link, $needles);
}