Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductAttributeMediaGalleryEntryInterface.php
Go to the documentation of this file.
1 <?php
9 
11 
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 }
const FILE
$id
Definition: fieldset.phtml:14
const TYPES
getId()
const MEDIA_TYPE
const LABEL
const CONTENT
setDisabled($disabled)
setExtensionAttributes(\Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes)
setLabel($label)
setPosition($position)
setFile($file)
$label
Definition: details.phtml:21
getTypes()
getLabel()
getFile()
const DISABLED
const ID
getContent()
$extensionAttributes
Definition: payment.php:22
const POSITION
getPosition()
setContent($content)
setId($id)
isDisabled()
setTypes(array $types=null)
getMediaType()
getExtensionAttributes()
setMediaType($mediaType)