|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / app / code / SR / Theme / Model / Data / |
Filename | /home/dev2.destoffenstraat.com/app/code/SR/Theme/Model/Data/Theme.php |
Size | 2.58 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 06-Apr-2021 18:06 |
Last accessed | 22-Aug-2025 07:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
namespace SR\Theme\Model\Data;
use SR\Theme\Api\Data\ThemeInterface;
class Theme extends \Magento\Framework\Api\AbstractExtensibleObject implements ThemeInterface
{
/**
* Get theme_id
* @return string|null
*/
public function getThemeId()
{
return $this->_get(self::THEME_ID);
}
/**
* Set theme_id
* @param string $themeId
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setThemeId($themeId)
{
return $this->setData(self::THEME_ID, $themeId);
}
/**
* Get Title
* @return string|null
*/
public function getTitle()
{
return $this->_get(self::TITLE);
}
/**
* Set Title
* @param string $title
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setTitle($title)
{
return $this->setData(self::TITLE, $title);
}
/**
* Retrieve existing extension attributes object or create a new one.
* @return \SR\Theme\Api\Data\ThemeExtensionInterface|null
*/
public function getExtensionAttributes()
{
return $this->_getExtensionAttributes();
}
/**
* Set an extension attributes object.
* @param \SR\Theme\Api\Data\ThemeExtensionInterface $extensionAttributes
* @return $this
*/
public function setExtensionAttributes(
\SR\Theme\Api\Data\ThemeExtensionInterface $extensionAttributes
) {
return $this->_setExtensionAttributes($extensionAttributes);
}
/**
* Get Image
* @return string|null
*/
public function getImage()
{
return $this->_get(self::IMAGE);
}
/**
* Set Image
* @param string $image
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setImage($image)
{
return $this->setData(self::IMAGE, $image);
}
/**
* Get Status
* @return string|null
*/
public function getStatus()
{
return $this->_get(self::STATUS);
}
/**
* Set Status
* @param string $status
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setStatus($status)
{
return $this->setData(self::STATUS, $status);
}
/**
* Get position
* @return string|null
*/
public function getPosition()
{
return $this->_get(self::POSITION);
}
/**
* Set position
* @param string $position
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setPosition($position)
{
return $this->setData(self::POSITION, $position);
}
}
namespace SR\Theme\Model\Data;
use SR\Theme\Api\Data\ThemeInterface;
class Theme extends \Magento\Framework\Api\AbstractExtensibleObject implements ThemeInterface
{
/**
* Get theme_id
* @return string|null
*/
public function getThemeId()
{
return $this->_get(self::THEME_ID);
}
/**
* Set theme_id
* @param string $themeId
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setThemeId($themeId)
{
return $this->setData(self::THEME_ID, $themeId);
}
/**
* Get Title
* @return string|null
*/
public function getTitle()
{
return $this->_get(self::TITLE);
}
/**
* Set Title
* @param string $title
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setTitle($title)
{
return $this->setData(self::TITLE, $title);
}
/**
* Retrieve existing extension attributes object or create a new one.
* @return \SR\Theme\Api\Data\ThemeExtensionInterface|null
*/
public function getExtensionAttributes()
{
return $this->_getExtensionAttributes();
}
/**
* Set an extension attributes object.
* @param \SR\Theme\Api\Data\ThemeExtensionInterface $extensionAttributes
* @return $this
*/
public function setExtensionAttributes(
\SR\Theme\Api\Data\ThemeExtensionInterface $extensionAttributes
) {
return $this->_setExtensionAttributes($extensionAttributes);
}
/**
* Get Image
* @return string|null
*/
public function getImage()
{
return $this->_get(self::IMAGE);
}
/**
* Set Image
* @param string $image
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setImage($image)
{
return $this->setData(self::IMAGE, $image);
}
/**
* Get Status
* @return string|null
*/
public function getStatus()
{
return $this->_get(self::STATUS);
}
/**
* Set Status
* @param string $status
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setStatus($status)
{
return $this->setData(self::STATUS, $status);
}
/**
* Get position
* @return string|null
*/
public function getPosition()
{
return $this->_get(self::POSITION);
}
/**
* Set position
* @param string $position
* @return \SR\Theme\Api\Data\ThemeInterface
*/
public function setPosition($position)
{
return $this->setData(self::POSITION, $position);
}
}