См. определение в файле product.php строка 12
◆ delete()
Delete product item. Use instead of DataManager method.
- Аргументы
-
- Возвращает
- ORM\Data\DeleteResult
Переопределяет метод предка Entity.
См. определение в файле product.php строка 64
◆ getDefaultCachedFieldList()
static getDefaultCachedFieldList |
( |
| ) |
|
|
staticprotected |
Returns product default fields list for caching.
- Возвращает
- array
Переопределяет метод предка Entity.
См. определение в файле product.php строка 45
◆ getTabletClassName()
static getTabletClassName |
( |
| ) |
|
|
static |
Returns product tablet name.
- Возвращает
- string
Переопределяет метод предка Entity.
См. определение в файле product.php строка 35
◆ prepareForAdd()
Check and modify fields before add product. Need for product automation.
- Аргументы
-
ORM\Data\AddResult | $result | |
int | null | $id | |
array | &$data | |
- Возвращает
- void
Переопределяет метод предка Entity.
См. определение в файле product.php строка 77
◆ prepareForUpdate()
Check and modify fields before update product. Need for product automation.
- Аргументы
-
ORM\Data\UpdateResult | $result | |
int | $id | |
array | &$data | |
- Возвращает
- void
Переопределяет метод предка Entity.
См. определение в файле product.php строка 374
◆ runAddExternalActions()
static runAddExternalActions |
( |
| $id, |
|
|
array | $data ) |
|
staticprotected |
Run core automation after add product.
- Аргументы
-
- Возвращает
- void
Переопределяет метод предка Entity.
См. определение в файле product.php строка 645
◆ runDeleteExternalActions()
static runDeleteExternalActions |
( |
| $id | ) |
|
|
staticprotected |
Run core automation after delete product.
- Аргументы
-
- Возвращает
- void
Переопределяет метод предка Entity.
См. определение в файле product.php строка 782
◆ runUpdateExternalActions()
static runUpdateExternalActions |
( |
| $id, |
|
|
array | $data ) |
|
staticprotected |
Run core automation after update product.
- Аргументы
-
- Возвращает
- void
Переопределяет метод предка Entity.
См. определение в файле product.php строка 682
◆ ACTION_CHANGE_PARENT_AVAILABLE
const ACTION_CHANGE_PARENT_AVAILABLE = 'SKU_AVAILABLE' |
|
protected |
◆ ACTION_CHANGE_PARENT_TYPE
const ACTION_CHANGE_PARENT_TYPE = 'PARENT_TYPE' |
|
protected |
◆ ACTION_RECALCULATE_SETS
const ACTION_RECALCULATE_SETS = 'SETS' |
|
protected |
◆ ACTION_SEND_NOTIFICATIONS
const ACTION_SEND_NOTIFICATIONS = 'SUBSCRIPTION' |
|
protected |