var/classes/DataObject/ThemaArtikel.php line 242

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - articleDate [datetime]
  8.  * - highlight [checkbox]
  9.  * - bereiche [manyToManyObjectRelation]
  10.  * - source [input]
  11.  * - sponsor [manyToOneRelation]
  12.  * - mastodonLink [input]
  13.  * - mastodon [checkbox]
  14.  * - title [input]
  15.  * - subtitle [input]
  16.  * - excerpt [textarea]
  17.  * - link [link]
  18.  * - content [wysiwyg]
  19.  * - image [image]
  20.  * - imageHeader [image]
  21.  * - imageGallery [imageGallery]
  22.  * - podcast [manyToManyObjectRelation]
  23.  * - Snippets [manyToManyRelation]
  24.  */
  25. namespace Pimcore\Model\DataObject;
  26. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  27. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  28. /**
  29. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing getList(array $config = [])
  30. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByArticleDate($value, $limit = 0, $offset = 0, $objectTypes = null)
  31. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByHighlight($value, $limit = 0, $offset = 0, $objectTypes = null)
  32. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByBereiche($value, $limit = 0, $offset = 0, $objectTypes = null)
  33. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getBySource($value, $limit = 0, $offset = 0, $objectTypes = null)
  34. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getBySponsor($value, $limit = 0, $offset = 0, $objectTypes = null)
  35. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByMastodonLink($value, $limit = 0, $offset = 0, $objectTypes = null)
  36. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByMastodon($value, $limit = 0, $offset = 0, $objectTypes = null)
  37. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByTitle($value, $limit = 0, $offset = 0, $objectTypes = null)
  38. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getBySubtitle($value, $limit = 0, $offset = 0, $objectTypes = null)
  39. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByExcerpt($value, $limit = 0, $offset = 0, $objectTypes = null)
  40. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByContent($value, $limit = 0, $offset = 0, $objectTypes = null)
  41. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  42. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByImageHeader($value, $limit = 0, $offset = 0, $objectTypes = null)
  43. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getByPodcast($value, $limit = 0, $offset = 0, $objectTypes = null)
  44. * @method static \Pimcore\Model\DataObject\ThemaArtikel\Listing|\Pimcore\Model\DataObject\ThemaArtikel|null getBySnippets($value, $limit = 0, $offset = 0, $objectTypes = null)
  45. */
  46. class ThemaArtikel extends Concrete
  47. {
  48. protected $o_classId "13";
  49. protected $o_className "ThemaArtikel";
  50. protected $articleDate;
  51. protected $highlight;
  52. protected $bereiche;
  53. protected $source;
  54. protected $sponsor;
  55. protected $mastodonLink;
  56. protected $mastodon;
  57. protected $title;
  58. protected $subtitle;
  59. protected $excerpt;
  60. protected $link;
  61. protected $content;
  62. protected $image;
  63. protected $imageHeader;
  64. protected $imageGallery;
  65. protected $podcast;
  66. protected $Snippets;
  67. /**
  68. * @param array $values
  69. * @return \Pimcore\Model\DataObject\ThemaArtikel
  70. */
  71. public static function create($values = array()) {
  72.     $object = new static();
  73.     $object->setValues($values);
  74.     return $object;
  75. }
  76. /**
  77. * Get articleDate - Article Date
  78. * @return \Carbon\Carbon|null
  79. */
  80. public function getArticleDate(): ?\Carbon\Carbon
  81. {
  82.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  83.         $preValue $this->preGetValue("articleDate");
  84.         if ($preValue !== null) {
  85.             return $preValue;
  86.         }
  87.     }
  88.     $data $this->articleDate;
  89.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  90.         return $data->getPlain();
  91.     }
  92.     return $data;
  93. }
  94. /**
  95. * Set articleDate - Article Date
  96. * @param \Carbon\Carbon|null $articleDate
  97. * @return \Pimcore\Model\DataObject\ThemaArtikel
  98. */
  99. public function setArticleDate(?\Carbon\Carbon $articleDate)
  100. {
  101.     $this->articleDate $articleDate;
  102.     return $this;
  103. }
  104. /**
  105. * Get highlight - Highlight
  106. * @return bool|null
  107. */
  108. public function getHighlight(): ?bool
  109. {
  110.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  111.         $preValue $this->preGetValue("highlight");
  112.         if ($preValue !== null) {
  113.             return $preValue;
  114.         }
  115.     }
  116.     $data $this->highlight;
  117.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  118.         return $data->getPlain();
  119.     }
  120.     return $data;
  121. }
  122. /**
  123. * Set highlight - Highlight
  124. * @param bool|null $highlight
  125. * @return \Pimcore\Model\DataObject\ThemaArtikel
  126. */
  127. public function setHighlight(?bool $highlight)
  128. {
  129.     $this->highlight $highlight;
  130.     return $this;
  131. }
  132. /**
  133. * Get bereiche - Bereiche
  134. * @return \Pimcore\Model\DataObject\ThemaBereich[]
  135. */
  136. public function getBereiche(): array
  137. {
  138.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  139.         $preValue $this->preGetValue("bereiche");
  140.         if ($preValue !== null) {
  141.             return $preValue;
  142.         }
  143.     }
  144.     $data $this->getClass()->getFieldDefinition("bereiche")->preGetData($this);
  145.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  146.         return $data->getPlain();
  147.     }
  148.     return $data;
  149. }
  150. /**
  151. * Set bereiche - Bereiche
  152. * @param \Pimcore\Model\DataObject\ThemaBereich[] $bereiche
  153. * @return \Pimcore\Model\DataObject\ThemaArtikel
  154. */
  155. public function setBereiche(?array $bereiche)
  156. {
  157.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyObjectRelation $fd */
  158.     $fd $this->getClass()->getFieldDefinition("bereiche");
  159.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  160.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  161.     $currentData $this->getBereiche();
  162.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  163.     $isEqual $fd->isEqual($currentData$bereiche);
  164.     if (!$isEqual) {
  165.         $this->markFieldDirty("bereiche"true);
  166.     }
  167.     $this->bereiche $fd->preSetData($this$bereiche);
  168.     return $this;
  169. }
  170. /**
  171. * Get source - Quelle, Autor
  172. * @return string|null
  173. */
  174. public function getSource(): ?string
  175. {
  176.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  177.         $preValue $this->preGetValue("source");
  178.         if ($preValue !== null) {
  179.             return $preValue;
  180.         }
  181.     }
  182.     $data $this->source;
  183.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  184.         return $data->getPlain();
  185.     }
  186.     return $data;
  187. }
  188. /**
  189. * Set source - Quelle, Autor
  190. * @param string|null $source
  191. * @return \Pimcore\Model\DataObject\ThemaArtikel
  192. */
  193. public function setSource(?string $source)
  194. {
  195.     $this->source $source;
  196.     return $this;
  197. }
  198. /**
  199. * Get sponsor - Sponsor (Explizit für den Artikel)
  200. * @return \Pimcore\Model\DataObject\ThemaSponsor|null
  201. */
  202. public function getSponsor(): ?\Pimcore\Model\Element\AbstractElement
  203. {
  204.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  205.         $preValue $this->preGetValue("sponsor");
  206.         if ($preValue !== null) {
  207.             return $preValue;
  208.         }
  209.     }
  210.     $data $this->getClass()->getFieldDefinition("sponsor")->preGetData($this);
  211.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  212.         return $data->getPlain();
  213.     }
  214.     return $data;
  215. }
  216. /**
  217. * Set sponsor - Sponsor (Explizit für den Artikel)
  218. * @param \Pimcore\Model\DataObject\ThemaSponsor|null $sponsor
  219. * @return \Pimcore\Model\DataObject\ThemaArtikel
  220. */
  221. public function setSponsor(?\Pimcore\Model\Element\AbstractElement $sponsor)
  222. {
  223.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  224.     $fd $this->getClass()->getFieldDefinition("sponsor");
  225.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  226.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  227.     $currentData $this->getSponsor();
  228.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  229.     $isEqual $fd->isEqual($currentData$sponsor);
  230.     if (!$isEqual) {
  231.         $this->markFieldDirty("sponsor"true);
  232.     }
  233.     $this->sponsor $fd->preSetData($this$sponsor);
  234.     return $this;
  235. }
  236. /**
  237. * Get mastodonLink - Mastodon Link
  238. * @return string|null
  239. */
  240. public function getMastodonLink(): ?string
  241. {
  242.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  243.         $preValue $this->preGetValue("mastodonLink");
  244.         if ($preValue !== null) {
  245.             return $preValue;
  246.         }
  247.     }
  248.     $data $this->mastodonLink;
  249.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  250.         return $data->getPlain();
  251.     }
  252.     return $data;
  253. }
  254. /**
  255. * Set mastodonLink - Mastodon Link
  256. * @param string|null $mastodonLink
  257. * @return \Pimcore\Model\DataObject\ThemaArtikel
  258. */
  259. public function setMastodonLink(?string $mastodonLink)
  260. {
  261.     $this->mastodonLink $mastodonLink;
  262.     return $this;
  263. }
  264. /**
  265. * Get mastodon - Auf Mastodon posten
  266. * @return bool|null
  267. */
  268. public function getMastodon(): ?bool
  269. {
  270.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  271.         $preValue $this->preGetValue("mastodon");
  272.         if ($preValue !== null) {
  273.             return $preValue;
  274.         }
  275.     }
  276.     $data $this->mastodon;
  277.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  278.         return $data->getPlain();
  279.     }
  280.     return $data;
  281. }
  282. /**
  283. * Set mastodon - Auf Mastodon posten
  284. * @param bool|null $mastodon
  285. * @return \Pimcore\Model\DataObject\ThemaArtikel
  286. */
  287. public function setMastodon(?bool $mastodon)
  288. {
  289.     $this->mastodon $mastodon;
  290.     return $this;
  291. }
  292. /**
  293. * Get title - Titel
  294. * @return string|null
  295. */
  296. public function getTitle(): ?string
  297. {
  298.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  299.         $preValue $this->preGetValue("title");
  300.         if ($preValue !== null) {
  301.             return $preValue;
  302.         }
  303.     }
  304.     $data $this->title;
  305.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  306.         return $data->getPlain();
  307.     }
  308.     return $data;
  309. }
  310. /**
  311. * Set title - Titel
  312. * @param string|null $title
  313. * @return \Pimcore\Model\DataObject\ThemaArtikel
  314. */
  315. public function setTitle(?string $title)
  316. {
  317.     $this->title $title;
  318.     return $this;
  319. }
  320. /**
  321. * Get subtitle - Untertitel
  322. * @return string|null
  323. */
  324. public function getSubtitle(): ?string
  325. {
  326.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  327.         $preValue $this->preGetValue("subtitle");
  328.         if ($preValue !== null) {
  329.             return $preValue;
  330.         }
  331.     }
  332.     $data $this->subtitle;
  333.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  334.         return $data->getPlain();
  335.     }
  336.     return $data;
  337. }
  338. /**
  339. * Set subtitle - Untertitel
  340. * @param string|null $subtitle
  341. * @return \Pimcore\Model\DataObject\ThemaArtikel
  342. */
  343. public function setSubtitle(?string $subtitle)
  344. {
  345.     $this->subtitle $subtitle;
  346.     return $this;
  347. }
  348. /**
  349. * Get excerpt - Kurzfassung
  350. * @return string|null
  351. */
  352. public function getExcerpt(): ?string
  353. {
  354.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  355.         $preValue $this->preGetValue("excerpt");
  356.         if ($preValue !== null) {
  357.             return $preValue;
  358.         }
  359.     }
  360.     $data $this->excerpt;
  361.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  362.         return $data->getPlain();
  363.     }
  364.     return $data;
  365. }
  366. /**
  367. * Set excerpt - Kurzfassung
  368. * @param string|null $excerpt
  369. * @return \Pimcore\Model\DataObject\ThemaArtikel
  370. */
  371. public function setExcerpt(?string $excerpt)
  372. {
  373.     $this->excerpt $excerpt;
  374.     return $this;
  375. }
  376. /**
  377. * Get link - Link
  378. * @return \Pimcore\Model\DataObject\Data\Link|null
  379. */
  380. public function getLink(): ?\Pimcore\Model\DataObject\Data\Link
  381. {
  382.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  383.         $preValue $this->preGetValue("link");
  384.         if ($preValue !== null) {
  385.             return $preValue;
  386.         }
  387.     }
  388.     $data $this->link;
  389.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  390.         return $data->getPlain();
  391.     }
  392.     return $data;
  393. }
  394. /**
  395. * Set link - Link
  396. * @param \Pimcore\Model\DataObject\Data\Link|null $link
  397. * @return \Pimcore\Model\DataObject\ThemaArtikel
  398. */
  399. public function setLink(?\Pimcore\Model\DataObject\Data\Link $link)
  400. {
  401.     $this->link $link;
  402.     return $this;
  403. }
  404. /**
  405. * Get content - Inhalt
  406. * @return string|null
  407. */
  408. public function getContent(): ?string
  409. {
  410.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  411.         $preValue $this->preGetValue("content");
  412.         if ($preValue !== null) {
  413.             return $preValue;
  414.         }
  415.     }
  416.     $data $this->getClass()->getFieldDefinition("content")->preGetData($this);
  417.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  418.         return $data->getPlain();
  419.     }
  420.     return $data;
  421. }
  422. /**
  423. * Set content - Inhalt
  424. * @param string|null $content
  425. * @return \Pimcore\Model\DataObject\ThemaArtikel
  426. */
  427. public function setContent(?string $content)
  428. {
  429.     $this->content $content;
  430.     return $this;
  431. }
  432. /**
  433. * Get image - Bild Übersicht
  434. * @return \Pimcore\Model\Asset\Image|null
  435. */
  436. public function getImage(): ?\Pimcore\Model\Asset\Image
  437. {
  438.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  439.         $preValue $this->preGetValue("image");
  440.         if ($preValue !== null) {
  441.             return $preValue;
  442.         }
  443.     }
  444.     $data $this->image;
  445.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  446.         return $data->getPlain();
  447.     }
  448.     return $data;
  449. }
  450. /**
  451. * Set image - Bild Übersicht
  452. * @param \Pimcore\Model\Asset\Image|null $image
  453. * @return \Pimcore\Model\DataObject\ThemaArtikel
  454. */
  455. public function setImage(?\Pimcore\Model\Asset\Image $image)
  456. {
  457.     $this->image $image;
  458.     return $this;
  459. }
  460. /**
  461. * Get imageHeader - Bild Header
  462. * @return \Pimcore\Model\Asset\Image|null
  463. */
  464. public function getImageHeader(): ?\Pimcore\Model\Asset\Image
  465. {
  466.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  467.         $preValue $this->preGetValue("imageHeader");
  468.         if ($preValue !== null) {
  469.             return $preValue;
  470.         }
  471.     }
  472.     $data $this->imageHeader;
  473.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  474.         return $data->getPlain();
  475.     }
  476.     return $data;
  477. }
  478. /**
  479. * Set imageHeader - Bild Header
  480. * @param \Pimcore\Model\Asset\Image|null $imageHeader
  481. * @return \Pimcore\Model\DataObject\ThemaArtikel
  482. */
  483. public function setImageHeader(?\Pimcore\Model\Asset\Image $imageHeader)
  484. {
  485.     $this->imageHeader $imageHeader;
  486.     return $this;
  487. }
  488. /**
  489. * Get imageGallery - Bildergalerie
  490. * @return \Pimcore\Model\DataObject\Data\ImageGallery|null
  491. */
  492. public function getImageGallery(): ?\Pimcore\Model\DataObject\Data\ImageGallery
  493. {
  494.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  495.         $preValue $this->preGetValue("imageGallery");
  496.         if ($preValue !== null) {
  497.             return $preValue;
  498.         }
  499.     }
  500.     $data $this->imageGallery;
  501.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  502.         return $data->getPlain();
  503.     }
  504.     return $data;
  505. }
  506. /**
  507. * Set imageGallery - Bildergalerie
  508. * @param \Pimcore\Model\DataObject\Data\ImageGallery|null $imageGallery
  509. * @return \Pimcore\Model\DataObject\ThemaArtikel
  510. */
  511. public function setImageGallery(?\Pimcore\Model\DataObject\Data\ImageGallery $imageGallery)
  512. {
  513.     $this->imageGallery $imageGallery;
  514.     return $this;
  515. }
  516. /**
  517. * Get podcast - Podcast
  518. * @return \Pimcore\Model\DataObject\Podcast[]
  519. */
  520. public function getPodcast(): array
  521. {
  522.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  523.         $preValue $this->preGetValue("podcast");
  524.         if ($preValue !== null) {
  525.             return $preValue;
  526.         }
  527.     }
  528.     $data $this->getClass()->getFieldDefinition("podcast")->preGetData($this);
  529.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  530.         return $data->getPlain();
  531.     }
  532.     return $data;
  533. }
  534. /**
  535. * Set podcast - Podcast
  536. * @param \Pimcore\Model\DataObject\Podcast[] $podcast
  537. * @return \Pimcore\Model\DataObject\ThemaArtikel
  538. */
  539. public function setPodcast(?array $podcast)
  540. {
  541.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyObjectRelation $fd */
  542.     $fd $this->getClass()->getFieldDefinition("podcast");
  543.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  544.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  545.     $currentData $this->getPodcast();
  546.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  547.     $isEqual $fd->isEqual($currentData$podcast);
  548.     if (!$isEqual) {
  549.         $this->markFieldDirty("podcast"true);
  550.     }
  551.     $this->podcast $fd->preSetData($this$podcast);
  552.     return $this;
  553. }
  554. /**
  555. * Get Snippets - Snippets
  556. * @return \Pimcore\Model\Document\Snippet[]
  557. */
  558. public function getSnippets(): array
  559. {
  560.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  561.         $preValue $this->preGetValue("Snippets");
  562.         if ($preValue !== null) {
  563.             return $preValue;
  564.         }
  565.     }
  566.     $data $this->getClass()->getFieldDefinition("Snippets")->preGetData($this);
  567.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  568.         return $data->getPlain();
  569.     }
  570.     return $data;
  571. }
  572. /**
  573. * Set Snippets - Snippets
  574. * @param \Pimcore\Model\Document\Snippet[] $Snippets
  575. * @return \Pimcore\Model\DataObject\ThemaArtikel
  576. */
  577. public function setSnippets(?array $Snippets)
  578. {
  579.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyRelation $fd */
  580.     $fd $this->getClass()->getFieldDefinition("Snippets");
  581.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  582.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  583.     $currentData $this->getSnippets();
  584.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  585.     $isEqual $fd->isEqual($currentData$Snippets);
  586.     if (!$isEqual) {
  587.         $this->markFieldDirty("Snippets"true);
  588.     }
  589.     $this->Snippets $fd->preSetData($this$Snippets);
  590.     return $this;
  591. }
  592. }