예제 #1
0
 function getDiscountDetails()
 {
     $discountId = JRequest::getVar('discountId');
     $hasRateplans = JRequest::getVar('hasRateplans');
     $language = JRequest::getVar('language');
     $return = BFCHelper::getDiscountDetails($discountId, $hasRateplans);
     echo $return;
     $app = JFactory::getApplication();
     $app->close();
 }
 function getDiscountDetails()
 {
     $ids = JRequest::getVar('discountId');
     $language = JRequest::getVar('language');
     $return = BFCHelper::getDiscountDetails($ids, $language);
     echo $return;
     $app = JFactory::getApplication();
     $app->close();
 }