/** * Method to get profiles tax rule(s) detail. * * @param string $taxRule_id Tax rule id. * * @since 2.2 * @return null object. */ public function getTaxRules($taxprofile_id = '', $taxRule_id = '') { $zoneHelper = new zoneHelper(); return $zoneHelper->getTaxRules($taxprofile_id, $taxRule_id); }
/** * Method to get profiles tax rule(s) detail. * * @param string $taxRule_id Tax rule id. * * @since 2.2 * @return null object. */ public function getTaxRules($taxprofile_id = '', $taxRule_id = '') { // Load Zone helper. $path = JPATH_SITE . DS . "components" . DS . "com_quick2cart" . DS . 'helpers' . DS . "zoneHelper.php"; if (!class_exists('zoneHelper')) { JLoader::register('zoneHelper', $path); JLoader::load('zoneHelper'); } $zoneHelper = new zoneHelper(); return $zoneHelper->getTaxRules($taxprofile_id, $taxRule_id); }