Container
Class stores a data that is needed in the process of copying the entity.
Table of Contents
Methods
- __construct() : mixed
- getCopiedEntityId() : int|null
- Returns a copied entity id.
- getDictionary() : Dictionary
- Returns a dictionary.
- getEntityId() : int
- Returns the id of the parent entity that is being copied.
- getParentId() : int|null
- Returns a parent id.
- setCopiedEntityId() : mixed
- Writes a copied entity id.
- setDictionary() : mixed
- Writes a dictionary.
- setParentId() : mixed
- Writes a parent id.
Methods
__construct()
public
__construct(mixed $entityId) : mixed
Parameters
- $entityId : mixed
getCopiedEntityId()
Returns a copied entity id.
public
getCopiedEntityId() : int|null
Return values
int|nullgetDictionary()
Returns a dictionary.
public
getDictionary() : Dictionary
Return values
DictionarygetEntityId()
Returns the id of the parent entity that is being copied.
public
getEntityId() : int
Return values
intgetParentId()
Returns a parent id.
public
getParentId() : int|null
Return values
int|nullsetCopiedEntityId()
Writes a copied entity id.
public
setCopiedEntityId(int $id) : mixed
Parameters
- $id : int
-
A copied entity id.
setDictionary()
Writes a dictionary.
public
setDictionary(Dictionary $dictionary) : mixed
Parameters
- $dictionary : Dictionary
setParentId()
Writes a parent id.
public
setParentId(int $parentId) : mixed
Parameters
- $parentId : int
-
A copied entity id.