Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-catalog
Model
ProductFrontendAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Model
;
7
8
use
Magento\Catalog\Api\Data\ProductFrontendActionInterface
;
9
13
class
ProductFrontendAction
extends
AbstractModel
implements
ProductFrontendActionInterface
14
{
20
protected
function
_construct
()
21
{
22
$this->
_init
(\
Magento
\Catalog\Model\
ResourceModel
\ProductFrontendAction::class);
23
}
24
28
public
function
getActionId
()
29
{
30
return
$this->
getData
(
'action_id'
);
31
}
32
36
public
function
setActionId
($actionId)
37
{
38
$this->
setData
(
'action_id'
, $actionId);
39
}
40
44
public
function
getVisitorId
()
45
{
46
return
$this->
getData
(
'visitor_id'
);
47
}
48
52
public
function
setVisitorId
($visitorId)
53
{
54
$this->
setData
(
'visitor_id'
, $visitorId);
55
}
56
60
public
function
getCustomerId
()
61
{
62
return
$this->
getData
(
'customer_id'
);
63
}
64
68
public
function
setCustomerId
(
$customerId
)
69
{
70
$this->
setData
(
'customer_id'
);
71
}
72
76
public
function
getProductId
()
77
{
78
return
$this->
getData
(
'product_id'
);
79
}
80
84
public
function
setProductId
(
$productId
)
85
{
86
$this->
setData
(
'product_id'
,
$productId
);
87
}
88
92
public
function
getAddedAt
()
93
{
94
return
$this->
getData
(
'added_at'
);
95
}
96
100
public
function
setAddedAt
($addedAt)
101
{
102
$this->
setData
(
'added_at'
);
103
}
104
108
public
function
getTypeId
()
109
{
110
return
$this->
getData
(
'type_id'
);
111
}
112
116
public
function
setTypeId
($typeId)
117
{
118
$this->
setData
(
'type_id'
, $typeId);
119
}
120
}
Magento\Catalog\Model\ProductFrontendAction\getTypeId
getTypeId()
Definition:
ProductFrontendAction.php:108
Magento\Catalog\Model\ProductFrontendAction\setCustomerId
setCustomerId($customerId)
Definition:
ProductFrontendAction.php:68
Magento\Catalog\Model\ResourceModel\Product
Definition:
CollectionTest.php:6
Magento\Catalog\Model\ProductFrontendAction\setTypeId
setTypeId($typeId)
Definition:
ProductFrontendAction.php:116
$productId
$productId
Definition:
website_attribute_sync.php:26
Magento\Catalog\Api\Data\ProductFrontendActionInterface
Definition:
ProductFrontendActionInterface.php:14
Magento\Catalog\Model\ProductFrontendAction\getVisitorId
getVisitorId()
Definition:
ProductFrontendAction.php:44
Magento\Catalog\Model\AbstractModel\setData
setData($key, $value=null)
Definition:
AbstractModel.php:184
Magento\Catalog\Model\ProductFrontendAction\getActionId
getActionId()
Definition:
ProductFrontendAction.php:28
Magento\Catalog\Model\ProductFrontendAction
Definition:
ProductFrontendAction.php:13
Magento\Catalog\Model\ProductFrontendAction\getAddedAt
getAddedAt()
Definition:
ProductFrontendAction.php:92
Magento\Catalog\Model\ProductFrontendAction\setActionId
setActionId($actionId)
Definition:
ProductFrontendAction.php:36
$customerId
$customerId
Definition:
quote_with_customer.php:16
Magento\Catalog\Model\ProductFrontendAction\setAddedAt
setAddedAt($addedAt)
Definition:
ProductFrontendAction.php:100
Magento
Magento\Catalog\Model\ProductFrontendAction\getProductId
getProductId()
Definition:
ProductFrontendAction.php:76
Magento\Framework\Model\AbstractExtensibleModel\getData
getData($key='', $index=null)
Definition:
AbstractExtensibleModel.php:247
Magento\Catalog\Model
Magento\Catalog\Model\ProductFrontendAction\setProductId
setProductId($productId)
Definition:
ProductFrontendAction.php:84
Magento\Catalog\Model\ProductFrontendAction\_construct
_construct()
Definition:
ProductFrontendAction.php:20
Magento\Catalog\Model\ProductFrontendAction\setVisitorId
setVisitorId($visitorId)
Definition:
ProductFrontendAction.php:52
Magento\Catalog\Model\AbstractModel
Definition:
AbstractModel.php:17
Magento\Framework\Model\AbstractModel\_init
_init($resourceModel)
Definition:
AbstractModel.php:213
Magento\Catalog\Model\ProductFrontendAction\getCustomerId
getCustomerId()
Definition:
ProductFrontendAction.php:60