Overview

Packages

  • IllApps
    • Shipsync
  • PHP

Classes

  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_Abstract
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_Packages_View
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_Packages_View_Form
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_Packages_View_Items
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_Packages_View_Package
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_Shipment_View
  • IllApps_Shipsync_Block_Adminhtml_Sales_Order_View
  • IllApps_Shipsync_Block_Adminhtml_Shipsync
  • IllApps_Shipsync_Block_Adminhtml_Shipsync_Option
  • IllApps_Shipsync_Helper_Data
  • IllApps_Shipsync_IndexController
  • IllApps_Shipsync_Model_Mysql4_Setup
  • IllApps_Shipsync_Model_Mysql4_Shipment_Package
  • IllApps_Shipsync_Model_Mysql4_Shipment_Package_Collection
  • IllApps_Shipsync_Model_Sales_Order_Shipment_Package
  • IllApps_Shipsync_Model_Sales_Order_Shipment_Package_Item
  • IllApps_Shipsync_Model_Sales_Quote_Address
  • IllApps_Shipsync_Model_Shipment_Abstract
  • IllApps_Shipsync_Model_Shipment_Package
  • IllApps_Shipsync_Model_Shipment_Request
  • IllApps_Shipsync_Model_Shipment_Response
  • IllApps_Shipsync_Model_Shipment_Result
  • IllApps_Shipsync_Model_Shipping_Carrier_Abstract
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Address
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Package
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Rate
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Ship
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_B13afilingoption
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Freemethod
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Label_Image
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Label_Orientation
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Label_Stock
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Method
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Packaging
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Rate
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Ratediscount
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Residencedelivery
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Signature
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Smartpost_Endorsement
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Smartpost_Indicia
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Unitofmeasure
  • IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Track
  • IllApps_Shipsync_Model_Shipping_Package
  • IllApps_Shipsync_Model_Shipping_Package_Item
  • IllApps_Shipsync_Model_Shipping_Package_Origins
  • IllApps_Shipsync_Model_Shipping_Package_Sort
  • Overview
  • Package
  • Class
  • Tree

Class IllApps_Shipsync_Model_Shipping_Package_Sort

IllApps_Shipsync_Model_Shipping_Package_Sort

Package: IllApps\Shipsync
Copyright: Copyright (c) 2014 EcoMATICS, Inc. DBA IllApps (http://www.illapps.com)
License: Open Software License (OSL 3.0)
Located at app/code/community/IllApps/Shipsync/Model/Shipping/Package/Sort.php
Methods summary
public array
# sortByKey( array $key, mixed $array )

sortByKey

sortByKey

Parameters

$key
array
$items
$array

Returns

array
protected array
# _sortByKey( array $a, array $b )

_sortByKey

_sortByKey

Parameters

$a
array
$a
$b
array
$b

Returns

array
public index
# findBestFit( array $packages, array $item )

Find Best Fit

Find Best Fit

Finds package in which item fits with least amount of remaining space

Parameters

$packages
array
$packages
$item
array
$item

Returns

index
public index
# minKey( array $array, array $cmpArray )

Min Key

Min Key

Compares two arrays, and returns the key where boths arrays have a minimum value, otherwise returns null

Parameters

$array
array
$array
$cmpArray
array
$cmpArray

Returns

index
public boolean
# findFit( array $package, array $item )

Find Fit

Find Fit

Finds if item fits in package, handles items with dimension and without

Parameters

$package
array
$package
$item
array
$item

Returns

boolean
public boolean
# findFitVolume( array $package, array $item )

Find Fit Volume

Find Fit Volume

Determines if item with dimension fits in package

Parameters

$package
array
$item
$item
array
$package

Returns

boolean
public boolean
# findFitWeight( array $package, array $item )

Find Fit Weight

Find Fit Weight

Determines if item with weight fits in package

Parameters

$package
array
$item
$item
array
$package

Returns

boolean
public boolean
# itemFits( array $package, array $item )

Item Fits

Item Fits

Test if item fits in the package if it were empty. Simply tests the length of each side to see if some element is too long.

Parameters

$package
array
$package
$item
array
$item

Returns

boolean
public
# getPackageLongestSide( mixed $package )
public
# getItemLongestSide( mixed $items )
public
# dimensionCheck( mixed $arr, mixed $cmp )
Properties summary
protected mixed $_key
#
shipsync-community API documentation generated by ApiGen 2.8.0