Documentation

SHIPMENT
in package

Class SHIPMENT

Table of Contents

addShipmentService()  : mixed|null
addShipmentServiceMethod()  : mixed|null
addShipmentServiceMethodTerm()  : mixed|null
addUserAddress()  : bool
calcRowShipment()  : float|int
calcShipmentPrice()  : array<string|int, mixed>
citiesFormForProductPage()  : string
citiesFormForProductPageMobile()  : string
editAddressField()  : bool
generateAddressRadio()  : string
generateShipmentMethodsRadio()  : string
getAllCities()  : array<string|int, mixed>
getAvailableShipmentServiceMethodCities()  : array<string|int, mixed>|null
getProductShipments()  : array<string|int, mixed>|null
getProvinceCitiesCheckboxForm()  : string
getProvinceCitiesCheckboxFormForPanel()  : string
getProvinceCitiesCheckboxFormForPanelForEdit()  : string
getShipmentAvailableMethods()  : array<string|int, mixed>|null
getShipmentMethodsModal()  : string
getShipments()  : string
getShipmentServiceCitiesID()  : array<string|int, mixed>|null
getShipmentTermCitiesProvince()  : string
getState()  : string
getStatesFull()  : mixed
oldcalcShipment()  : array<string|int, mixed>|string
serviceMethodEmptyFormRow()  : string
serviceTermEditFormRow()  : mixed
serviceTermEditFormRow_mobile()  : mixed
serviceTermEmptyFormRow()  : string
serviceTermEmptyFormRow_mobile()  : string
shipmentServiceMethodCitiesArray()  : array<string|int, mixed>
shipmentServiceMethodCitiesModal()  : string
shipmentServiceTermCityId()  : array<string|int, mixed>|null

Methods

addShipmentService()

public static addShipmentService( $deliver_estimate_days,  $title,  $shop_id) : mixed|null
Parameters
$deliver_estimate_days :
$title :
$shop_id :
Return values
mixed|null

addShipmentServiceMethod()

public static addShipmentServiceMethod( $shipment_service_id,  $shipment_method_id) : mixed|null
Parameters
$shipment_service_id :
$shipment_method_id :
Return values
mixed|null

addShipmentServiceMethodTerm()

public static addShipmentServiceMethodTerm( $shipmentServiceMethodID) : mixed|null
Parameters
$shipmentServiceMethodID :
Return values
mixed|null

addUserAddress()

public static addUserAddress( $userID,  $addressTitle,  $recieverName,  $cellphone,  $postalCode,  $cityID,  $address) : bool
Parameters
$userID :
$addressTitle :
$recieverName :
$cellphone :
$postalCode :
$cityID :
$address :
Return values
bool

calcRowShipment()

public static calcRowShipment( $shablonID,  $count,  $productID,  $price) : float|int
Parameters
$shablonID :
$count :
$productID :
$price :
Return values
float|int

calcShipmentPrice()

public static calcShipmentPrice( $shipmentTermID,  $productID,  $count) : array<string|int, mixed>
Parameters
$shipmentTermID :
$productID :
$count :
Return values
array<string|int, mixed>

citiesFormForProductPage()

public static citiesFormForProductPage() : string
Return values
string

citiesFormForProductPageMobile()

public static citiesFormForProductPageMobile() : string
Return values
string

editAddressField()

public static editAddressField( $id,  $field,  $value) : bool
Parameters
$id :
$field :
$value :
Return values
bool

generateAddressRadio()

public static generateAddressRadio( $address) : string
Parameters
$address :
Return values
string

generateShipmentMethodsRadio()

public static generateShipmentMethodsRadio( $shipment) : string
Parameters
$shipment :
Return values
string

getAllCities()

public static getAllCities() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAvailableShipmentServiceMethodCities()

public static getAvailableShipmentServiceMethodCities( $shipmentServiceMethodID,  $shipmentServiceTermID) : array<string|int, mixed>|null
Parameters
$shipmentServiceMethodID :
$shipmentServiceTermID :
Return values
array<string|int, mixed>|null

getProductShipments()

public static getProductShipments( $shipmentServiceID,  $cityID[, bool $generateForm = false ]) : array<string|int, mixed>|null
Parameters
$shipmentServiceID :
$cityID :
$generateForm : bool = false
Return values
array<string|int, mixed>|null

getProvinceCitiesCheckboxForm()

public static getProvinceCitiesCheckboxForm() : string
Return values
string

getProvinceCitiesCheckboxFormForPanel()

public static getProvinceCitiesCheckboxFormForPanel() : string
Return values
string

getProvinceCitiesCheckboxFormForPanelForEdit()

public static getProvinceCitiesCheckboxFormForPanelForEdit( $shipmentServiceTermID) : string
Parameters
$shipmentServiceTermID :
Return values
string

getShipmentAvailableMethods()

public static getShipmentAvailableMethods( $serviceID) : array<string|int, mixed>|null
Parameters
$serviceID :
Return values
array<string|int, mixed>|null

getShipmentMethodsModal()

public static getShipmentMethodsModal( $serviceID) : string
Parameters
$serviceID :
Return values
string

getShipments()

public static getShipments( $shablonID,  $cityID) : string
Parameters
$shablonID :
$cityID :
Return values
string

getShipmentServiceCitiesID()

public static getShipmentServiceCitiesID( $shipmentServiceID) : array<string|int, mixed>|null
Parameters
$shipmentServiceID :
Return values
array<string|int, mixed>|null

getShipmentTermCitiesProvince()

public static getShipmentTermCitiesProvince( $shipmentTermID) : string
Parameters
$shipmentTermID :
Return values
string

getState()

public static getState() : string
Return values
string

getStatesFull()

public static getStatesFull() : mixed
Return values
mixed

oldcalcShipment()

public static oldcalcShipment( $shablonID,  $count,  $productID,  $price[, string $mode = 'string' ]) : array<string|int, mixed>|string
Parameters
$shablonID :
$count :
$productID :
$price :
$mode : string = 'string'
Return values
array<string|int, mixed>|string

serviceMethodEmptyFormRow()

public static serviceMethodEmptyFormRow( $shipmentMethodID,  $shipmentServiceMethodID) : string
Parameters
$shipmentMethodID :
$shipmentServiceMethodID :
Return values
string

serviceTermEditFormRow()

public static serviceTermEditFormRow( $shipmentServiceTermID) : mixed
Parameters
$shipmentServiceTermID :
Return values
mixed

serviceTermEditFormRow_mobile()

public static serviceTermEditFormRow_mobile( $shipmentServiceTermID) : mixed
Parameters
$shipmentServiceTermID :
Return values
mixed

serviceTermEmptyFormRow()

public static serviceTermEmptyFormRow( $shipmentServiceTermID,  $shipmentServiceMethodID) : string
Parameters
$shipmentServiceTermID :
$shipmentServiceMethodID :
Return values
string

serviceTermEmptyFormRow_mobile()

public static serviceTermEmptyFormRow_mobile( $shipmentServiceTermID) : string
Parameters
$shipmentServiceTermID :
Return values
string

shipmentServiceMethodCitiesArray()

public static shipmentServiceMethodCitiesArray( $shipmentServiceMethodID,  $shipmentServiceTermID) : array<string|int, mixed>
Parameters
$shipmentServiceMethodID :
$shipmentServiceTermID :
Return values
array<string|int, mixed>

shipmentServiceMethodCitiesModal()

public static shipmentServiceMethodCitiesModal( $shipmentServiceMethodID,  $shipmentServiceTermID) : string
Parameters
$shipmentServiceMethodID :
$shipmentServiceTermID :
Return values
string

shipmentServiceTermCityId()

public static shipmentServiceTermCityId( $shipmentServiceMethodID) : array<string|int, mixed>|null
Parameters
$shipmentServiceMethodID :
Return values
array<string|int, mixed>|null

Search results