PHP Class ShopMigrationTask, silvershop-core

Inheritance: extends MigrationTask
Afficher le fichier Open project: burnbright/silverstripe-shop

Méthodes publiques

Свойство Type Description
$batch_size Choose how many orders get processed at a time.

Protected Properties

Свойство Type Description
$description
$title

Méthodes publiques

Méthode Description
migrate ( Order $order ) Perform migration scripts on a single order.
migrateMemberFields ( $order ) Customer and shipping details have been added to Order, so that memberless (guest) orders can be placed.
migrateOrderCalculation ( $order ) Performs calculation function on un-calculated orders.
migrateOrders ( ) batch process orders
migrateProductImages ( ) Rename all Product_Image ClassNames to Image Added in v1.0
migrateProductPrice ( )
migrateProductVariationsAttribues ( )
migrateShippingTaxValues ( )
migrateShippingValues ( $order ) Convert shipping and tax columns into modifiers
migrateStatuses ( $order ) Migrate old statuses
up ( ) Migrate upwards

Method Details

migrate() public méthode

Perform migration scripts on a single order.
public migrate ( Order $order )
$order Order

migrateMemberFields() public méthode

Customer and shipping details have been added to Order, so that memberless (guest) orders can be placed.
public migrateMemberFields ( $order )

migrateOrderCalculation() public méthode

Performs calculation function on un-calculated orders.
public migrateOrderCalculation ( $order )

migrateOrders() public méthode

batch process orders
public migrateOrders ( )

migrateProductImages() public méthode

Rename all Product_Image ClassNames to Image Added in v1.0

migrateProductPrice() public méthode

public migrateProductPrice ( )

migrateProductVariationsAttribues() public méthode

migrateShippingTaxValues() public méthode

migrateShippingValues() public méthode

Applies to pre 0.6 sites
public migrateShippingValues ( $order )

migrateStatuses() public méthode

Migrate old statuses
public migrateStatuses ( $order )

up() public méthode

Migrate upwards
public up ( )

Property Details

$batch_size public_oe static_oe property

Choose how many orders get processed at a time.
public static $batch_size

$description protected_oe property

protected $description

$title protected_oe property

protected $title