var/classes/DataObject/Configprojekt.php line 97

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - saison [select]
  8.  * - localizedfields [localizedfields]
  9.  * -- storno_text [wysiwyg]
  10.  * -- logodomain [input]
  11.  * -- text_rent [input]
  12.  * -- text_homes [input]
  13.  * -- text_shopping [input]
  14.  * -- url_rent [manyToOneRelation]
  15.  * -- url_homes [manyToOneRelation]
  16.  * -- url_shopping [manyToOneRelation]
  17.  * -- title_rent [textarea]
  18.  * -- subhl_rent [input]
  19.  * -- title_homes [textarea]
  20.  * -- subhl_homes [input]
  21.  * -- title_shopping [textarea]
  22.  * -- subhl_shopping [input]
  23.  * -- languagetext [input]
  24.  * -- sprachauswahl_block [block]
  25.  * --- languagetitle [input]
  26.  * --- languageurl [manyToOneRelation]
  27.  * - logo_default [manyToOneRelation]
  28.  * - logo_homes [manyToOneRelation]
  29.  * - logo_rent [manyToOneRelation]
  30.  * - logo_shopping_2023 [manyToOneRelation]
  31.  * - logo_shopping_2023_mobile [manyToOneRelation]
  32.  * - logo_bike_2023 [manyToOneRelation]
  33.  * - logo_bike_2023_mobile [manyToOneRelation]
  34.  * - logo_apartments_2023 [manyToOneRelation]
  35.  * - logo_apartments_2023_mobile [manyToOneRelation]
  36.  * - logo_hochsoelden [manyToOneRelation]
  37.  * - img_rent_so [image]
  38.  * - img_homes_so [image]
  39.  * - img_shopping_so [image]
  40.  * - img_rent_wi [image]
  41.  * - img_homes_wi [image]
  42.  * - img_shopping_wi [image]
  43.  * - sprachweiche_title [textarea]
  44.  * - sprachweiche_text [wysiwyg]
  45.  * - sprachweiche_button_yes [input]
  46.  * - sprachweiche_button_no [input]
  47.  */
  48. namespace Pimcore\Model\DataObject;
  49. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  50. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  51. /**
  52. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing getList(array $config = [])
  53. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySaison($value, $limit = 0, $offset = 0, $objectTypes = null)
  54. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLocalizedfields($field, $value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  55. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByStorno_text($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  56. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogodomain($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  57. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByText_rent($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  58. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByText_homes($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  59. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByText_shopping($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  60. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByUrl_rent($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  61. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByUrl_homes($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  62. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByUrl_shopping($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  63. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByTitle_rent($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  64. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySubhl_rent($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  65. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByTitle_homes($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  66. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySubhl_homes($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  67. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByTitle_shopping($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  68. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySubhl_shopping($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  69. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLanguagetext($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  70. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySprachauswahl_block($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  71. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_default($value, $limit = 0, $offset = 0, $objectTypes = null)
  72. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_homes($value, $limit = 0, $offset = 0, $objectTypes = null)
  73. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_rent($value, $limit = 0, $offset = 0, $objectTypes = null)
  74. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_shopping_2023($value, $limit = 0, $offset = 0, $objectTypes = null)
  75. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_shopping_2023_mobile($value, $limit = 0, $offset = 0, $objectTypes = null)
  76. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_bike_2023($value, $limit = 0, $offset = 0, $objectTypes = null)
  77. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_bike_2023_mobile($value, $limit = 0, $offset = 0, $objectTypes = null)
  78. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_apartments_2023($value, $limit = 0, $offset = 0, $objectTypes = null)
  79. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_apartments_2023_mobile($value, $limit = 0, $offset = 0, $objectTypes = null)
  80. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByLogo_hochsoelden($value, $limit = 0, $offset = 0, $objectTypes = null)
  81. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_rent_so($value, $limit = 0, $offset = 0, $objectTypes = null)
  82. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_homes_so($value, $limit = 0, $offset = 0, $objectTypes = null)
  83. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_shopping_so($value, $limit = 0, $offset = 0, $objectTypes = null)
  84. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_rent_wi($value, $limit = 0, $offset = 0, $objectTypes = null)
  85. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_homes_wi($value, $limit = 0, $offset = 0, $objectTypes = null)
  86. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getByImg_shopping_wi($value, $limit = 0, $offset = 0, $objectTypes = null)
  87. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySprachweiche_title($value, $limit = 0, $offset = 0, $objectTypes = null)
  88. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySprachweiche_text($value, $limit = 0, $offset = 0, $objectTypes = null)
  89. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySprachweiche_button_yes($value, $limit = 0, $offset = 0, $objectTypes = null)
  90. * @method static \Pimcore\Model\DataObject\Configprojekt\Listing|\Pimcore\Model\DataObject\Configprojekt|null getBySprachweiche_button_no($value, $limit = 0, $offset = 0, $objectTypes = null)
  91. */
  92. class Configprojekt extends Concrete
  93. {
  94. protected $o_classId "2";
  95. protected $o_className "configprojekt";
  96. protected $saison;
  97. protected $localizedfields;
  98. protected $logo_default;
  99. protected $logo_homes;
  100. protected $logo_rent;
  101. protected $logo_shopping_2023;
  102. protected $logo_shopping_2023_mobile;
  103. protected $logo_bike_2023;
  104. protected $logo_bike_2023_mobile;
  105. protected $logo_apartments_2023;
  106. protected $logo_apartments_2023_mobile;
  107. protected $logo_hochsoelden;
  108. protected $img_rent_so;
  109. protected $img_homes_so;
  110. protected $img_shopping_so;
  111. protected $img_rent_wi;
  112. protected $img_homes_wi;
  113. protected $img_shopping_wi;
  114. protected $sprachweiche_title;
  115. protected $sprachweiche_text;
  116. protected $sprachweiche_button_yes;
  117. protected $sprachweiche_button_no;
  118. /**
  119. * @param array $values
  120. * @return \Pimcore\Model\DataObject\Configprojekt
  121. */
  122. public static function create($values = array()) {
  123.     $object = new static();
  124.     $object->setValues($values);
  125.     return $object;
  126. }
  127. /**
  128. * Get saison - Saison wählen
  129. * @return string|null
  130. */
  131. public function getSaison()
  132. {
  133.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  134.         $preValue $this->preGetValue("saison");
  135.         if ($preValue !== null) {
  136.             return $preValue;
  137.         }
  138.     }
  139.     $data $this->saison;
  140.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  141.         return $data->getPlain();
  142.     }
  143.     return $data;
  144. }
  145. /**
  146. * Set saison - Saison wählen
  147. * @param string|null $saison
  148. * @return \Pimcore\Model\DataObject\Configprojekt
  149. */
  150. public function setSaison($saison)
  151. {
  152.     $this->saison $saison;
  153.     return $this;
  154. }
  155. /**
  156. * Get localizedfields - Stornobedingungen Packages
  157. * @return \Pimcore\Model\DataObject\Localizedfield|null
  158. */
  159. public function getLocalizedfields()
  160. {
  161.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  162.         $preValue $this->preGetValue("localizedfields");
  163.         if ($preValue !== null) {
  164.             return $preValue;
  165.         }
  166.     }
  167.     $data $this->getClass()->getFieldDefinition("localizedfields")->preGetData($this);
  168.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  169.         return $data->getPlain();
  170.     }
  171.     return $data;
  172. }
  173. /**
  174. * Get storno_text - Text
  175. * @return string|null
  176. */
  177. public function getStorno_text($language null)
  178. {
  179.     $data $this->getLocalizedfields()->getLocalizedValue("storno_text"$language);
  180.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  181.         $preValue $this->preGetValue("storno_text");
  182.         if ($preValue !== null) {
  183.             return $preValue;
  184.         }
  185.     }
  186.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  187.         return $data->getPlain();
  188.     }
  189.     return $data;
  190. }
  191. /**
  192. * Get logodomain - URL
  193. * @return string|null
  194. */
  195. public function getLogodomain($language null)
  196. {
  197.     $data $this->getLocalizedfields()->getLocalizedValue("logodomain"$language);
  198.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  199.         $preValue $this->preGetValue("logodomain");
  200.         if ($preValue !== null) {
  201.             return $preValue;
  202.         }
  203.     }
  204.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  205.         return $data->getPlain();
  206.     }
  207.     return $data;
  208. }
  209. /**
  210. * Get text_rent - INTERSPORT
  211. * @return string|null
  212. */
  213. public function getText_rent($language null)
  214. {
  215.     $data $this->getLocalizedfields()->getLocalizedValue("text_rent"$language);
  216.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  217.         $preValue $this->preGetValue("text_rent");
  218.         if ($preValue !== null) {
  219.             return $preValue;
  220.         }
  221.     }
  222.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  223.         return $data->getPlain();
  224.     }
  225.     return $data;
  226. }
  227. /**
  228. * Get text_homes - HOMES
  229. * @return string|null
  230. */
  231. public function getText_homes($language null)
  232. {
  233.     $data $this->getLocalizedfields()->getLocalizedValue("text_homes"$language);
  234.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  235.         $preValue $this->preGetValue("text_homes");
  236.         if ($preValue !== null) {
  237.             return $preValue;
  238.         }
  239.     }
  240.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  241.         return $data->getPlain();
  242.     }
  243.     return $data;
  244. }
  245. /**
  246. * Get text_shopping - SHOPPING
  247. * @return string|null
  248. */
  249. public function getText_shopping($language null)
  250. {
  251.     $data $this->getLocalizedfields()->getLocalizedValue("text_shopping"$language);
  252.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  253.         $preValue $this->preGetValue("text_shopping");
  254.         if ($preValue !== null) {
  255.             return $preValue;
  256.         }
  257.     }
  258.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  259.         return $data->getPlain();
  260.     }
  261.     return $data;
  262. }
  263. /**
  264. * Get url_rent - INTERSPORT
  265. * @return \Pimcore\Model\Document\Page|null
  266. */
  267. public function getUrl_rent($language null)
  268. {
  269.     $data $this->getLocalizedfields()->getLocalizedValue("url_rent"$language);
  270.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  271.         $preValue $this->preGetValue("url_rent");
  272.         if ($preValue !== null) {
  273.             return $preValue;
  274.         }
  275.     }
  276.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  277.         return $data->getPlain();
  278.     }
  279.     return $data;
  280. }
  281. /**
  282. * Get url_homes - HOMES
  283. * @return \Pimcore\Model\Document\Page|null
  284. */
  285. public function getUrl_homes($language null)
  286. {
  287.     $data $this->getLocalizedfields()->getLocalizedValue("url_homes"$language);
  288.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  289.         $preValue $this->preGetValue("url_homes");
  290.         if ($preValue !== null) {
  291.             return $preValue;
  292.         }
  293.     }
  294.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  295.         return $data->getPlain();
  296.     }
  297.     return $data;
  298. }
  299. /**
  300. * Get url_shopping - SHOPPING
  301. * @return \Pimcore\Model\Document\Page|null
  302. */
  303. public function getUrl_shopping($language null)
  304. {
  305.     $data $this->getLocalizedfields()->getLocalizedValue("url_shopping"$language);
  306.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  307.         $preValue $this->preGetValue("url_shopping");
  308.         if ($preValue !== null) {
  309.             return $preValue;
  310.         }
  311.     }
  312.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  313.         return $data->getPlain();
  314.     }
  315.     return $data;
  316. }
  317. /**
  318. * Get title_rent - INTERSPORT
  319. * @return string|null
  320. */
  321. public function getTitle_rent($language null)
  322. {
  323.     $data $this->getLocalizedfields()->getLocalizedValue("title_rent"$language);
  324.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  325.         $preValue $this->preGetValue("title_rent");
  326.         if ($preValue !== null) {
  327.             return $preValue;
  328.         }
  329.     }
  330.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  331.         return $data->getPlain();
  332.     }
  333.     return $data;
  334. }
  335. /**
  336. * Get subhl_rent - Subheadline
  337. * @return string|null
  338. */
  339. public function getSubhl_rent($language null)
  340. {
  341.     $data $this->getLocalizedfields()->getLocalizedValue("subhl_rent"$language);
  342.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  343.         $preValue $this->preGetValue("subhl_rent");
  344.         if ($preValue !== null) {
  345.             return $preValue;
  346.         }
  347.     }
  348.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  349.         return $data->getPlain();
  350.     }
  351.     return $data;
  352. }
  353. /**
  354. * Get title_homes - HOMES
  355. * @return string|null
  356. */
  357. public function getTitle_homes($language null)
  358. {
  359.     $data $this->getLocalizedfields()->getLocalizedValue("title_homes"$language);
  360.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  361.         $preValue $this->preGetValue("title_homes");
  362.         if ($preValue !== null) {
  363.             return $preValue;
  364.         }
  365.     }
  366.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  367.         return $data->getPlain();
  368.     }
  369.     return $data;
  370. }
  371. /**
  372. * Get subhl_homes - Subheadline
  373. * @return string|null
  374. */
  375. public function getSubhl_homes($language null)
  376. {
  377.     $data $this->getLocalizedfields()->getLocalizedValue("subhl_homes"$language);
  378.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  379.         $preValue $this->preGetValue("subhl_homes");
  380.         if ($preValue !== null) {
  381.             return $preValue;
  382.         }
  383.     }
  384.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  385.         return $data->getPlain();
  386.     }
  387.     return $data;
  388. }
  389. /**
  390. * Get title_shopping - SHOPPING
  391. * @return string|null
  392. */
  393. public function getTitle_shopping($language null)
  394. {
  395.     $data $this->getLocalizedfields()->getLocalizedValue("title_shopping"$language);
  396.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  397.         $preValue $this->preGetValue("title_shopping");
  398.         if ($preValue !== null) {
  399.             return $preValue;
  400.         }
  401.     }
  402.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  403.         return $data->getPlain();
  404.     }
  405.     return $data;
  406. }
  407. /**
  408. * Get subhl_shopping - Subheadline
  409. * @return string|null
  410. */
  411. public function getSubhl_shopping($language null)
  412. {
  413.     $data $this->getLocalizedfields()->getLocalizedValue("subhl_shopping"$language);
  414.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  415.         $preValue $this->preGetValue("subhl_shopping");
  416.         if ($preValue !== null) {
  417.             return $preValue;
  418.         }
  419.     }
  420.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  421.         return $data->getPlain();
  422.     }
  423.     return $data;
  424. }
  425. /**
  426. * Get languagetext - Übersetzung Sprache
  427. * @return string|null
  428. */
  429. public function getLanguagetext($language null)
  430. {
  431.     $data $this->getLocalizedfields()->getLocalizedValue("languagetext"$language);
  432.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  433.         $preValue $this->preGetValue("languagetext");
  434.         if ($preValue !== null) {
  435.             return $preValue;
  436.         }
  437.     }
  438.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  439.         return $data->getPlain();
  440.     }
  441.     return $data;
  442. }
  443. /**
  444. * Get sprachauswahl_block - sprachauswahl_block
  445. * @return \Pimcore\Model\DataObject\Data\BlockElement[][]
  446. */
  447. public function getSprachauswahl_block($language null)
  448. {
  449.     $data $this->getLocalizedfields()->getLocalizedValue("sprachauswahl_block"$language);
  450.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  451.         $preValue $this->preGetValue("sprachauswahl_block");
  452.         if ($preValue !== null) {
  453.             return $preValue;
  454.         }
  455.     }
  456.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  457.         return $data->getPlain();
  458.     }
  459.     return $data;
  460. }
  461. /**
  462. * Set localizedfields - Stornobedingungen Packages
  463. * @param \Pimcore\Model\DataObject\Localizedfield|null $localizedfields
  464. * @return \Pimcore\Model\DataObject\Configprojekt
  465. */
  466. public function setLocalizedfields($localizedfields)
  467. {
  468.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  469.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  470.     $currentData $this->getLocalizedfields();
  471.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  472.     $this->markFieldDirty("localizedfields"true);
  473.     $this->localizedfields $localizedfields;
  474.     return $this;
  475. }
  476. /**
  477. * Set storno_text - Text
  478. * @param string|null $storno_text
  479. * @return \Pimcore\Model\DataObject\Configprojekt
  480. */
  481. public function setStorno_text ($storno_text$language null)
  482. {
  483.     $isEqual false;
  484.     $this->getLocalizedfields()->setLocalizedValue("storno_text"$storno_text$language, !$isEqual);
  485.     return $this;
  486. }
  487. /**
  488. * Set logodomain - URL
  489. * @param string|null $logodomain
  490. * @return \Pimcore\Model\DataObject\Configprojekt
  491. */
  492. public function setLogodomain ($logodomain$language null)
  493. {
  494.     $isEqual false;
  495.     $this->getLocalizedfields()->setLocalizedValue("logodomain"$logodomain$language, !$isEqual);
  496.     return $this;
  497. }
  498. /**
  499. * Set text_rent - INTERSPORT
  500. * @param string|null $text_rent
  501. * @return \Pimcore\Model\DataObject\Configprojekt
  502. */
  503. public function setText_rent ($text_rent$language null)
  504. {
  505.     $isEqual false;
  506.     $this->getLocalizedfields()->setLocalizedValue("text_rent"$text_rent$language, !$isEqual);
  507.     return $this;
  508. }
  509. /**
  510. * Set text_homes - HOMES
  511. * @param string|null $text_homes
  512. * @return \Pimcore\Model\DataObject\Configprojekt
  513. */
  514. public function setText_homes ($text_homes$language null)
  515. {
  516.     $isEqual false;
  517.     $this->getLocalizedfields()->setLocalizedValue("text_homes"$text_homes$language, !$isEqual);
  518.     return $this;
  519. }
  520. /**
  521. * Set text_shopping - SHOPPING
  522. * @param string|null $text_shopping
  523. * @return \Pimcore\Model\DataObject\Configprojekt
  524. */
  525. public function setText_shopping ($text_shopping$language null)
  526. {
  527.     $isEqual false;
  528.     $this->getLocalizedfields()->setLocalizedValue("text_shopping"$text_shopping$language, !$isEqual);
  529.     return $this;
  530. }
  531. /**
  532. * Set url_rent - INTERSPORT
  533. * @param \Pimcore\Model\Document\Page|null $url_rent
  534. * @return \Pimcore\Model\DataObject\Configprojekt
  535. */
  536. public function setUrl_rent ($url_rent$language null)
  537. {
  538.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("url_rent");
  539.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  540.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  541.     $currentData $this->getUrl_rent($language);
  542.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  543.     $isEqual $fd->isEqual($currentData$url_rent);
  544.     if (!$isEqual) {
  545.         $this->markFieldDirty("url_rent"true);
  546.     }
  547.     $this->getLocalizedfields()->setLocalizedValue("url_rent"$url_rent$language, !$isEqual);
  548.     return $this;
  549. }
  550. /**
  551. * Set url_homes - HOMES
  552. * @param \Pimcore\Model\Document\Page|null $url_homes
  553. * @return \Pimcore\Model\DataObject\Configprojekt
  554. */
  555. public function setUrl_homes ($url_homes$language null)
  556. {
  557.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("url_homes");
  558.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  559.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  560.     $currentData $this->getUrl_homes($language);
  561.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  562.     $isEqual $fd->isEqual($currentData$url_homes);
  563.     if (!$isEqual) {
  564.         $this->markFieldDirty("url_homes"true);
  565.     }
  566.     $this->getLocalizedfields()->setLocalizedValue("url_homes"$url_homes$language, !$isEqual);
  567.     return $this;
  568. }
  569. /**
  570. * Set url_shopping - SHOPPING
  571. * @param \Pimcore\Model\Document\Page|null $url_shopping
  572. * @return \Pimcore\Model\DataObject\Configprojekt
  573. */
  574. public function setUrl_shopping ($url_shopping$language null)
  575. {
  576.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("url_shopping");
  577.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  578.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  579.     $currentData $this->getUrl_shopping($language);
  580.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  581.     $isEqual $fd->isEqual($currentData$url_shopping);
  582.     if (!$isEqual) {
  583.         $this->markFieldDirty("url_shopping"true);
  584.     }
  585.     $this->getLocalizedfields()->setLocalizedValue("url_shopping"$url_shopping$language, !$isEqual);
  586.     return $this;
  587. }
  588. /**
  589. * Set title_rent - INTERSPORT
  590. * @param string|null $title_rent
  591. * @return \Pimcore\Model\DataObject\Configprojekt
  592. */
  593. public function setTitle_rent ($title_rent$language null)
  594. {
  595.     $isEqual false;
  596.     $this->getLocalizedfields()->setLocalizedValue("title_rent"$title_rent$language, !$isEqual);
  597.     return $this;
  598. }
  599. /**
  600. * Set subhl_rent - Subheadline
  601. * @param string|null $subhl_rent
  602. * @return \Pimcore\Model\DataObject\Configprojekt
  603. */
  604. public function setSubhl_rent ($subhl_rent$language null)
  605. {
  606.     $isEqual false;
  607.     $this->getLocalizedfields()->setLocalizedValue("subhl_rent"$subhl_rent$language, !$isEqual);
  608.     return $this;
  609. }
  610. /**
  611. * Set title_homes - HOMES
  612. * @param string|null $title_homes
  613. * @return \Pimcore\Model\DataObject\Configprojekt
  614. */
  615. public function setTitle_homes ($title_homes$language null)
  616. {
  617.     $isEqual false;
  618.     $this->getLocalizedfields()->setLocalizedValue("title_homes"$title_homes$language, !$isEqual);
  619.     return $this;
  620. }
  621. /**
  622. * Set subhl_homes - Subheadline
  623. * @param string|null $subhl_homes
  624. * @return \Pimcore\Model\DataObject\Configprojekt
  625. */
  626. public function setSubhl_homes ($subhl_homes$language null)
  627. {
  628.     $isEqual false;
  629.     $this->getLocalizedfields()->setLocalizedValue("subhl_homes"$subhl_homes$language, !$isEqual);
  630.     return $this;
  631. }
  632. /**
  633. * Set title_shopping - SHOPPING
  634. * @param string|null $title_shopping
  635. * @return \Pimcore\Model\DataObject\Configprojekt
  636. */
  637. public function setTitle_shopping ($title_shopping$language null)
  638. {
  639.     $isEqual false;
  640.     $this->getLocalizedfields()->setLocalizedValue("title_shopping"$title_shopping$language, !$isEqual);
  641.     return $this;
  642. }
  643. /**
  644. * Set subhl_shopping - Subheadline
  645. * @param string|null $subhl_shopping
  646. * @return \Pimcore\Model\DataObject\Configprojekt
  647. */
  648. public function setSubhl_shopping ($subhl_shopping$language null)
  649. {
  650.     $isEqual false;
  651.     $this->getLocalizedfields()->setLocalizedValue("subhl_shopping"$subhl_shopping$language, !$isEqual);
  652.     return $this;
  653. }
  654. /**
  655. * Set languagetext - Übersetzung Sprache
  656. * @param string|null $languagetext
  657. * @return \Pimcore\Model\DataObject\Configprojekt
  658. */
  659. public function setLanguagetext ($languagetext$language null)
  660. {
  661.     $isEqual false;
  662.     $this->getLocalizedfields()->setLocalizedValue("languagetext"$languagetext$language, !$isEqual);
  663.     return $this;
  664. }
  665. /**
  666. * Set sprachauswahl_block - sprachauswahl_block
  667. * @param \Pimcore\Model\DataObject\Data\BlockElement[][] $sprachauswahl_block
  668. * @return \Pimcore\Model\DataObject\Configprojekt
  669. */
  670. public function setSprachauswahl_block ($sprachauswahl_block$language null)
  671. {
  672.     $isEqual false;
  673.     $this->getLocalizedfields()->setLocalizedValue("sprachauswahl_block"$sprachauswahl_block$language, !$isEqual);
  674.     return $this;
  675. }
  676. /**
  677. * Get logo_default - Logo
  678. * @return \Pimcore\Model\Asset\Image|null
  679. */
  680. public function getLogo_default()
  681. {
  682.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  683.         $preValue $this->preGetValue("logo_default");
  684.         if ($preValue !== null) {
  685.             return $preValue;
  686.         }
  687.     }
  688.     $data $this->getClass()->getFieldDefinition("logo_default")->preGetData($this);
  689.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  690.         return $data->getPlain();
  691.     }
  692.     return $data;
  693. }
  694. /**
  695. * Set logo_default - Logo
  696. * @param \Pimcore\Model\Asset\Image|null $logo_default
  697. * @return \Pimcore\Model\DataObject\Configprojekt
  698. */
  699. public function setLogo_default($logo_default)
  700. {
  701.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  702.     $fd $this->getClass()->getFieldDefinition("logo_default");
  703.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  704.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  705.     $currentData $this->getLogo_default();
  706.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  707.     $isEqual $fd->isEqual($currentData$logo_default);
  708.     if (!$isEqual) {
  709.         $this->markFieldDirty("logo_default"true);
  710.     }
  711.     $this->logo_default $fd->preSetData($this$logo_default);
  712.     return $this;
  713. }
  714. /**
  715. * Get logo_homes - Logo
  716. * @return \Pimcore\Model\Asset\Image|null
  717. */
  718. public function getLogo_homes()
  719. {
  720.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  721.         $preValue $this->preGetValue("logo_homes");
  722.         if ($preValue !== null) {
  723.             return $preValue;
  724.         }
  725.     }
  726.     $data $this->getClass()->getFieldDefinition("logo_homes")->preGetData($this);
  727.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  728.         return $data->getPlain();
  729.     }
  730.     return $data;
  731. }
  732. /**
  733. * Set logo_homes - Logo
  734. * @param \Pimcore\Model\Asset\Image|null $logo_homes
  735. * @return \Pimcore\Model\DataObject\Configprojekt
  736. */
  737. public function setLogo_homes($logo_homes)
  738. {
  739.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  740.     $fd $this->getClass()->getFieldDefinition("logo_homes");
  741.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  742.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  743.     $currentData $this->getLogo_homes();
  744.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  745.     $isEqual $fd->isEqual($currentData$logo_homes);
  746.     if (!$isEqual) {
  747.         $this->markFieldDirty("logo_homes"true);
  748.     }
  749.     $this->logo_homes $fd->preSetData($this$logo_homes);
  750.     return $this;
  751. }
  752. /**
  753. * Get logo_rent - Logo
  754. * @return \Pimcore\Model\Asset|null
  755. */
  756. public function getLogo_rent()
  757. {
  758.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  759.         $preValue $this->preGetValue("logo_rent");
  760.         if ($preValue !== null) {
  761.             return $preValue;
  762.         }
  763.     }
  764.     $data $this->getClass()->getFieldDefinition("logo_rent")->preGetData($this);
  765.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  766.         return $data->getPlain();
  767.     }
  768.     return $data;
  769. }
  770. /**
  771. * Set logo_rent - Logo
  772. * @param \Pimcore\Model\Asset|null $logo_rent
  773. * @return \Pimcore\Model\DataObject\Configprojekt
  774. */
  775. public function setLogo_rent($logo_rent)
  776. {
  777.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  778.     $fd $this->getClass()->getFieldDefinition("logo_rent");
  779.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  780.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  781.     $currentData $this->getLogo_rent();
  782.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  783.     $isEqual $fd->isEqual($currentData$logo_rent);
  784.     if (!$isEqual) {
  785.         $this->markFieldDirty("logo_rent"true);
  786.     }
  787.     $this->logo_rent $fd->preSetData($this$logo_rent);
  788.     return $this;
  789. }
  790. /**
  791. * Get logo_shopping_2023 - Logo
  792. * @return \Pimcore\Model\Asset\Image|null
  793. */
  794. public function getLogo_shopping_2023()
  795. {
  796.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  797.         $preValue $this->preGetValue("logo_shopping_2023");
  798.         if ($preValue !== null) {
  799.             return $preValue;
  800.         }
  801.     }
  802.     $data $this->getClass()->getFieldDefinition("logo_shopping_2023")->preGetData($this);
  803.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  804.         return $data->getPlain();
  805.     }
  806.     return $data;
  807. }
  808. /**
  809. * Set logo_shopping_2023 - Logo
  810. * @param \Pimcore\Model\Asset\Image|null $logo_shopping_2023
  811. * @return \Pimcore\Model\DataObject\Configprojekt
  812. */
  813. public function setLogo_shopping_2023($logo_shopping_2023)
  814. {
  815.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  816.     $fd $this->getClass()->getFieldDefinition("logo_shopping_2023");
  817.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  818.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  819.     $currentData $this->getLogo_shopping_2023();
  820.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  821.     $isEqual $fd->isEqual($currentData$logo_shopping_2023);
  822.     if (!$isEqual) {
  823.         $this->markFieldDirty("logo_shopping_2023"true);
  824.     }
  825.     $this->logo_shopping_2023 $fd->preSetData($this$logo_shopping_2023);
  826.     return $this;
  827. }
  828. /**
  829. * Get logo_shopping_2023_mobile - Logo Mobile:
  830. * @return \Pimcore\Model\Asset\Image|null
  831. */
  832. public function getLogo_shopping_2023_mobile()
  833. {
  834.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  835.         $preValue $this->preGetValue("logo_shopping_2023_mobile");
  836.         if ($preValue !== null) {
  837.             return $preValue;
  838.         }
  839.     }
  840.     $data $this->getClass()->getFieldDefinition("logo_shopping_2023_mobile")->preGetData($this);
  841.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  842.         return $data->getPlain();
  843.     }
  844.     return $data;
  845. }
  846. /**
  847. * Set logo_shopping_2023_mobile - Logo Mobile:
  848. * @param \Pimcore\Model\Asset\Image|null $logo_shopping_2023_mobile
  849. * @return \Pimcore\Model\DataObject\Configprojekt
  850. */
  851. public function setLogo_shopping_2023_mobile($logo_shopping_2023_mobile)
  852. {
  853.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  854.     $fd $this->getClass()->getFieldDefinition("logo_shopping_2023_mobile");
  855.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  856.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  857.     $currentData $this->getLogo_shopping_2023_mobile();
  858.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  859.     $isEqual $fd->isEqual($currentData$logo_shopping_2023_mobile);
  860.     if (!$isEqual) {
  861.         $this->markFieldDirty("logo_shopping_2023_mobile"true);
  862.     }
  863.     $this->logo_shopping_2023_mobile $fd->preSetData($this$logo_shopping_2023_mobile);
  864.     return $this;
  865. }
  866. /**
  867. * Get logo_bike_2023 - Logo:
  868. * @return \Pimcore\Model\Asset\Image|null
  869. */
  870. public function getLogo_bike_2023()
  871. {
  872.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  873.         $preValue $this->preGetValue("logo_bike_2023");
  874.         if ($preValue !== null) {
  875.             return $preValue;
  876.         }
  877.     }
  878.     $data $this->getClass()->getFieldDefinition("logo_bike_2023")->preGetData($this);
  879.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  880.         return $data->getPlain();
  881.     }
  882.     return $data;
  883. }
  884. /**
  885. * Set logo_bike_2023 - Logo:
  886. * @param \Pimcore\Model\Asset\Image|null $logo_bike_2023
  887. * @return \Pimcore\Model\DataObject\Configprojekt
  888. */
  889. public function setLogo_bike_2023($logo_bike_2023)
  890. {
  891.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  892.     $fd $this->getClass()->getFieldDefinition("logo_bike_2023");
  893.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  894.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  895.     $currentData $this->getLogo_bike_2023();
  896.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  897.     $isEqual $fd->isEqual($currentData$logo_bike_2023);
  898.     if (!$isEqual) {
  899.         $this->markFieldDirty("logo_bike_2023"true);
  900.     }
  901.     $this->logo_bike_2023 $fd->preSetData($this$logo_bike_2023);
  902.     return $this;
  903. }
  904. /**
  905. * Get logo_bike_2023_mobile - Logo Mobile
  906. * @return \Pimcore\Model\Asset\Image|null
  907. */
  908. public function getLogo_bike_2023_mobile()
  909. {
  910.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  911.         $preValue $this->preGetValue("logo_bike_2023_mobile");
  912.         if ($preValue !== null) {
  913.             return $preValue;
  914.         }
  915.     }
  916.     $data $this->getClass()->getFieldDefinition("logo_bike_2023_mobile")->preGetData($this);
  917.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  918.         return $data->getPlain();
  919.     }
  920.     return $data;
  921. }
  922. /**
  923. * Set logo_bike_2023_mobile - Logo Mobile
  924. * @param \Pimcore\Model\Asset\Image|null $logo_bike_2023_mobile
  925. * @return \Pimcore\Model\DataObject\Configprojekt
  926. */
  927. public function setLogo_bike_2023_mobile($logo_bike_2023_mobile)
  928. {
  929.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  930.     $fd $this->getClass()->getFieldDefinition("logo_bike_2023_mobile");
  931.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  932.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  933.     $currentData $this->getLogo_bike_2023_mobile();
  934.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  935.     $isEqual $fd->isEqual($currentData$logo_bike_2023_mobile);
  936.     if (!$isEqual) {
  937.         $this->markFieldDirty("logo_bike_2023_mobile"true);
  938.     }
  939.     $this->logo_bike_2023_mobile $fd->preSetData($this$logo_bike_2023_mobile);
  940.     return $this;
  941. }
  942. /**
  943. * Get logo_apartments_2023 - Logo
  944. * @return \Pimcore\Model\Asset\Image|null
  945. */
  946. public function getLogo_apartments_2023()
  947. {
  948.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  949.         $preValue $this->preGetValue("logo_apartments_2023");
  950.         if ($preValue !== null) {
  951.             return $preValue;
  952.         }
  953.     }
  954.     $data $this->getClass()->getFieldDefinition("logo_apartments_2023")->preGetData($this);
  955.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  956.         return $data->getPlain();
  957.     }
  958.     return $data;
  959. }
  960. /**
  961. * Set logo_apartments_2023 - Logo
  962. * @param \Pimcore\Model\Asset\Image|null $logo_apartments_2023
  963. * @return \Pimcore\Model\DataObject\Configprojekt
  964. */
  965. public function setLogo_apartments_2023($logo_apartments_2023)
  966. {
  967.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  968.     $fd $this->getClass()->getFieldDefinition("logo_apartments_2023");
  969.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  970.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  971.     $currentData $this->getLogo_apartments_2023();
  972.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  973.     $isEqual $fd->isEqual($currentData$logo_apartments_2023);
  974.     if (!$isEqual) {
  975.         $this->markFieldDirty("logo_apartments_2023"true);
  976.     }
  977.     $this->logo_apartments_2023 $fd->preSetData($this$logo_apartments_2023);
  978.     return $this;
  979. }
  980. /**
  981. * Get logo_apartments_2023_mobile - Logo mobile:
  982. * @return \Pimcore\Model\Asset\Image|null
  983. */
  984. public function getLogo_apartments_2023_mobile()
  985. {
  986.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  987.         $preValue $this->preGetValue("logo_apartments_2023_mobile");
  988.         if ($preValue !== null) {
  989.             return $preValue;
  990.         }
  991.     }
  992.     $data $this->getClass()->getFieldDefinition("logo_apartments_2023_mobile")->preGetData($this);
  993.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  994.         return $data->getPlain();
  995.     }
  996.     return $data;
  997. }
  998. /**
  999. * Set logo_apartments_2023_mobile - Logo mobile:
  1000. * @param \Pimcore\Model\Asset\Image|null $logo_apartments_2023_mobile
  1001. * @return \Pimcore\Model\DataObject\Configprojekt
  1002. */
  1003. public function setLogo_apartments_2023_mobile($logo_apartments_2023_mobile)
  1004. {
  1005.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  1006.     $fd $this->getClass()->getFieldDefinition("logo_apartments_2023_mobile");
  1007.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1008.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1009.     $currentData $this->getLogo_apartments_2023_mobile();
  1010.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1011.     $isEqual $fd->isEqual($currentData$logo_apartments_2023_mobile);
  1012.     if (!$isEqual) {
  1013.         $this->markFieldDirty("logo_apartments_2023_mobile"true);
  1014.     }
  1015.     $this->logo_apartments_2023_mobile $fd->preSetData($this$logo_apartments_2023_mobile);
  1016.     return $this;
  1017. }
  1018. /**
  1019. * Get logo_hochsoelden - Logo Hochsoelden:
  1020. * @return \Pimcore\Model\Asset\Image|null
  1021. */
  1022. public function getLogo_hochsoelden()
  1023. {
  1024.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1025.         $preValue $this->preGetValue("logo_hochsoelden");
  1026.         if ($preValue !== null) {
  1027.             return $preValue;
  1028.         }
  1029.     }
  1030.     $data $this->getClass()->getFieldDefinition("logo_hochsoelden")->preGetData($this);
  1031.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1032.         return $data->getPlain();
  1033.     }
  1034.     return $data;
  1035. }
  1036. /**
  1037. * Set logo_hochsoelden - Logo Hochsoelden:
  1038. * @param \Pimcore\Model\Asset\Image|null $logo_hochsoelden
  1039. * @return \Pimcore\Model\DataObject\Configprojekt
  1040. */
  1041. public function setLogo_hochsoelden($logo_hochsoelden)
  1042. {
  1043.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  1044.     $fd $this->getClass()->getFieldDefinition("logo_hochsoelden");
  1045.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1046.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1047.     $currentData $this->getLogo_hochsoelden();
  1048.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1049.     $isEqual $fd->isEqual($currentData$logo_hochsoelden);
  1050.     if (!$isEqual) {
  1051.         $this->markFieldDirty("logo_hochsoelden"true);
  1052.     }
  1053.     $this->logo_hochsoelden $fd->preSetData($this$logo_hochsoelden);
  1054.     return $this;
  1055. }
  1056. /**
  1057. * Get img_rent_so - Rent
  1058. * @return \Pimcore\Model\Asset\Image|null
  1059. */
  1060. public function getImg_rent_so()
  1061. {
  1062.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1063.         $preValue $this->preGetValue("img_rent_so");
  1064.         if ($preValue !== null) {
  1065.             return $preValue;
  1066.         }
  1067.     }
  1068.     $data $this->img_rent_so;
  1069.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1070.         return $data->getPlain();
  1071.     }
  1072.     return $data;
  1073. }
  1074. /**
  1075. * Set img_rent_so - Rent
  1076. * @param \Pimcore\Model\Asset\Image|null $img_rent_so
  1077. * @return \Pimcore\Model\DataObject\Configprojekt
  1078. */
  1079. public function setImg_rent_so($img_rent_so)
  1080. {
  1081.     $this->img_rent_so $img_rent_so;
  1082.     return $this;
  1083. }
  1084. /**
  1085. * Get img_homes_so - Homes
  1086. * @return \Pimcore\Model\Asset\Image|null
  1087. */
  1088. public function getImg_homes_so()
  1089. {
  1090.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1091.         $preValue $this->preGetValue("img_homes_so");
  1092.         if ($preValue !== null) {
  1093.             return $preValue;
  1094.         }
  1095.     }
  1096.     $data $this->img_homes_so;
  1097.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1098.         return $data->getPlain();
  1099.     }
  1100.     return $data;
  1101. }
  1102. /**
  1103. * Set img_homes_so - Homes
  1104. * @param \Pimcore\Model\Asset\Image|null $img_homes_so
  1105. * @return \Pimcore\Model\DataObject\Configprojekt
  1106. */
  1107. public function setImg_homes_so($img_homes_so)
  1108. {
  1109.     $this->img_homes_so $img_homes_so;
  1110.     return $this;
  1111. }
  1112. /**
  1113. * Get img_shopping_so - Shopping
  1114. * @return \Pimcore\Model\Asset\Image|null
  1115. */
  1116. public function getImg_shopping_so()
  1117. {
  1118.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1119.         $preValue $this->preGetValue("img_shopping_so");
  1120.         if ($preValue !== null) {
  1121.             return $preValue;
  1122.         }
  1123.     }
  1124.     $data $this->img_shopping_so;
  1125.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1126.         return $data->getPlain();
  1127.     }
  1128.     return $data;
  1129. }
  1130. /**
  1131. * Set img_shopping_so - Shopping
  1132. * @param \Pimcore\Model\Asset\Image|null $img_shopping_so
  1133. * @return \Pimcore\Model\DataObject\Configprojekt
  1134. */
  1135. public function setImg_shopping_so($img_shopping_so)
  1136. {
  1137.     $this->img_shopping_so $img_shopping_so;
  1138.     return $this;
  1139. }
  1140. /**
  1141. * Get img_rent_wi - Rent 
  1142. * @return \Pimcore\Model\Asset\Image|null
  1143. */
  1144. public function getImg_rent_wi()
  1145. {
  1146.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1147.         $preValue $this->preGetValue("img_rent_wi");
  1148.         if ($preValue !== null) {
  1149.             return $preValue;
  1150.         }
  1151.     }
  1152.     $data $this->img_rent_wi;
  1153.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1154.         return $data->getPlain();
  1155.     }
  1156.     return $data;
  1157. }
  1158. /**
  1159. * Set img_rent_wi - Rent 
  1160. * @param \Pimcore\Model\Asset\Image|null $img_rent_wi
  1161. * @return \Pimcore\Model\DataObject\Configprojekt
  1162. */
  1163. public function setImg_rent_wi($img_rent_wi)
  1164. {
  1165.     $this->img_rent_wi $img_rent_wi;
  1166.     return $this;
  1167. }
  1168. /**
  1169. * Get img_homes_wi - Homes
  1170. * @return \Pimcore\Model\Asset\Image|null
  1171. */
  1172. public function getImg_homes_wi()
  1173. {
  1174.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1175.         $preValue $this->preGetValue("img_homes_wi");
  1176.         if ($preValue !== null) {
  1177.             return $preValue;
  1178.         }
  1179.     }
  1180.     $data $this->img_homes_wi;
  1181.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1182.         return $data->getPlain();
  1183.     }
  1184.     return $data;
  1185. }
  1186. /**
  1187. * Set img_homes_wi - Homes
  1188. * @param \Pimcore\Model\Asset\Image|null $img_homes_wi
  1189. * @return \Pimcore\Model\DataObject\Configprojekt
  1190. */
  1191. public function setImg_homes_wi($img_homes_wi)
  1192. {
  1193.     $this->img_homes_wi $img_homes_wi;
  1194.     return $this;
  1195. }
  1196. /**
  1197. * Get img_shopping_wi - Shopping 
  1198. * @return \Pimcore\Model\Asset\Image|null
  1199. */
  1200. public function getImg_shopping_wi()
  1201. {
  1202.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1203.         $preValue $this->preGetValue("img_shopping_wi");
  1204.         if ($preValue !== null) {
  1205.             return $preValue;
  1206.         }
  1207.     }
  1208.     $data $this->img_shopping_wi;
  1209.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1210.         return $data->getPlain();
  1211.     }
  1212.     return $data;
  1213. }
  1214. /**
  1215. * Set img_shopping_wi - Shopping 
  1216. * @param \Pimcore\Model\Asset\Image|null $img_shopping_wi
  1217. * @return \Pimcore\Model\DataObject\Configprojekt
  1218. */
  1219. public function setImg_shopping_wi($img_shopping_wi)
  1220. {
  1221.     $this->img_shopping_wi $img_shopping_wi;
  1222.     return $this;
  1223. }
  1224. /**
  1225. * Get sprachweiche_title - Headline
  1226. * @return string|null
  1227. */
  1228. public function getSprachweiche_title()
  1229. {
  1230.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1231.         $preValue $this->preGetValue("sprachweiche_title");
  1232.         if ($preValue !== null) {
  1233.             return $preValue;
  1234.         }
  1235.     }
  1236.     $data $this->sprachweiche_title;
  1237.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1238.         return $data->getPlain();
  1239.     }
  1240.     return $data;
  1241. }
  1242. /**
  1243. * Set sprachweiche_title - Headline
  1244. * @param string|null $sprachweiche_title
  1245. * @return \Pimcore\Model\DataObject\Configprojekt
  1246. */
  1247. public function setSprachweiche_title($sprachweiche_title)
  1248. {
  1249.     $this->sprachweiche_title $sprachweiche_title;
  1250.     return $this;
  1251. }
  1252. /**
  1253. * Get sprachweiche_text - Infotext Sprachweiche
  1254. * @return string|null
  1255. */
  1256. public function getSprachweiche_text()
  1257. {
  1258.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1259.         $preValue $this->preGetValue("sprachweiche_text");
  1260.         if ($preValue !== null) {
  1261.             return $preValue;
  1262.         }
  1263.     }
  1264.     $data $this->getClass()->getFieldDefinition("sprachweiche_text")->preGetData($this);
  1265.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1266.         return $data->getPlain();
  1267.     }
  1268.     return $data;
  1269. }
  1270. /**
  1271. * Set sprachweiche_text - Infotext Sprachweiche
  1272. * @param string|null $sprachweiche_text
  1273. * @return \Pimcore\Model\DataObject\Configprojekt
  1274. */
  1275. public function setSprachweiche_text($sprachweiche_text)
  1276. {
  1277.     $this->sprachweiche_text $sprachweiche_text;
  1278.     return $this;
  1279. }
  1280. /**
  1281. * Get sprachweiche_button_yes - Button "Ja"
  1282. * @return string|null
  1283. */
  1284. public function getSprachweiche_button_yes()
  1285. {
  1286.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1287.         $preValue $this->preGetValue("sprachweiche_button_yes");
  1288.         if ($preValue !== null) {
  1289.             return $preValue;
  1290.         }
  1291.     }
  1292.     $data $this->sprachweiche_button_yes;
  1293.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1294.         return $data->getPlain();
  1295.     }
  1296.     return $data;
  1297. }
  1298. /**
  1299. * Set sprachweiche_button_yes - Button "Ja"
  1300. * @param string|null $sprachweiche_button_yes
  1301. * @return \Pimcore\Model\DataObject\Configprojekt
  1302. */
  1303. public function setSprachweiche_button_yes($sprachweiche_button_yes)
  1304. {
  1305.     $this->sprachweiche_button_yes $sprachweiche_button_yes;
  1306.     return $this;
  1307. }
  1308. /**
  1309. * Get sprachweiche_button_no - Button "Nein"
  1310. * @return string|null
  1311. */
  1312. public function getSprachweiche_button_no()
  1313. {
  1314.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1315.         $preValue $this->preGetValue("sprachweiche_button_no");
  1316.         if ($preValue !== null) {
  1317.             return $preValue;
  1318.         }
  1319.     }
  1320.     $data $this->sprachweiche_button_no;
  1321.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1322.         return $data->getPlain();
  1323.     }
  1324.     return $data;
  1325. }
  1326. /**
  1327. * Set sprachweiche_button_no - Button "Nein"
  1328. * @param string|null $sprachweiche_button_no
  1329. * @return \Pimcore\Model\DataObject\Configprojekt
  1330. */
  1331. public function setSprachweiche_button_no($sprachweiche_button_no)
  1332. {
  1333.     $this->sprachweiche_button_no $sprachweiche_button_no;
  1334.     return $this;
  1335. }
  1336. }