PHP 클래스 OrderActionsForm, silvershop-core

상속: extends Form
파일 보기 프로젝트 열기: burnbright/silverstripe-shop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$order

공개 메소드들

메소드 설명
__construct ( $controller, $name, Order $order )
docancel ( array $data, Form $form ) Form action handler for CancelOrderForm.
dopayment ( array $data, Form $form ) : boolean Make payment for a place order, where payment had previously failed.

보호된 메소드들

메소드 설명
getCCFields ( array $gateways ) : CompositeField | null Get credit card fields for the given gateways

메소드 상세

__construct() 공개 메소드

public __construct ( $controller, $name, Order $order )
$order Order

docancel() 공개 메소드

Take the order that this was to be change on, and set the status that was requested from the form request data.
public docancel ( array $data, Form $form )
$data array The form request data submitted
$form Form The {@link Form} this was submitted on

dopayment() 공개 메소드

Make payment for a place order, where payment had previously failed.
public dopayment ( array $data, Form $form ) : boolean
$data array
$form Form
리턴 boolean

getCCFields() 보호된 메소드

Get credit card fields for the given gateways
protected getCCFields ( array $gateways ) : CompositeField | null
$gateways array
리턴 CompositeField | null

프로퍼티 상세

$order 보호되어 있는 프로퍼티

protected $order