Documentation

Document

Tags
author

vitex

Table of Contents

getChanges()  : mixed
Obtain Chaneges from Journal.
getEmail()  : string
Get recipient for document.
getFirmaObject()  : Adresar
Instance of Adresar( $this->getDataValue('firma') ).
getLabels()  : array<string|int, mixed>
Get all labels for current record.
getSubItems()  : array<string|int, mixed>
Subitems - ex. items of invoice.
getSubMenuName()  : string
getSubObjects()  : array<string|int, mixed>
Array of SubItem objects.
getSumFromAbraFlexi()  : array<string|int, mixed>
Vrací z AbraFlexi sumaci i podle podmínek.
setLabel()  : bool
Set one of availble Labels for current record.
setSubitems()  : bool
unsetLabel()  : bool
UnSet Label for Current Object record.
unsetLabels()  : bool
UnSet all Labels for Current Object record.

Methods

getChanges()

Obtain Chaneges from Journal.

public getChanges() : mixed
Return values
mixed

getEmail()

Get recipient for document.

public getEmail() : string
  1. try Document's "kontaktEmail" field
  2. try Document's company email
  3. try Document's primary contact mail
  4. try Document's any contact mail
Return values
string

getFirmaObject()

Instance of Adresar( $this->getDataValue('firma') ).

public getFirmaObject([array<string|int, mixed> $options = ['details' => 'id'] ]) : Adresar
Parameters
$options : array<string|int, mixed> = ['details' => 'id']

for new Object

Return values
Adresar

getLabels()

Get all labels for current record.

public getLabels() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSubItems()

Subitems - ex. items of invoice.

public getSubItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

of document items or null

getSubMenuName()

public getSubMenuName() : string
Return values
string

getSubObjects()

Array of SubItem objects.

public getSubObjects() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSumFromAbraFlexi()

Vrací z AbraFlexi sumaci i podle podmínek.

public getSumFromAbraFlexi([array<string|int, mixed> $conditions = [] ]) : array<string|int, mixed>
Parameters
$conditions : array<string|int, mixed> = []

pole podmínek nebo ID záznamu

Return values
array<string|int, mixed>

setLabel()

Set one of availble Labels for current record.

public setLabel(string $label) : bool
Parameters
$label : string
Return values
bool

Operation success

setSubitems()

public setSubitems(array<string|int, mixed> $subitems) : bool
Parameters
$subitems : array<string|int, mixed>
Return values
bool

unsetLabel()

UnSet Label for Current Object record.

public unsetLabel(array<string|int, mixed>|string $labelsToRemove) : bool
Parameters
$labelsToRemove : array<string|int, mixed>|string

Label name

Return values
bool

success result ?

unsetLabels()

UnSet all Labels for Current Object record.

public unsetLabels() : bool
Return values
bool

success result ?

Search results