PictureType
in package
Class representing PictureType.
XSD Type: pictureType
Table of Contents
Properties
- $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).
Methods
- 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
$actionType
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
private
ActionTypeItemType|null
$actionType
= null
$default
private
bool|null
$default
= null
$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
getActionType()
Gets as actionType.
public
getActionType() : ActionTypeItemType
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
Return values
ActionTypeItemTypegetDefault()
Gets as default.
public
getDefault() : bool
Return values
boolgetDescription()
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
stringgetFilepath()
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
stringgetId()
Gets as id.
public
getId() : int
ID obrázku (jen pro export).
Return values
intgetOrder()
Gets as order.
public
getOrder() : int
Pořadí (jen pro export).
Return values
intsetActionType()
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
selfsetDefault()
Sets a new default.
public
setDefault(bool $default) : self
Parameters
- $default : bool
Return values
selfsetDescription()
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
selfsetFilepath()
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
selfsetId()
Sets a new id.
public
setId(int $id) : self
ID obrázku (jen pro export).
Parameters
- $id : int
Return values
selfsetOrder()
Sets a new order.
public
setOrder(int $order) : self
Pořadí (jen pro export).
Parameters
- $order : int