PurchasesModInterface
Table of Contents
-
apply()
: mixed
-
applyBefore()
: mixed
-
assets()
: void
-
newBtnFields()
: array<string|int, mixed>
-
newFields()
: array<string|int, mixed>
-
newModalFields()
: array<string|int, mixed>
-
renderField()
: string|null
apply()
public
apply(PurchaseDocument &$model, array<string|int, mixed> $formData, User $user) : mixed
Parameters
-
$model
: PurchaseDocument
-
-
$formData
: array<string|int, mixed>
-
-
$user
: User
-
Return values
mixed
—
applyBefore()
public
applyBefore(PurchaseDocument &$model, array<string|int, mixed> $formData, User $user) : mixed
Parameters
-
$model
: PurchaseDocument
-
-
$formData
: array<string|int, mixed>
-
-
$user
: User
-
Return values
mixed
—
assets()
public
assets() : void
Return values
void
—
newBtnFields()
public
newBtnFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
newFields()
public
newFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
newModalFields()
public
newModalFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
renderField()
public
renderField(Translator $i18n, PurchaseDocument $model, string $field) : string|null
Parameters
-
$i18n
: Translator
-
-
$model
: PurchaseDocument
-
-
$field
: string
-
Return values
string|null
—