swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: Shipping

Source Location: /code/modifiers/shipping/Shipping.php

Class Overview

DataObject
   |
   --Shipping

A convenience class to set shipping supported countries in a centralised location.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Variables

Methods



Class Details

[line 11]
A convenience class to set shipping supported countries in a centralised location.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Variables

static $supported_countries = array(
   )

[line 20]

Countries allowed to be shipped to, these will be options in the shipping address of the Checkout form.



Tags:

var:  List of countries that goods can be shipped to e.g:'NZ' => 'New Zealand'
access:  protected

Type:   Array


[ Top ]



Class Methods


static method set_supported_countries [line 29]

static void set_supported_countries( Array $countries)

Set countries that are supported for shipping to.



Tags:

access:  public


Parameters:

array   $countries  

[ Top ]

static method supported_countries [line 51]

static void supported_countries( )

Get countries supported for shipping.



Tags:

var:  List of countries that goods can be shipped to e.g:'NZ' => 'New Zealand'
access:  public


[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:28 +1300 by phpDocumentor 1.4.4