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
Api
Data
ProductAttributeMediaGalleryEntryInterface.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Catalog\Api\Data
;
9
10
use
Magento\Framework\Api\ExtensibleDataInterface
;
11
16
interface
ProductAttributeMediaGalleryEntryInterface
extends
ExtensibleDataInterface
17
{
18
const
ID
=
'id'
;
19
const
LABEL
=
'label'
;
20
const
POSITION
=
'position'
;
21
const
DISABLED
=
'disabled'
;
22
const
TYPES
=
'types'
;
23
const
MEDIA_TYPE
=
'media_type'
;
24
const
FILE
=
'file'
;
25
const
CONTENT
=
'content'
;
26
32
public
function
getId
();
33
40
public
function
setId
(
$id
);
41
47
public
function
getMediaType
();
48
55
public
function
setMediaType
($mediaType);
56
62
public
function
getLabel
();
63
70
public
function
setLabel
(
$label
);
71
77
public
function
getPosition
();
78
85
public
function
setPosition
($position);
86
92
public
function
isDisabled
();
93
100
public
function
setDisabled
($disabled);
101
107
public
function
getTypes
();
108
115
public
function
setTypes
(array $types =
null
);
116
122
public
function
getFile
();
123
130
public
function
setFile
($file);
131
137
public
function
getContent
();
138
145
public
function
setContent
(
$content
);
146
152
public
function
getExtensionAttributes
();
153
160
public
function
setExtensionAttributes
(
161
\
Magento
\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface
$extensionAttributes
162
);
163
}
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\FILE
const FILE
Definition:
ProductAttributeMediaGalleryEntryInterface.php:24
$id
$id
Definition:
fieldset.phtml:14
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\TYPES
const TYPES
Definition:
ProductAttributeMediaGalleryEntryInterface.php:22
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getId
getId()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\MEDIA_TYPE
const MEDIA_TYPE
Definition:
ProductAttributeMediaGalleryEntryInterface.php:23
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\LABEL
const LABEL
Definition:
ProductAttributeMediaGalleryEntryInterface.php:19
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\CONTENT
const CONTENT
Definition:
ProductAttributeMediaGalleryEntryInterface.php:25
Magento\Catalog\Api\Data
Definition:
BasePriceInterface.php:7
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setDisabled
setDisabled($disabled)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setLabel
setLabel($label)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setPosition
setPosition($position)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setFile
setFile($file)
$label
$label
Definition:
details.phtml:21
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getTypes
getTypes()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getLabel
getLabel()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getFile
getFile()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\DISABLED
const DISABLED
Definition:
ProductAttributeMediaGalleryEntryInterface.php:21
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\ID
const ID
Definition:
ProductAttributeMediaGalleryEntryInterface.php:18
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getContent
getContent()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
Definition:
ProductAttributeMediaGalleryEntryInterface.php:16
Magento
$content
$content
Definition:
downloadable_product_with_files_and_sample_url.php:93
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\POSITION
const POSITION
Definition:
ProductAttributeMediaGalleryEntryInterface.php:20
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getPosition
getPosition()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setContent
setContent($content)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setId
setId($id)
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\isDisabled
isDisabled()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setTypes
setTypes(array $types=null)
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getMediaType
getMediaType()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface\setMediaType
setMediaType($mediaType)