PHP 클래스 ShopMigrationTask, silvershop-core

상속: extends MigrationTask
파일 보기 프로젝트 열기: burnbright/silverstripe-shop

공개 프로퍼티들

프로퍼티 타입 설명
$batch_size Choose how many orders get processed at a time.

보호된 프로퍼티들

프로퍼티 타입 설명
$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