CoolCMS API

SupplierFormTrait

Add/edit form of a supplier: plain fields only (no address books or price lists).

Table of Contents

Methods

createComponentEditForm()  : Form
addSupplierFields()  : void
buildSupplierEntity()  : Supplier
saveSupplierForm()  : bool
setSupplierFormDefaults()  : void

Methods

buildSupplierEntity()

private buildSupplierEntity(ArrayHash<string|int, mixed> $values) : Supplier
Parameters
$values : ArrayHash<string|int, mixed>
Return values
Supplier

saveSupplierForm()

private saveSupplierForm(ArrayHash<string|int, mixed> $values) : bool
Parameters
$values : ArrayHash<string|int, mixed>
Return values
bool
On this page

Search results