PHP Класс ShopMigrationTask, silvershop-core

Наследование: extends MigrationTask
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$batch_size Choose how many orders get processed at a time.

Защищенные свойства (Protected)

Свойство Тип Описание
$description
$title

Открытые методы

Метод Описание
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

Описание методов

migrate() публичный Метод

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

migrateMemberFields() публичный Метод

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

migrateOrderCalculation() публичный Метод

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

migrateOrders() публичный Метод

batch process orders
public migrateOrders ( )

migrateProductImages() публичный Метод

Rename all Product_Image ClassNames to Image Added in v1.0

migrateProductPrice() публичный Метод

public migrateProductPrice ( )

migrateProductVariationsAttribues() публичный Метод

migrateShippingTaxValues() публичный Метод

migrateShippingValues() публичный Метод

Applies to pre 0.6 sites
public migrateShippingValues ( $order )

migrateStatuses() публичный Метод

Migrate old statuses
public migrateStatuses ( $order )

up() публичный Метод

Migrate upwards
public up ( )

Описание свойств

$batch_size публичное статическое свойство

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

$description защищенное свойство

protected $description

$title защищенное свойство

protected $title