Documentation

PictureType
in package

Class representing PictureType.

XSD Type: pictureType

Table of Contents

$actionType  : ActionTypeItemType|null
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
$default  : bool|null
$description  : string|null
Popis obrázku. Povinné pole v programu POHODA. Pokud není zadáno nebo není unikátní, bude programem Pohoda automaticky vygenerován text: Obrázek_(1) .. n.
$filepath  : string|null
Název obrázku. Soubor se musí nacházet v adresáři Dokumenty\firma\Obrázky\. Název obrázku se uvádí bez cesty.
$id  : int|null
ID obrázku (jen pro export).
$order  : int|null
Pořadí (jen pro export).
getActionType()  : ActionTypeItemType
Gets as actionType.
getDefault()  : bool
Gets as default.
getDescription()  : string
Gets as description.
getFilepath()  : string
Gets as filepath.
getId()  : int
Gets as id.
getOrder()  : int
Gets as order.
setActionType()  : self
Sets a new actionType.
setDefault()  : self
Sets a new default.
setDescription()  : self
Sets a new description.
setFilepath()  : self
Sets a new filepath.
setId()  : self
Sets a new id.
setOrder()  : self
Sets a new order.

Properties

$description

Popis obrázku. Povinné pole v programu POHODA. Pokud není zadáno nebo není unikátní, bude programem Pohoda automaticky vygenerován text: Obrázek_(1) .. n.

private string|null $description = null

$filepath

Název obrázku. Soubor se musí nacházet v adresáři Dokumenty\firma\Obrázky\. Název obrázku se uvádí bez cesty.

private string|null $filepath = null

$id

ID obrázku (jen pro export).

private int|null $id = null

$order

Pořadí (jen pro export).

private int|null $order = null

Methods

getDefault()

Gets as default.

public getDefault() : bool
Return values
bool

getDescription()

Gets as description.

public getDescription() : string

Popis obrázku. Povinné pole v programu POHODA. Pokud není zadáno nebo není unikátní, bude programem Pohoda automaticky vygenerován text: Obrázek_(1) .. n.

Return values
string

getFilepath()

Gets as filepath.

public getFilepath() : string

Název obrázku. Soubor se musí nacházet v adresáři Dokumenty\firma\Obrázky. Název obrázku se uvádí bez cesty.

Return values
string

getId()

Gets as id.

public getId() : int

ID obrázku (jen pro export).

Return values
int

getOrder()

Gets as order.

public getOrder() : int

Pořadí (jen pro export).

Return values
int

setActionType()

Sets a new actionType.

public setActionType([ActionTypeItemType|null $actionType = null ]) : self

Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.

Parameters
$actionType : ActionTypeItemType|null = null
Return values
self

setDefault()

Sets a new default.

public setDefault(bool $default) : self
Parameters
$default : bool
Return values
self

setDescription()

Sets a new description.

public setDescription(string $description) : self

Popis obrázku. Povinné pole v programu POHODA. Pokud není zadáno nebo není unikátní, bude programem Pohoda automaticky vygenerován text: Obrázek_(1) .. n.

Parameters
$description : string
Return values
self

setFilepath()

Sets a new filepath.

public setFilepath(string $filepath) : self

Název obrázku. Soubor se musí nacházet v adresáři Dokumenty\firma\Obrázky. Název obrázku se uvádí bez cesty.

Parameters
$filepath : string
Return values
self

setId()

Sets a new id.

public setId(int $id) : self

ID obrázku (jen pro export).

Parameters
$id : int
Return values
self

setOrder()

Sets a new order.

public setOrder(int $order) : self

Pořadí (jen pro export).

Parameters
$order : int
Return values
self

Search results