Class Eabi_DpdEE_Model_Button_Courier
Renders button at the Magento Administrators Sales Order Grid, which allows to call DPD courier.
Button is displayed when order shipping method is DPD and parcel data is sent to DPD server.
- Mage_Core_Model_Abstract
- Eabi_Livehandler_Model_Abstract
- Eabi_Livehandler_Model_Adminhtml_Gridmanager
- Eabi_DpdEE_Model_Button_Courier
public
|
|
protected
string
|
|
public
boolean|array
|
#
service( array $params )
Sends DPD courier call request from press of Call Courier Button to server and returns the result in following format: <pre> $result = array( 'messages' => array of successmessages (optional), 'errors' => array of error messages (optional), 'html' => html to be replaced in Courier call infobox, 'needs_reload' => false (not used), 'is_action_error' => false (not used), ); |
protected
string
|
#
_getTimeFrom( string $input, boolean $removeMinutesIfZero = true )
Gets Time from from timefrom-timetill construct |
protected
string
|
#
_getTimeTil( string $input, boolean $removeMinutesIfZero = true )
Gets Time till from timefrom-timetill construct |
protected
|
|
protected
|
|
protected
string
|
|
protected
|
_encode(),
addActionButton(),
getJs(),
removeActionButton()
|
getCss(),
getHtml(),
process()
|
protected
string
|
$_id | 'eabi_dpdee__button_courier' |
|
protected
mixed
|
$_shippingMethodCode |
|
$_actionButtons
|