SalesLineModInterface
Table of Contents
-
apply()
: mixed
-
applyToLine()
: mixed
-
assets()
: void
-
getFastLine()
: SalesDocumentLine|null
-
map()
: array<string|int, mixed>
-
newFields()
: array<string|int, mixed>
-
newModalFields()
: array<string|int, mixed>
-
newTitles()
: array<string|int, mixed>
-
renderField()
: string|null
-
renderTitle()
: string|null
apply()
public
apply(SalesDocument &$model, array<string|int, mixed> &$lines, array<string|int, mixed> $formData) : mixed
Parameters
-
$model
: SalesDocument
-
-
$lines
: array<string|int, mixed>
-
-
$formData
: array<string|int, mixed>
-
Return values
mixed
—
applyToLine()
public
applyToLine(array<string|int, mixed> $formData, SalesDocumentLine &$line, string $id) : mixed
Parameters
-
$formData
: array<string|int, mixed>
-
-
$line
: SalesDocumentLine
-
-
$id
: string
-
Return values
mixed
—
assets()
public
assets() : void
Return values
void
—
getFastLine()
public
getFastLine(SalesDocument $model, array<string|int, mixed> $formData) : SalesDocumentLine|null
Parameters
-
$model
: SalesDocument
-
-
$formData
: array<string|int, mixed>
-
Return values
SalesDocumentLine|null
—
map()
public
map(array<string|int, mixed> $lines, SalesDocument $model) : array<string|int, mixed>
Parameters
-
$lines
: array<string|int, mixed>
-
-
$model
: SalesDocument
-
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>
—
newTitles()
public
newTitles() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
renderField()
public
renderField(Translator $i18n, string $idlinea, SalesDocumentLine $line, SalesDocument $model, string $field) : string|null
Parameters
-
$i18n
: Translator
-
-
$idlinea
: string
-
-
$line
: SalesDocumentLine
-
-
$model
: SalesDocument
-
-
$field
: string
-
Return values
string|null
—
renderTitle()
public
renderTitle(Translator $i18n, SalesDocument $model, string $field) : string|null
Parameters
-
$i18n
: Translator
-
-
$model
: SalesDocument
-
-
$field
: string
-
Return values
string|null
—