Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
VideoEntry.php
Go to the documentation of this file.
1 <?php
8 
11 
16 {
22  public function getMediaType()
23  {
24  return $this->getData(self::TYPE);
25  }
26 
33  public function setMediaType($mimeType)
34  {
35  return $this->setData(self::TYPE, $mimeType);
36  }
37 
43  public function getVideoProvider()
44  {
45  return $this->getData(self::PROVIDER);
46  }
47 
54  public function setVideoProvider($data)
55  {
56  return $this->setData(self::PROVIDER, $data);
57  }
58 
64  public function getVideoUrl()
65  {
66  return $this->getData(self::URL);
67  }
68 
75  public function setVideoUrl($data)
76  {
77  return $this->setData(self::URL, $data);
78  }
79 
85  public function getVideoTitle()
86  {
87  return $this->getData(self::TITLE);
88  }
89 
96  public function setVideoTitle($data)
97  {
98  return $this->setData(self::TITLE, $data);
99  }
100 
106  public function getVideoDescription()
107  {
108  return $this->getData(self::DESCRIPTION);
109  }
110 
117  public function setVideoDescription($data)
118  {
119  return $this->setData(self::DESCRIPTION, $data);
120  }
121 
127  public function getVideoMetadata()
128  {
129  return $this->getData(self::METADATA);
130  }
131 
138  public function setVideoMetadata($data)
139  {
140  return $this->setData(self::METADATA, $data);
141  }
142 
148  public function getExtensionAttributes()
149  {
150  return $this->_getExtensionAttributes();
151  }
152 
159  public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes)
160  {
161  return $this->_setExtensionAttributes($extensionAttributes);
162  }
163 }
setVideoTitle($data)
Definition: VideoEntry.php:96
getExtensionAttributes()
Definition: VideoEntry.php:148
setVideoProvider($data)
Definition: VideoEntry.php:54
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setVideoDescription($data)
Definition: VideoEntry.php:117
getVideoProvider()
Definition: VideoEntry.php:43
setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes)
Definition: VideoEntry.php:159
setVideoMetadata($data)
Definition: VideoEntry.php:138
setVideoUrl($data)
Definition: VideoEntry.php:75
getVideoDescription()
Definition: VideoEntry.php:106
setMediaType($mimeType)
Definition: VideoEntry.php:33
getVideoMetadata()
Definition: VideoEntry.php:127
getVideoTitle()
Definition: VideoEntry.php:85
Definition: VideoEntry.php:15
getVideoUrl()
Definition: VideoEntry.php:64
getMediaType()
Definition: VideoEntry.php:22