Back to PhocacartRoute class

Method getDownloadRoute

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

Method getDownloadRoute - Source code

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