\RangeWeightCore

Summary

Methods
Properties
Constants
add()
getRanges()
rangeExist()
isOverlapping()
$id_carrier
$delimiter1
$delimiter2
$definition
No constants found
No protected methods found
$webserviceParameters
N/A
No private methods found
No private properties found
N/A

Properties

$id_carrier

$id_carrier : 

Type

$delimiter1

$delimiter1 : 

Type

$delimiter2

$delimiter2 : 

Type

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

add()

add(boolean  $autodate = true, boolean  $null_values = false) : boolean

Override add to create delivery value for all zones

Parameters

boolean $autodate
boolean $null_values

Returns

boolean —

Insertion result

getRanges()

getRanges(  $id_carrier) : array

Get all available price ranges

Parameters

$id_carrier

Returns

array —

Ranges

rangeExist()

rangeExist(  $id_carrier,   $delimiter1,   $delimiter2) 

Parameters

$id_carrier
$delimiter1
$delimiter2

isOverlapping()

isOverlapping(  $id_carrier,   $delimiter1,   $delimiter2,   $id_rang = null) 

Parameters

$id_carrier
$delimiter1
$delimiter2
$id_rang