Back to PhocacartRoute class

Method getInfoRoute

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

Method getInfoRoute - Source code

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