Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • australiapostShipping
  • canadapostShipping
  • courierShipping
  • dhlShipping
  • emsruShipping
  • fedexShipping
  • flatrateShipping
  • pickupShipping
  • russianpostShipping
  • upsShipping
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class courierShipping

waSystemPlugin
Extended by waShipping
Extended by courierShipping
Package: wa-plugin\shipping
Located at wa-plugins/shipping/courier/lib/courierShipping.class.php
Methods summary
public string
# getSettingsHTML( array $params = array() )

Example of direct usage HTML templates instead waHtmlControl (non-PHPdoc)

Example of direct usage HTML templates instead waHtmlControl (non-PHPdoc)

Parameters

$params
array
[string]mixed $params

Returns

string

See

waSystemPlugin::getSettingsHTML()

Overrides

waSystemPlugin::getSettingsHTML()
private static
# sortRates( &array & $rates )

Sort rates per orderWeight

Sort rates per orderWeight

Parameters

$rates
&array
$rates
public
# calculate( )

Calculate the shipping cost/costs

Calculate the shipping cost/costs

public array
# allowedAddress( )

List of allowed address paterns

Returns

array

Overrides

waShipping::allowedAddress()
public string
# allowedCurrency( )

Returns

string
ISO3 currency code or array of ISO3 codes
public string
# allowedWeightUnit( )

Returns

string
Weight units or array of weight units
public array
# requestedAddressFields( )

Array of required address fields.

Array of required address fields.

Returns

array
В качестве ключа должно быть название поля [country|region|city|street|zip], в качестве значения массив с необязательными параметрами - required => bool переопределяет глобальную настройку - hidden => bool делает поле скрытым - value => string определяет значение поля - cost => bool требуется для расчета доставки

Overrides

waShipping::requestedAddressFields()
public array[string]array
# getPrintForms( waOrder $order = null )

Parameters

$order
waOrder
$order

Returns

array[string]array
array[string]['name']string
название печатной формы
array[string]['description']string
описание печатной формы

Overrides

waShipping::getPrintForms()
public
# displayPrintForm( string $id, waOrder $order, array $params = array() )

Displays printable form content (HTML) by id

Parameters

$id
string
$id
$order
waOrder
$order
$params
array
$params

Overrides

waShipping::displayPrintForm()
Methods inherited from waShipping
addItem(), addItems(), customFields(), enumerate(), execCallback(), factory(), flush(), getAdapter(), getAddress(), getCountryISO2Code(), getItems(), getPackageProperty(), getRates(), getTotalPrice(), getTotalWeight(), info(), init(), setAddress(), setItems(), settingCountryControl(), settingCountrySelect(), settingCurrencySelect(), settingRegionZoneControl(), tracking()
Methods inherited from waSystemPlugin
__construct(), __get(), __isset(), _w(), getDescription(), getId(), getName(), getPath(), getProperties(), getSettings(), getType(), initControls(), registerControl(), saveSettings(), setSettings()
Constants inherited from waShipping
PLUGIN_TYPE
Properties inherited from waShipping
$app_id
Properties inherited from waSystemPlugin
$id, $key, $path, $type
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0