Back to PhocacartRoute class

Method getPaymentRoute

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

Method getPaymentRoute - Source code

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