PHP Класс OrderActionsForm, silvershop-core

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

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

Свойство Тип Описание
$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