Mage_Shipping_Helper_Data Class Reference

Inheritance diagram for Mage_Shipping_Helper_Data:

Mage_Core_Helper_Abstract

List of all members.

Public Member Functions

 getTrackingAjaxUrl ()
 getTrackingPopUpUrlByOrderId ($oid='')
 getTrackingPopUpUrlByTrackID ($tracknum='')
 getTrackingPopUpUrlByShipId ($shipid='')
 isFreeMethod ($method, $storeId=null)


Detailed Description

Shipping data helper

Definition at line 30 of file Data.php.


Member Function Documentation

getTrackingAjaxUrl (  ) 

Definition at line 32 of file Data.php.

00033     {
00034         return $this->_getUrl('shipping/tracking/ajax');
00035     }

getTrackingPopUpUrlByOrderId ( oid = ''  ) 

Definition at line 37 of file Data.php.

00038     {
00039         return $this->_getUrl('shipping/tracking/popup',array("order_id"=>$oid));
00040     }

getTrackingPopUpUrlByShipId ( shipid = ''  ) 

Definition at line 47 of file Data.php.

00048     {
00049         return $this->_getUrl('shipping/tracking/popup',array("ship_id"=>$shipid));
00050     }

getTrackingPopUpUrlByTrackID ( tracknum = ''  ) 

Definition at line 42 of file Data.php.

00043     {
00044         return $this->_getUrl('shipping/tracking/popup',array("track_id"=>$tracknum));
00045     }

isFreeMethod ( method,
storeId = null 
)

Definition at line 52 of file Data.php.

00053     {
00054         $arr = explode('_', $method, 2);
00055         if (!isset($arr[1])) {
00056             return false;
00057         }
00058         $freeMethod = Mage::getStoreConfig('carriers/'.$arr[0].'/free_method', $storeId);
00059         return $freeMethod == $arr[1];
00060     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:51 2009 for Magento by  doxygen 1.5.8