var/classes/DataObject/SiteConfig.php line 372

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: yes
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - snowObject [manyToOneRelation]
  8.  * - temperatureObject [manyToOneRelation]
  9.  * - clouds [image]
  10.  * - cloudsMobile [image]
  11.  * - fallbackImage [image]
  12.  * - polygonImage [image]
  13.  * - localizedfields [localizedfields]
  14.  * -- searchDocument [manyToOneRelation]
  15.  * -- newsOverviewDocument [manyToOneRelation]
  16.  * -- facilitiesOverviewDocument [manyToOneRelation]
  17.  * -- weatherDocument [manyToOneRelation]
  18.  * -- webcamDocument [manyToOneRelation]
  19.  * -- mapDocument [manyToOneRelation]
  20.  * -- faqDocument [manyToOneRelation]
  21.  * -- jobOverviewDocument [manyToOneRelation]
  22.  * -- jobTeamOverviewDocument [manyToOneRelation]
  23.  * -- jobApplicationSuccessDocument [manyToOneRelation]
  24.  * -- shopOverview [manyToOneRelation]
  25.  * -- merchandiseOverview [manyToOneRelation]
  26.  * -- eventOverview [manyToOneRelation]
  27.  * -- iSite [manyToOneRelation]
  28.  * -- faqB2b [manyToOneRelation]
  29.  * -- faqTourOperator [manyToOneRelation]
  30.  * -- tourOperatorRightButton [manyToOneRelation]
  31.  * -- printAtHomePdf [manyToOneRelation]
  32.  * -- pickupPdf [manyToOneRelation]
  33.  * -- invoicePdf [manyToOneRelation]
  34.  * -- QRCodePdf [manyToOneRelation]
  35.  * -- tourOperatorInvoicePdf [manyToOneRelation]
  36.  * -- tradeHome [manyToOneRelation]
  37.  * -- applicationAdminMailDocument [manyToOneRelation]
  38.  * -- applicationUserMailDocument [manyToOneRelation]
  39.  * -- EmailOrderCompletion [manyToOneRelation]
  40.  * -- EmailOrderConfirmation [manyToOneRelation]
  41.  * -- EmailOrderCancel [manyToOneRelation]
  42.  * -- emailOrderCompletionB2B [manyToOneRelation]
  43.  * -- emailOrderConfirmationB2B [manyToOneRelation]
  44.  * -- emailOrderCancelB2B [manyToOneRelation]
  45.  * -- emailOrderCompletionTo [manyToOneRelation]
  46.  * -- emailOrderConfirmationTo [manyToOneRelation]
  47.  * -- emailOrderCancelTo [manyToOneRelation]
  48.  * -- emailEventCancel [manyToOneRelation]
  49.  * -- EmailOrderError [manyToOneRelation]
  50.  * -- EmailOrderErrorAdmin [manyToOneRelation]
  51.  * -- EmailPaymentErrorAdmin [manyToOneRelation]
  52.  * -- EmailNotification [manyToOneRelation]
  53.  * -- merchandiseOnlyMail [manyToOneRelation]
  54.  * -- b2bTicketWarning [wysiwyg]
  55.  * -- b2bEventWarning [wysiwyg]
  56.  * -- agbText [wysiwyg]
  57.  * -- countryOrder [block]
  58.  * --- country [country]
  59.  * -- mainNavbarlink [link]
  60.  * -- mainNavbarlinkShop [link]
  61.  * -- darkpageIconWarning [input]
  62.  * -- darkpageTitle [input]
  63.  * -- darkpageContent [wysiwyg]
  64.  * -- darkpageLink [link]
  65.  * - EmailQuota [manyToOneRelation]
  66.  * - merchandiseAdminMail [manyToOneRelation]
  67.  * - eventParticipantMail [manyToOneRelation]
  68.  * - webcamImageFolder [manyToOneRelation]
  69.  * - resortFolder [manyToOneRelation]
  70.  * - liftFolder [manyToOneRelation]
  71.  * - slopeFolder [manyToOneRelation]
  72.  * - miscellaneousFolder [manyToOneRelation]
  73.  * - connectionFolder [manyToOneRelation]
  74.  * - warningFolder [manyToOneRelation]
  75.  * - windFolder [manyToOneRelation]
  76.  * - weatherFolder [manyToOneRelation]
  77.  * - profileImagesFolder [manyToOneRelation]
  78.  * - shopNotificationFolder [manyToOneRelation]
  79.  * - jobApplications [manyToOneRelation]
  80.  * - jobApplicationDocuments [manyToOneRelation]
  81.  * - activateB2bTicketWarning [checkbox]
  82.  * - activateB2bEventWarning [checkbox]
  83.  * - useSmartPricer [checkbox]
  84.  * - demandPressureSeasonStart [date]
  85.  * - demandPressureSeasonEnd [date]
  86.  * - cartUsps [manyToManyObjectRelation]
  87.  * - priceCalculatorSeasons [manyToManyRelation]
  88.  * - lowTill [numeric]
  89.  * - ratherLowTill [numeric]
  90.  * - normalTill [numeric]
  91.  * - ratherHighTill [numeric]
  92.  * - fewTicketsTill [numeric]
  93.  * - someTicketsTill [numeric]
  94.  * - paymentOptions [multiselect]
  95.  * - keycardProduct [manyToOneRelation]
  96.  * - acquisitionTypesRequireKeycardPurchase [multiselect]
  97.  * - hideAcquisitionTypes [multiselect]
  98.  * - disableSkidataRequests [checkbox]
  99.  * - merchandiseSmallZone1 [countrymultiselect]
  100.  * - merchandiseSmallZone2 [countrymultiselect]
  101.  * - merchandiseBigZone1 [countrymultiselect]
  102.  * - merchandiseBigZone2 [countrymultiselect]
  103.  * - merchandiseBigZone3 [countrymultiselect]
  104.  * - phone [input]
  105.  * - email [input]
  106.  * - socialMediaBlock [block]
  107.  * -- socialLink [link]
  108.  * -- socialIcon [select]
  109.  * - mainNavbarActive [checkbox]
  110.  * - backgroundColor [select]
  111.  * - mainNavbarIcon [select]
  112.  * - alwaysFixed [checkbox]
  113.  * - mainNavbarActiveShop [checkbox]
  114.  * - backgroundColorShop [select]
  115.  * - mainNavbarIconShop [select]
  116.  * - alwaysFixedShop [checkbox]
  117.  * - darkPageActive [checkbox]
  118.  * - daysAfterJobApplicantsAreExpired [numeric]
  119.  */
  120. namespace Pimcore\Model\DataObject;
  121. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  122. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  123. /**
  124. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing getList(array $config = [])
  125. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getBySnowObject($value, $limit = 0, $offset = 0, $objectTypes = null)
  126. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByTemperatureObject($value, $limit = 0, $offset = 0, $objectTypes = null)
  127. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByClouds($value, $limit = 0, $offset = 0, $objectTypes = null)
  128. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByCloudsMobile($value, $limit = 0, $offset = 0, $objectTypes = null)
  129. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFallbackImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  130. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPolygonImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  131. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByLocalizedfields($field, $value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  132. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getBySearchDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  133. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByNewsOverviewDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  134. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFacilitiesOverviewDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  135. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWeatherDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  136. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWebcamDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  137. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMapDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  138. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFaqDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  139. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByJobOverviewDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  140. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByJobTeamOverviewDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  141. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByJobApplicationSuccessDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  142. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByShopOverview($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  143. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseOverview($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  144. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEventOverview($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  145. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByISite($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  146. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFaqB2b($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  147. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFaqTourOperator($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  148. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByTourOperatorRightButton($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  149. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPrintAtHomePdf($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  150. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPickupPdf($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  151. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByInvoicePdf($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  152. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByQRCodePdf($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  153. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByTourOperatorInvoicePdf($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  154. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByTradeHome($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  155. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByApplicationAdminMailDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  156. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByApplicationUserMailDocument($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  157. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCompletion($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  158. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderConfirmation($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  159. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCancel($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  160. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCompletionB2B($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  161. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderConfirmationB2B($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  162. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCancelB2B($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  163. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCompletionTo($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  164. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderConfirmationTo($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  165. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderCancelTo($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  166. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailEventCancel($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  167. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderError($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  168. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailOrderErrorAdmin($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  169. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailPaymentErrorAdmin($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  170. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailNotification($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  171. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseOnlyMail($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  172. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByB2bTicketWarning($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  173. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByB2bEventWarning($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  174. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByAgbText($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  175. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByCountryOrder($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  176. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarlink($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  177. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarlinkShop($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  178. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDarkpageIconWarning($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  179. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDarkpageTitle($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  180. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDarkpageContent($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  181. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDarkpageLink($value, $locale = null, $limit = 0, $offset = 0, $objectTypes = null)
  182. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmailQuota($value, $limit = 0, $offset = 0, $objectTypes = null)
  183. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseAdminMail($value, $limit = 0, $offset = 0, $objectTypes = null)
  184. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEventParticipantMail($value, $limit = 0, $offset = 0, $objectTypes = null)
  185. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWebcamImageFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  186. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByResortFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  187. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByLiftFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  188. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getBySlopeFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  189. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMiscellaneousFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  190. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByConnectionFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  191. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWarningFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  192. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWindFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  193. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByWeatherFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  194. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByProfileImagesFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  195. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByShopNotificationFolder($value, $limit = 0, $offset = 0, $objectTypes = null)
  196. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByJobApplications($value, $limit = 0, $offset = 0, $objectTypes = null)
  197. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByJobApplicationDocuments($value, $limit = 0, $offset = 0, $objectTypes = null)
  198. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByActivateB2bTicketWarning($value, $limit = 0, $offset = 0, $objectTypes = null)
  199. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByActivateB2bEventWarning($value, $limit = 0, $offset = 0, $objectTypes = null)
  200. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByUseSmartPricer($value, $limit = 0, $offset = 0, $objectTypes = null)
  201. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDemandPressureSeasonStart($value, $limit = 0, $offset = 0, $objectTypes = null)
  202. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDemandPressureSeasonEnd($value, $limit = 0, $offset = 0, $objectTypes = null)
  203. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByCartUsps($value, $limit = 0, $offset = 0, $objectTypes = null)
  204. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPriceCalculatorSeasons($value, $limit = 0, $offset = 0, $objectTypes = null)
  205. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByLowTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  206. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByRatherLowTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  207. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByNormalTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  208. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByRatherHighTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  209. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByFewTicketsTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  210. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getBySomeTicketsTill($value, $limit = 0, $offset = 0, $objectTypes = null)
  211. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPaymentOptions($value, $limit = 0, $offset = 0, $objectTypes = null)
  212. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByKeycardProduct($value, $limit = 0, $offset = 0, $objectTypes = null)
  213. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByAcquisitionTypesRequireKeycardPurchase($value, $limit = 0, $offset = 0, $objectTypes = null)
  214. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByHideAcquisitionTypes($value, $limit = 0, $offset = 0, $objectTypes = null)
  215. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDisableSkidataRequests($value, $limit = 0, $offset = 0, $objectTypes = null)
  216. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseSmallZone1($value, $limit = 0, $offset = 0, $objectTypes = null)
  217. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseSmallZone2($value, $limit = 0, $offset = 0, $objectTypes = null)
  218. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseBigZone1($value, $limit = 0, $offset = 0, $objectTypes = null)
  219. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseBigZone2($value, $limit = 0, $offset = 0, $objectTypes = null)
  220. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMerchandiseBigZone3($value, $limit = 0, $offset = 0, $objectTypes = null)
  221. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByPhone($value, $limit = 0, $offset = 0, $objectTypes = null)
  222. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByEmail($value, $limit = 0, $offset = 0, $objectTypes = null)
  223. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarActive($value, $limit = 0, $offset = 0, $objectTypes = null)
  224. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByBackgroundColor($value, $limit = 0, $offset = 0, $objectTypes = null)
  225. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarIcon($value, $limit = 0, $offset = 0, $objectTypes = null)
  226. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByAlwaysFixed($value, $limit = 0, $offset = 0, $objectTypes = null)
  227. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarActiveShop($value, $limit = 0, $offset = 0, $objectTypes = null)
  228. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByBackgroundColorShop($value, $limit = 0, $offset = 0, $objectTypes = null)
  229. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByMainNavbarIconShop($value, $limit = 0, $offset = 0, $objectTypes = null)
  230. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByAlwaysFixedShop($value, $limit = 0, $offset = 0, $objectTypes = null)
  231. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDarkPageActive($value, $limit = 0, $offset = 0, $objectTypes = null)
  232. * @method static \Pimcore\Model\DataObject\SiteConfig\Listing|\Pimcore\Model\DataObject\SiteConfig|null getByDaysAfterJobApplicantsAreExpired($value, $limit = 0, $offset = 0, $objectTypes = null)
  233. */
  234. class SiteConfig extends Concrete implements \Elements\Bundle\TicketShopFrameworkBundle\Model\DataObject\SiteConfigInterface
  235. {
  236. protected $o_classId "SiteConfig";
  237. protected $o_className "SiteConfig";
  238. protected $snowObject;
  239. protected $temperatureObject;
  240. protected $clouds;
  241. protected $cloudsMobile;
  242. protected $fallbackImage;
  243. protected $polygonImage;
  244. protected $localizedfields;
  245. protected $EmailQuota;
  246. protected $merchandiseAdminMail;
  247. protected $eventParticipantMail;
  248. protected $webcamImageFolder;
  249. protected $resortFolder;
  250. protected $liftFolder;
  251. protected $slopeFolder;
  252. protected $miscellaneousFolder;
  253. protected $connectionFolder;
  254. protected $warningFolder;
  255. protected $windFolder;
  256. protected $weatherFolder;
  257. protected $profileImagesFolder;
  258. protected $shopNotificationFolder;
  259. protected $jobApplications;
  260. protected $jobApplicationDocuments;
  261. protected $activateB2bTicketWarning;
  262. protected $activateB2bEventWarning;
  263. protected $useSmartPricer;
  264. protected $demandPressureSeasonStart;
  265. protected $demandPressureSeasonEnd;
  266. protected $cartUsps;
  267. protected $priceCalculatorSeasons;
  268. protected $lowTill;
  269. protected $ratherLowTill;
  270. protected $normalTill;
  271. protected $ratherHighTill;
  272. protected $fewTicketsTill;
  273. protected $someTicketsTill;
  274. protected $paymentOptions;
  275. protected $keycardProduct;
  276. protected $acquisitionTypesRequireKeycardPurchase;
  277. protected $hideAcquisitionTypes;
  278. protected $disableSkidataRequests;
  279. protected $merchandiseSmallZone1;
  280. protected $merchandiseSmallZone2;
  281. protected $merchandiseBigZone1;
  282. protected $merchandiseBigZone2;
  283. protected $merchandiseBigZone3;
  284. protected $phone;
  285. protected $email;
  286. protected $socialMediaBlock;
  287. protected $mainNavbarActive;
  288. protected $backgroundColor;
  289. protected $mainNavbarIcon;
  290. protected $alwaysFixed;
  291. protected $mainNavbarActiveShop;
  292. protected $backgroundColorShop;
  293. protected $mainNavbarIconShop;
  294. protected $alwaysFixedShop;
  295. protected $darkPageActive;
  296. protected $daysAfterJobApplicantsAreExpired;
  297. /**
  298. * @param array $values
  299. * @return \Pimcore\Model\DataObject\SiteConfig
  300. */
  301. public static function create($values = array()) {
  302.     $object = new static();
  303.     $object->setValues($values);
  304.     return $object;
  305. }
  306. /**
  307. * Get snowObject - Snow Object
  308. * @return \Pimcore\Model\DataObject\Snow|null
  309. */
  310. public function getSnowObject()
  311. {
  312.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  313.         $preValue $this->preGetValue("snowObject");
  314.         if ($preValue !== null) {
  315.             return $preValue;
  316.         }
  317.     }
  318.     $data $this->getClass()->getFieldDefinition("snowObject")->preGetData($this);
  319.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("snowObject")->isEmpty($data)) {
  320.         try {
  321.             return $this->getValueFromParent("snowObject");
  322.         } catch (InheritanceParentNotFoundException $e) {
  323.             // no data from parent available, continue ...
  324.         }
  325.     }
  326.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  327.         return $data->getPlain();
  328.     }
  329.     return $data;
  330. }
  331. /**
  332. * Set snowObject - Snow Object
  333. * @param \Pimcore\Model\DataObject\Snow|null $snowObject
  334. * @return \Pimcore\Model\DataObject\SiteConfig
  335. */
  336. public function setSnowObject($snowObject)
  337. {
  338.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  339.     $fd $this->getClass()->getFieldDefinition("snowObject");
  340.     $inheritValues self::getGetInheritedValues();
  341.     self::setGetInheritedValues(false);
  342.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  343.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  344.     $currentData $this->getSnowObject();
  345.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  346.     self::setGetInheritedValues($inheritValues);
  347.     $isEqual $fd->isEqual($currentData$snowObject);
  348.     if (!$isEqual) {
  349.         $this->markFieldDirty("snowObject"true);
  350.     }
  351.     $this->snowObject $fd->preSetData($this$snowObject);
  352.     return $this;
  353. }
  354. /**
  355. * Get temperatureObject - Temperature Object
  356. * @return \Pimcore\Model\DataObject\Weather | \Pimcore\Model\DataObject\Wind|null
  357. */
  358. public function getTemperatureObject()
  359. {
  360.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  361.         $preValue $this->preGetValue("temperatureObject");
  362.         if ($preValue !== null) {
  363.             return $preValue;
  364.         }
  365.     }
  366.     $data $this->getClass()->getFieldDefinition("temperatureObject")->preGetData($this);
  367.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("temperatureObject")->isEmpty($data)) {
  368.         try {
  369.             return $this->getValueFromParent("temperatureObject");
  370.         } catch (InheritanceParentNotFoundException $e) {
  371.             // no data from parent available, continue ...
  372.         }
  373.     }
  374.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  375.         return $data->getPlain();
  376.     }
  377.     return $data;
  378. }
  379. /**
  380. * Set temperatureObject - Temperature Object
  381. * @param \Pimcore\Model\DataObject\Weather | \Pimcore\Model\DataObject\Wind|null $temperatureObject
  382. * @return \Pimcore\Model\DataObject\SiteConfig
  383. */
  384. public function setTemperatureObject($temperatureObject)
  385. {
  386.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  387.     $fd $this->getClass()->getFieldDefinition("temperatureObject");
  388.     $inheritValues self::getGetInheritedValues();
  389.     self::setGetInheritedValues(false);
  390.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  391.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  392.     $currentData $this->getTemperatureObject();
  393.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  394.     self::setGetInheritedValues($inheritValues);
  395.     $isEqual $fd->isEqual($currentData$temperatureObject);
  396.     if (!$isEqual) {
  397.         $this->markFieldDirty("temperatureObject"true);
  398.     }
  399.     $this->temperatureObject $fd->preSetData($this$temperatureObject);
  400.     return $this;
  401. }
  402. /**
  403. * Get clouds - Clouds
  404. * @return \Pimcore\Model\Asset\Image|null
  405. */
  406. public function getClouds()
  407. {
  408.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  409.         $preValue $this->preGetValue("clouds");
  410.         if ($preValue !== null) {
  411.             return $preValue;
  412.         }
  413.     }
  414.     $data $this->clouds;
  415.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("clouds")->isEmpty($data)) {
  416.         try {
  417.             return $this->getValueFromParent("clouds");
  418.         } catch (InheritanceParentNotFoundException $e) {
  419.             // no data from parent available, continue ...
  420.         }
  421.     }
  422.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  423.         return $data->getPlain();
  424.     }
  425.     return $data;
  426. }
  427. /**
  428. * Set clouds - Clouds
  429. * @param \Pimcore\Model\Asset\Image|null $clouds
  430. * @return \Pimcore\Model\DataObject\SiteConfig
  431. */
  432. public function setClouds($clouds)
  433. {
  434.     $this->clouds $clouds;
  435.     return $this;
  436. }
  437. /**
  438. * Get cloudsMobile - Clouds mobile
  439. * @return \Pimcore\Model\Asset\Image|null
  440. */
  441. public function getCloudsMobile()
  442. {
  443.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  444.         $preValue $this->preGetValue("cloudsMobile");
  445.         if ($preValue !== null) {
  446.             return $preValue;
  447.         }
  448.     }
  449.     $data $this->cloudsMobile;
  450.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("cloudsMobile")->isEmpty($data)) {
  451.         try {
  452.             return $this->getValueFromParent("cloudsMobile");
  453.         } catch (InheritanceParentNotFoundException $e) {
  454.             // no data from parent available, continue ...
  455.         }
  456.     }
  457.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  458.         return $data->getPlain();
  459.     }
  460.     return $data;
  461. }
  462. /**
  463. * Set cloudsMobile - Clouds mobile
  464. * @param \Pimcore\Model\Asset\Image|null $cloudsMobile
  465. * @return \Pimcore\Model\DataObject\SiteConfig
  466. */
  467. public function setCloudsMobile($cloudsMobile)
  468. {
  469.     $this->cloudsMobile $cloudsMobile;
  470.     return $this;
  471. }
  472. /**
  473. * Get fallbackImage - Fallback Image
  474. * @return \Pimcore\Model\Asset\Image|null
  475. */
  476. public function getFallbackImage()
  477. {
  478.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  479.         $preValue $this->preGetValue("fallbackImage");
  480.         if ($preValue !== null) {
  481.             return $preValue;
  482.         }
  483.     }
  484.     $data $this->fallbackImage;
  485.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("fallbackImage")->isEmpty($data)) {
  486.         try {
  487.             return $this->getValueFromParent("fallbackImage");
  488.         } catch (InheritanceParentNotFoundException $e) {
  489.             // no data from parent available, continue ...
  490.         }
  491.     }
  492.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  493.         return $data->getPlain();
  494.     }
  495.     return $data;
  496. }
  497. /**
  498. * Set fallbackImage - Fallback Image
  499. * @param \Pimcore\Model\Asset\Image|null $fallbackImage
  500. * @return \Pimcore\Model\DataObject\SiteConfig
  501. */
  502. public function setFallbackImage($fallbackImage)
  503. {
  504.     $this->fallbackImage $fallbackImage;
  505.     return $this;
  506. }
  507. /**
  508. * Get polygonImage - Polygon Image
  509. * @return \Pimcore\Model\Asset\Image|null
  510. */
  511. public function getPolygonImage()
  512. {
  513.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  514.         $preValue $this->preGetValue("polygonImage");
  515.         if ($preValue !== null) {
  516.             return $preValue;
  517.         }
  518.     }
  519.     $data $this->polygonImage;
  520.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("polygonImage")->isEmpty($data)) {
  521.         try {
  522.             return $this->getValueFromParent("polygonImage");
  523.         } catch (InheritanceParentNotFoundException $e) {
  524.             // no data from parent available, continue ...
  525.         }
  526.     }
  527.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  528.         return $data->getPlain();
  529.     }
  530.     return $data;
  531. }
  532. /**
  533. * Set polygonImage - Polygon Image
  534. * @param \Pimcore\Model\Asset\Image|null $polygonImage
  535. * @return \Pimcore\Model\DataObject\SiteConfig
  536. */
  537. public function setPolygonImage($polygonImage)
  538. {
  539.     $this->polygonImage $polygonImage;
  540.     return $this;
  541. }
  542. /**
  543. * Get localizedfields - 
  544. * @return \Pimcore\Model\DataObject\Localizedfield|null
  545. */
  546. public function getLocalizedfields()
  547. {
  548.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  549.         $preValue $this->preGetValue("localizedfields");
  550.         if ($preValue !== null) {
  551.             return $preValue;
  552.         }
  553.     }
  554.     $data $this->getClass()->getFieldDefinition("localizedfields")->preGetData($this);
  555.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("localizedfields")->isEmpty($data)) {
  556.         try {
  557.             return $this->getValueFromParent("localizedfields");
  558.         } catch (InheritanceParentNotFoundException $e) {
  559.             // no data from parent available, continue ...
  560.         }
  561.     }
  562.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  563.         return $data->getPlain();
  564.     }
  565.     return $data;
  566. }
  567. /**
  568. * Get searchDocument - Search
  569. * @return \Pimcore\Model\Document\Page|null
  570. */
  571. public function getSearchDocument($language null)
  572. {
  573.     $data $this->getLocalizedfields()->getLocalizedValue("searchDocument"$language);
  574.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  575.         $preValue $this->preGetValue("searchDocument");
  576.         if ($preValue !== null) {
  577.             return $preValue;
  578.         }
  579.     }
  580.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  581.         return $data->getPlain();
  582.     }
  583.     return $data;
  584. }
  585. /**
  586. * Get newsOverviewDocument - News Overview Document
  587. * @return \Pimcore\Model\Document\Page|null
  588. */
  589. public function getNewsOverviewDocument($language null)
  590. {
  591.     $data $this->getLocalizedfields()->getLocalizedValue("newsOverviewDocument"$language);
  592.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  593.         $preValue $this->preGetValue("newsOverviewDocument");
  594.         if ($preValue !== null) {
  595.             return $preValue;
  596.         }
  597.     }
  598.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  599.         return $data->getPlain();
  600.     }
  601.     return $data;
  602. }
  603. /**
  604. * Get facilitiesOverviewDocument - Facilities Overview Document
  605. * @return \Pimcore\Model\Document\Page|null
  606. */
  607. public function getFacilitiesOverviewDocument($language null)
  608. {
  609.     $data $this->getLocalizedfields()->getLocalizedValue("facilitiesOverviewDocument"$language);
  610.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  611.         $preValue $this->preGetValue("facilitiesOverviewDocument");
  612.         if ($preValue !== null) {
  613.             return $preValue;
  614.         }
  615.     }
  616.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  617.         return $data->getPlain();
  618.     }
  619.     return $data;
  620. }
  621. /**
  622. * Get weatherDocument - Weather
  623. * @return \Pimcore\Model\Document\Page|null
  624. */
  625. public function getWeatherDocument($language null)
  626. {
  627.     $data $this->getLocalizedfields()->getLocalizedValue("weatherDocument"$language);
  628.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  629.         $preValue $this->preGetValue("weatherDocument");
  630.         if ($preValue !== null) {
  631.             return $preValue;
  632.         }
  633.     }
  634.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  635.         return $data->getPlain();
  636.     }
  637.     return $data;
  638. }
  639. /**
  640. * Get webcamDocument - Webcam
  641. * @return \Pimcore\Model\Document\Page|null
  642. */
  643. public function getWebcamDocument($language null)
  644. {
  645.     $data $this->getLocalizedfields()->getLocalizedValue("webcamDocument"$language);
  646.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  647.         $preValue $this->preGetValue("webcamDocument");
  648.         if ($preValue !== null) {
  649.             return $preValue;
  650.         }
  651.     }
  652.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  653.         return $data->getPlain();
  654.     }
  655.     return $data;
  656. }
  657. /**
  658. * Get mapDocument - Map
  659. * @return \Pimcore\Model\Document\Page|null
  660. */
  661. public function getMapDocument($language null)
  662. {
  663.     $data $this->getLocalizedfields()->getLocalizedValue("mapDocument"$language);
  664.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  665.         $preValue $this->preGetValue("mapDocument");
  666.         if ($preValue !== null) {
  667.             return $preValue;
  668.         }
  669.     }
  670.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  671.         return $data->getPlain();
  672.     }
  673.     return $data;
  674. }
  675. /**
  676. * Get faqDocument - Faq
  677. * @return \Pimcore\Model\Document\Page|null
  678. */
  679. public function getFaqDocument($language null)
  680. {
  681.     $data $this->getLocalizedfields()->getLocalizedValue("faqDocument"$language);
  682.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  683.         $preValue $this->preGetValue("faqDocument");
  684.         if ($preValue !== null) {
  685.             return $preValue;
  686.         }
  687.     }
  688.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  689.         return $data->getPlain();
  690.     }
  691.     return $data;
  692. }
  693. /**
  694. * Get jobOverviewDocument - Job Overview
  695. * @return \Pimcore\Model\Document\Page|null
  696. */
  697. public function getJobOverviewDocument($language null)
  698. {
  699.     $data $this->getLocalizedfields()->getLocalizedValue("jobOverviewDocument"$language);
  700.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  701.         $preValue $this->preGetValue("jobOverviewDocument");
  702.         if ($preValue !== null) {
  703.             return $preValue;
  704.         }
  705.     }
  706.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  707.         return $data->getPlain();
  708.     }
  709.     return $data;
  710. }
  711. /**
  712. * Get jobTeamOverviewDocument - Job Team Overview
  713. * @return \Pimcore\Model\Document\Page|null
  714. */
  715. public function getJobTeamOverviewDocument($language null)
  716. {
  717.     $data $this->getLocalizedfields()->getLocalizedValue("jobTeamOverviewDocument"$language);
  718.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  719.         $preValue $this->preGetValue("jobTeamOverviewDocument");
  720.         if ($preValue !== null) {
  721.             return $preValue;
  722.         }
  723.     }
  724.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  725.         return $data->getPlain();
  726.     }
  727.     return $data;
  728. }
  729. /**
  730. * Get jobApplicationSuccessDocument - Job Application Success Document
  731. * @return \Pimcore\Model\Document\Page|null
  732. */
  733. public function getJobApplicationSuccessDocument($language null)
  734. {
  735.     $data $this->getLocalizedfields()->getLocalizedValue("jobApplicationSuccessDocument"$language);
  736.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  737.         $preValue $this->preGetValue("jobApplicationSuccessDocument");
  738.         if ($preValue !== null) {
  739.             return $preValue;
  740.         }
  741.     }
  742.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  743.         return $data->getPlain();
  744.     }
  745.     return $data;
  746. }
  747. /**
  748. * Get shopOverview - Shop Overview
  749. * @return \Pimcore\Model\Document\Page|null
  750. */
  751. public function getShopOverview($language null)
  752. {
  753.     $data $this->getLocalizedfields()->getLocalizedValue("shopOverview"$language);
  754.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  755.         $preValue $this->preGetValue("shopOverview");
  756.         if ($preValue !== null) {
  757.             return $preValue;
  758.         }
  759.     }
  760.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  761.         return $data->getPlain();
  762.     }
  763.     return $data;
  764. }
  765. /**
  766. * Get merchandiseOverview - Merchandise Overview
  767. * @return \Pimcore\Model\Document\Page|null
  768. */
  769. public function getMerchandiseOverview($language null)
  770. {
  771.     $data $this->getLocalizedfields()->getLocalizedValue("merchandiseOverview"$language);
  772.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  773.         $preValue $this->preGetValue("merchandiseOverview");
  774.         if ($preValue !== null) {
  775.             return $preValue;
  776.         }
  777.     }
  778.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  779.         return $data->getPlain();
  780.     }
  781.     return $data;
  782. }
  783. /**
  784. * Get eventOverview - Event Overview
  785. * @return \Pimcore\Model\Document\Page|null
  786. */
  787. public function getEventOverview($language null)
  788. {
  789.     $data $this->getLocalizedfields()->getLocalizedValue("eventOverview"$language);
  790.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  791.         $preValue $this->preGetValue("eventOverview");
  792.         if ($preValue !== null) {
  793.             return $preValue;
  794.         }
  795.     }
  796.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  797.         return $data->getPlain();
  798.     }
  799.     return $data;
  800. }
  801. /**
  802. * Get iSite - I-Site B2B
  803. * @return \Pimcore\Model\Document\Page|null
  804. */
  805. public function getISite($language null)
  806. {
  807.     $data $this->getLocalizedfields()->getLocalizedValue("iSite"$language);
  808.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  809.         $preValue $this->preGetValue("iSite");
  810.         if ($preValue !== null) {
  811.             return $preValue;
  812.         }
  813.     }
  814.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  815.         return $data->getPlain();
  816.     }
  817.     return $data;
  818. }
  819. /**
  820. * Get faqB2b - FAQ B2B
  821. * @return \Pimcore\Model\Document\Page|null
  822. */
  823. public function getFaqB2b($language null)
  824. {
  825.     $data $this->getLocalizedfields()->getLocalizedValue("faqB2b"$language);
  826.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  827.         $preValue $this->preGetValue("faqB2b");
  828.         if ($preValue !== null) {
  829.             return $preValue;
  830.         }
  831.     }
  832.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  833.         return $data->getPlain();
  834.     }
  835.     return $data;
  836. }
  837. /**
  838. * Get faqTourOperator - FAQ Tour-Operator
  839. * @return \Pimcore\Model\Document\Page|null
  840. */
  841. public function getFaqTourOperator($language null)
  842. {
  843.     $data $this->getLocalizedfields()->getLocalizedValue("faqTourOperator"$language);
  844.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  845.         $preValue $this->preGetValue("faqTourOperator");
  846.         if ($preValue !== null) {
  847.             return $preValue;
  848.         }
  849.     }
  850.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  851.         return $data->getPlain();
  852.     }
  853.     return $data;
  854. }
  855. /**
  856. * Get tourOperatorRightButton - Menu Button TourOperator
  857. * @return \Pimcore\Model\Document\Page|null
  858. */
  859. public function getTourOperatorRightButton($language null)
  860. {
  861.     $data $this->getLocalizedfields()->getLocalizedValue("tourOperatorRightButton"$language);
  862.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  863.         $preValue $this->preGetValue("tourOperatorRightButton");
  864.         if ($preValue !== null) {
  865.             return $preValue;
  866.         }
  867.     }
  868.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  869.         return $data->getPlain();
  870.     }
  871.     return $data;
  872. }
  873. /**
  874. * Get printAtHomePdf - Print @ Home PDF
  875. * @return \Pimcore\Model\Document\Page|null
  876. */
  877. public function getPrintAtHomePdf($language null)
  878. {
  879.     $data $this->getLocalizedfields()->getLocalizedValue("printAtHomePdf"$language);
  880.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  881.         $preValue $this->preGetValue("printAtHomePdf");
  882.         if ($preValue !== null) {
  883.             return $preValue;
  884.         }
  885.     }
  886.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  887.         return $data->getPlain();
  888.     }
  889.     return $data;
  890. }
  891. /**
  892. * Get pickupPdf - Pickup PDF
  893. * @return \Pimcore\Model\Document\Page|null
  894. */
  895. public function getPickupPdf($language null)
  896. {
  897.     $data $this->getLocalizedfields()->getLocalizedValue("pickupPdf"$language);
  898.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  899.         $preValue $this->preGetValue("pickupPdf");
  900.         if ($preValue !== null) {
  901.             return $preValue;
  902.         }
  903.     }
  904.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  905.         return $data->getPlain();
  906.     }
  907.     return $data;
  908. }
  909. /**
  910. * Get invoicePdf - Invoice PDF
  911. * @return \Pimcore\Model\Document\Page|null
  912. */
  913. public function getInvoicePdf($language null)
  914. {
  915.     $data $this->getLocalizedfields()->getLocalizedValue("invoicePdf"$language);
  916.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  917.         $preValue $this->preGetValue("invoicePdf");
  918.         if ($preValue !== null) {
  919.             return $preValue;
  920.         }
  921.     }
  922.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  923.         return $data->getPlain();
  924.     }
  925.     return $data;
  926. }
  927. /**
  928. * Get QRCodePdf - QR Code Pdf
  929. * @return \Pimcore\Model\Document\Page|null
  930. */
  931. public function getQRCodePdf($language null)
  932. {
  933.     $data $this->getLocalizedfields()->getLocalizedValue("QRCodePdf"$language);
  934.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  935.         $preValue $this->preGetValue("QRCodePdf");
  936.         if ($preValue !== null) {
  937.             return $preValue;
  938.         }
  939.     }
  940.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  941.         return $data->getPlain();
  942.     }
  943.     return $data;
  944. }
  945. /**
  946. * Get tourOperatorInvoicePdf - Invoice PDF
  947. * @return \Pimcore\Model\Document\Page|null
  948. */
  949. public function getTourOperatorInvoicePdf($language null)
  950. {
  951.     $data $this->getLocalizedfields()->getLocalizedValue("tourOperatorInvoicePdf"$language);
  952.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  953.         $preValue $this->preGetValue("tourOperatorInvoicePdf");
  954.         if ($preValue !== null) {
  955.             return $preValue;
  956.         }
  957.     }
  958.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  959.         return $data->getPlain();
  960.     }
  961.     return $data;
  962. }
  963. /**
  964. * Get tradeHome - Trade Home
  965. * @return \Pimcore\Model\Document\Page|null
  966. */
  967. public function getTradeHome($language null)
  968. {
  969.     $data $this->getLocalizedfields()->getLocalizedValue("tradeHome"$language);
  970.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  971.         $preValue $this->preGetValue("tradeHome");
  972.         if ($preValue !== null) {
  973.             return $preValue;
  974.         }
  975.     }
  976.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  977.         return $data->getPlain();
  978.     }
  979.     return $data;
  980. }
  981. /**
  982. * Get applicationAdminMailDocument - Application Admin Mail Document
  983. * @return \Pimcore\Model\Document\Email|null
  984. */
  985. public function getApplicationAdminMailDocument($language null)
  986. {
  987.     $data $this->getLocalizedfields()->getLocalizedValue("applicationAdminMailDocument"$language);
  988.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  989.         $preValue $this->preGetValue("applicationAdminMailDocument");
  990.         if ($preValue !== null) {
  991.             return $preValue;
  992.         }
  993.     }
  994.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  995.         return $data->getPlain();
  996.     }
  997.     return $data;
  998. }
  999. /**
  1000. * Get applicationUserMailDocument - Application User Mail Document
  1001. * @return \Pimcore\Model\Document\Email|null
  1002. */
  1003. public function getApplicationUserMailDocument($language null)
  1004. {
  1005.     $data $this->getLocalizedfields()->getLocalizedValue("applicationUserMailDocument"$language);
  1006.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1007.         $preValue $this->preGetValue("applicationUserMailDocument");
  1008.         if ($preValue !== null) {
  1009.             return $preValue;
  1010.         }
  1011.     }
  1012.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1013.         return $data->getPlain();
  1014.     }
  1015.     return $data;
  1016. }
  1017. /**
  1018. * Get EmailOrderCompletion - Email Order Completion B2C
  1019. * @return \Pimcore\Model\Document\Email|null
  1020. */
  1021. public function getEmailOrderCompletion($language null)
  1022. {
  1023.     $data $this->getLocalizedfields()->getLocalizedValue("EmailOrderCompletion"$language);
  1024.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1025.         $preValue $this->preGetValue("EmailOrderCompletion");
  1026.         if ($preValue !== null) {
  1027.             return $preValue;
  1028.         }
  1029.     }
  1030.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1031.         return $data->getPlain();
  1032.     }
  1033.     return $data;
  1034. }
  1035. /**
  1036. * Get EmailOrderConfirmation - Email Order Confirmation B2C
  1037. * @return \Pimcore\Model\Document\Email|null
  1038. */
  1039. public function getEmailOrderConfirmation($language null)
  1040. {
  1041.     $data $this->getLocalizedfields()->getLocalizedValue("EmailOrderConfirmation"$language);
  1042.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1043.         $preValue $this->preGetValue("EmailOrderConfirmation");
  1044.         if ($preValue !== null) {
  1045.             return $preValue;
  1046.         }
  1047.     }
  1048.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1049.         return $data->getPlain();
  1050.     }
  1051.     return $data;
  1052. }
  1053. /**
  1054. * Get EmailOrderCancel - Email Order Cancel
  1055. * @return \Pimcore\Model\Document\Email|null
  1056. */
  1057. public function getEmailOrderCancel($language null)
  1058. {
  1059.     $data $this->getLocalizedfields()->getLocalizedValue("EmailOrderCancel"$language);
  1060.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1061.         $preValue $this->preGetValue("EmailOrderCancel");
  1062.         if ($preValue !== null) {
  1063.             return $preValue;
  1064.         }
  1065.     }
  1066.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1067.         return $data->getPlain();
  1068.     }
  1069.     return $data;
  1070. }
  1071. /**
  1072. * Get emailOrderCompletionB2B - Email Order Completion B2B
  1073. * @return \Pimcore\Model\Document\Email|null
  1074. */
  1075. public function getEmailOrderCompletionB2B($language null)
  1076. {
  1077.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderCompletionB2B"$language);
  1078.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1079.         $preValue $this->preGetValue("emailOrderCompletionB2B");
  1080.         if ($preValue !== null) {
  1081.             return $preValue;
  1082.         }
  1083.     }
  1084.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1085.         return $data->getPlain();
  1086.     }
  1087.     return $data;
  1088. }
  1089. /**
  1090. * Get emailOrderConfirmationB2B - Email Order Confirmation B2B
  1091. * @return \Pimcore\Model\Document\Email|null
  1092. */
  1093. public function getEmailOrderConfirmationB2B($language null)
  1094. {
  1095.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderConfirmationB2B"$language);
  1096.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1097.         $preValue $this->preGetValue("emailOrderConfirmationB2B");
  1098.         if ($preValue !== null) {
  1099.             return $preValue;
  1100.         }
  1101.     }
  1102.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1103.         return $data->getPlain();
  1104.     }
  1105.     return $data;
  1106. }
  1107. /**
  1108. * Get emailOrderCancelB2B - Email Order Cancel B2B
  1109. * @return \Pimcore\Model\Document\Email|null
  1110. */
  1111. public function getEmailOrderCancelB2B($language null)
  1112. {
  1113.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderCancelB2B"$language);
  1114.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1115.         $preValue $this->preGetValue("emailOrderCancelB2B");
  1116.         if ($preValue !== null) {
  1117.             return $preValue;
  1118.         }
  1119.     }
  1120.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1121.         return $data->getPlain();
  1122.     }
  1123.     return $data;
  1124. }
  1125. /**
  1126. * Get emailOrderCompletionTo - Email Order Completion Tour-Operator
  1127. * @return \Pimcore\Model\Document\Email|null
  1128. */
  1129. public function getEmailOrderCompletionTo($language null)
  1130. {
  1131.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderCompletionTo"$language);
  1132.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1133.         $preValue $this->preGetValue("emailOrderCompletionTo");
  1134.         if ($preValue !== null) {
  1135.             return $preValue;
  1136.         }
  1137.     }
  1138.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1139.         return $data->getPlain();
  1140.     }
  1141.     return $data;
  1142. }
  1143. /**
  1144. * Get emailOrderConfirmationTo - Email Order Confirmation Tour-Operator
  1145. * @return \Pimcore\Model\Document\Email|null
  1146. */
  1147. public function getEmailOrderConfirmationTo($language null)
  1148. {
  1149.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderConfirmationTo"$language);
  1150.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1151.         $preValue $this->preGetValue("emailOrderConfirmationTo");
  1152.         if ($preValue !== null) {
  1153.             return $preValue;
  1154.         }
  1155.     }
  1156.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1157.         return $data->getPlain();
  1158.     }
  1159.     return $data;
  1160. }
  1161. /**
  1162. * Get emailOrderCancelTo - Email Order Cancel Tour-Operator
  1163. * @return \Pimcore\Model\Document\Email|null
  1164. */
  1165. public function getEmailOrderCancelTo($language null)
  1166. {
  1167.     $data $this->getLocalizedfields()->getLocalizedValue("emailOrderCancelTo"$language);
  1168.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1169.         $preValue $this->preGetValue("emailOrderCancelTo");
  1170.         if ($preValue !== null) {
  1171.             return $preValue;
  1172.         }
  1173.     }
  1174.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1175.         return $data->getPlain();
  1176.     }
  1177.     return $data;
  1178. }
  1179. /**
  1180. * Get emailEventCancel - Email Event Cancel
  1181. * @return \Pimcore\Model\Document\Email|null
  1182. */
  1183. public function getEmailEventCancel($language null)
  1184. {
  1185.     $data $this->getLocalizedfields()->getLocalizedValue("emailEventCancel"$language);
  1186.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1187.         $preValue $this->preGetValue("emailEventCancel");
  1188.         if ($preValue !== null) {
  1189.             return $preValue;
  1190.         }
  1191.     }
  1192.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1193.         return $data->getPlain();
  1194.     }
  1195.     return $data;
  1196. }
  1197. /**
  1198. * Get EmailOrderError - Email Order Error
  1199. * @return \Pimcore\Model\Document\Email|null
  1200. */
  1201. public function getEmailOrderError($language null)
  1202. {
  1203.     $data $this->getLocalizedfields()->getLocalizedValue("EmailOrderError"$language);
  1204.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1205.         $preValue $this->preGetValue("EmailOrderError");
  1206.         if ($preValue !== null) {
  1207.             return $preValue;
  1208.         }
  1209.     }
  1210.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1211.         return $data->getPlain();
  1212.     }
  1213.     return $data;
  1214. }
  1215. /**
  1216. * Get EmailOrderErrorAdmin - Email Order Error Admin
  1217. * @return \Pimcore\Model\Document\Email|null
  1218. */
  1219. public function getEmailOrderErrorAdmin($language null)
  1220. {
  1221.     $data $this->getLocalizedfields()->getLocalizedValue("EmailOrderErrorAdmin"$language);
  1222.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1223.         $preValue $this->preGetValue("EmailOrderErrorAdmin");
  1224.         if ($preValue !== null) {
  1225.             return $preValue;
  1226.         }
  1227.     }
  1228.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1229.         return $data->getPlain();
  1230.     }
  1231.     return $data;
  1232. }
  1233. /**
  1234. * Get EmailPaymentErrorAdmin - Email Payment Error Admin
  1235. * @return \Pimcore\Model\Document\Email|null
  1236. */
  1237. public function getEmailPaymentErrorAdmin($language null)
  1238. {
  1239.     $data $this->getLocalizedfields()->getLocalizedValue("EmailPaymentErrorAdmin"$language);
  1240.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1241.         $preValue $this->preGetValue("EmailPaymentErrorAdmin");
  1242.         if ($preValue !== null) {
  1243.             return $preValue;
  1244.         }
  1245.     }
  1246.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1247.         return $data->getPlain();
  1248.     }
  1249.     return $data;
  1250. }
  1251. /**
  1252. * Get EmailNotification - Email Notification
  1253. * @return \Pimcore\Model\Document\Email|null
  1254. */
  1255. public function getEmailNotification($language null)
  1256. {
  1257.     $data $this->getLocalizedfields()->getLocalizedValue("EmailNotification"$language);
  1258.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1259.         $preValue $this->preGetValue("EmailNotification");
  1260.         if ($preValue !== null) {
  1261.             return $preValue;
  1262.         }
  1263.     }
  1264.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1265.         return $data->getPlain();
  1266.     }
  1267.     return $data;
  1268. }
  1269. /**
  1270. * Get merchandiseOnlyMail - Merchandise Only Mail
  1271. * @return \Pimcore\Model\Document\Email|null
  1272. */
  1273. public function getMerchandiseOnlyMail($language null)
  1274. {
  1275.     $data $this->getLocalizedfields()->getLocalizedValue("merchandiseOnlyMail"$language);
  1276.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1277.         $preValue $this->preGetValue("merchandiseOnlyMail");
  1278.         if ($preValue !== null) {
  1279.             return $preValue;
  1280.         }
  1281.     }
  1282.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1283.         return $data->getPlain();
  1284.     }
  1285.     return $data;
  1286. }
  1287. /**
  1288. * Get b2bTicketWarning - Ticket-Warning
  1289. * @return string|null
  1290. */
  1291. public function getB2bTicketWarning($language null)
  1292. {
  1293.     $data $this->getLocalizedfields()->getLocalizedValue("b2bTicketWarning"$language);
  1294.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1295.         $preValue $this->preGetValue("b2bTicketWarning");
  1296.         if ($preValue !== null) {
  1297.             return $preValue;
  1298.         }
  1299.     }
  1300.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1301.         return $data->getPlain();
  1302.     }
  1303.     return $data;
  1304. }
  1305. /**
  1306. * Get b2bEventWarning - Event-Warning
  1307. * @return string|null
  1308. */
  1309. public function getB2bEventWarning($language null)
  1310. {
  1311.     $data $this->getLocalizedfields()->getLocalizedValue("b2bEventWarning"$language);
  1312.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1313.         $preValue $this->preGetValue("b2bEventWarning");
  1314.         if ($preValue !== null) {
  1315.             return $preValue;
  1316.         }
  1317.     }
  1318.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1319.         return $data->getPlain();
  1320.     }
  1321.     return $data;
  1322. }
  1323. /**
  1324. * Get agbText - Conditions Text (AGB)
  1325. * @return string|null
  1326. */
  1327. public function getAgbText($language null)
  1328. {
  1329.     $data $this->getLocalizedfields()->getLocalizedValue("agbText"$language);
  1330.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1331.         $preValue $this->preGetValue("agbText");
  1332.         if ($preValue !== null) {
  1333.             return $preValue;
  1334.         }
  1335.     }
  1336.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1337.         return $data->getPlain();
  1338.     }
  1339.     return $data;
  1340. }
  1341. /**
  1342. * Get countryOrder - Country Order
  1343. * @return \Pimcore\Model\DataObject\Data\BlockElement[][]
  1344. */
  1345. public function getCountryOrder($language null)
  1346. {
  1347.     $data $this->getLocalizedfields()->getLocalizedValue("countryOrder"$language);
  1348.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1349.         $preValue $this->preGetValue("countryOrder");
  1350.         if ($preValue !== null) {
  1351.             return $preValue;
  1352.         }
  1353.     }
  1354.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1355.         return $data->getPlain();
  1356.     }
  1357.     return $data;
  1358. }
  1359. /**
  1360. * Get mainNavbarlink - Main Navbarlink
  1361. * @return \Pimcore\Model\DataObject\Data\Link|null
  1362. */
  1363. public function getMainNavbarlink($language null)
  1364. {
  1365.     $data $this->getLocalizedfields()->getLocalizedValue("mainNavbarlink"$language);
  1366.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1367.         $preValue $this->preGetValue("mainNavbarlink");
  1368.         if ($preValue !== null) {
  1369.             return $preValue;
  1370.         }
  1371.     }
  1372.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1373.         return $data->getPlain();
  1374.     }
  1375.     return $data;
  1376. }
  1377. /**
  1378. * Get mainNavbarlinkShop - Main Navbarlink
  1379. * @return \Pimcore\Model\DataObject\Data\Link|null
  1380. */
  1381. public function getMainNavbarlinkShop($language null)
  1382. {
  1383.     $data $this->getLocalizedfields()->getLocalizedValue("mainNavbarlinkShop"$language);
  1384.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1385.         $preValue $this->preGetValue("mainNavbarlinkShop");
  1386.         if ($preValue !== null) {
  1387.             return $preValue;
  1388.         }
  1389.     }
  1390.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1391.         return $data->getPlain();
  1392.     }
  1393.     return $data;
  1394. }
  1395. /**
  1396. * Get darkpageIconWarning - Icon Warning
  1397. * @return string|null
  1398. */
  1399. public function getDarkpageIconWarning($language null)
  1400. {
  1401.     $data $this->getLocalizedfields()->getLocalizedValue("darkpageIconWarning"$language);
  1402.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1403.         $preValue $this->preGetValue("darkpageIconWarning");
  1404.         if ($preValue !== null) {
  1405.             return $preValue;
  1406.         }
  1407.     }
  1408.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1409.         return $data->getPlain();
  1410.     }
  1411.     return $data;
  1412. }
  1413. /**
  1414. * Get darkpageTitle - Title
  1415. * @return string|null
  1416. */
  1417. public function getDarkpageTitle($language null)
  1418. {
  1419.     $data $this->getLocalizedfields()->getLocalizedValue("darkpageTitle"$language);
  1420.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1421.         $preValue $this->preGetValue("darkpageTitle");
  1422.         if ($preValue !== null) {
  1423.             return $preValue;
  1424.         }
  1425.     }
  1426.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1427.         return $data->getPlain();
  1428.     }
  1429.     return $data;
  1430. }
  1431. /**
  1432. * Get darkpageContent - Content
  1433. * @return string|null
  1434. */
  1435. public function getDarkpageContent($language null)
  1436. {
  1437.     $data $this->getLocalizedfields()->getLocalizedValue("darkpageContent"$language);
  1438.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1439.         $preValue $this->preGetValue("darkpageContent");
  1440.         if ($preValue !== null) {
  1441.             return $preValue;
  1442.         }
  1443.     }
  1444.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1445.         return $data->getPlain();
  1446.     }
  1447.     return $data;
  1448. }
  1449. /**
  1450. * Get darkpageLink - Link
  1451. * @return \Pimcore\Model\DataObject\Data\Link|null
  1452. */
  1453. public function getDarkpageLink($language null)
  1454. {
  1455.     $data $this->getLocalizedfields()->getLocalizedValue("darkpageLink"$language);
  1456.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1457.         $preValue $this->preGetValue("darkpageLink");
  1458.         if ($preValue !== null) {
  1459.             return $preValue;
  1460.         }
  1461.     }
  1462.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1463.         return $data->getPlain();
  1464.     }
  1465.     return $data;
  1466. }
  1467. /**
  1468. * Set localizedfields - 
  1469. * @param \Pimcore\Model\DataObject\Localizedfield|null $localizedfields
  1470. * @return \Pimcore\Model\DataObject\SiteConfig
  1471. */
  1472. public function setLocalizedfields($localizedfields)
  1473. {
  1474.     $inheritValues self::getGetInheritedValues();
  1475.     self::setGetInheritedValues(false);
  1476.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1477.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1478.     $currentData $this->getLocalizedfields();
  1479.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1480.     self::setGetInheritedValues($inheritValues);
  1481.     $this->markFieldDirty("localizedfields"true);
  1482.     $this->localizedfields $localizedfields;
  1483.     return $this;
  1484. }
  1485. /**
  1486. * Set searchDocument - Search
  1487. * @param \Pimcore\Model\Document\Page|null $searchDocument
  1488. * @return \Pimcore\Model\DataObject\SiteConfig
  1489. */
  1490. public function setSearchDocument ($searchDocument$language null)
  1491. {
  1492.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("searchDocument");
  1493.     $inheritValues self::getGetInheritedValues();
  1494.     self::setGetInheritedValues(false);
  1495.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1496.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1497.     $currentData $this->getSearchDocument($language);
  1498.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1499.     self::setGetInheritedValues($inheritValues);
  1500.     $isEqual $fd->isEqual($currentData$searchDocument);
  1501.     if (!$isEqual) {
  1502.         $this->markFieldDirty("searchDocument"true);
  1503.     }
  1504.     $this->getLocalizedfields()->setLocalizedValue("searchDocument"$searchDocument$language, !$isEqual);
  1505.     return $this;
  1506. }
  1507. /**
  1508. * Set newsOverviewDocument - News Overview Document
  1509. * @param \Pimcore\Model\Document\Page|null $newsOverviewDocument
  1510. * @return \Pimcore\Model\DataObject\SiteConfig
  1511. */
  1512. public function setNewsOverviewDocument ($newsOverviewDocument$language null)
  1513. {
  1514.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("newsOverviewDocument");
  1515.     $inheritValues self::getGetInheritedValues();
  1516.     self::setGetInheritedValues(false);
  1517.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1518.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1519.     $currentData $this->getNewsOverviewDocument($language);
  1520.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1521.     self::setGetInheritedValues($inheritValues);
  1522.     $isEqual $fd->isEqual($currentData$newsOverviewDocument);
  1523.     if (!$isEqual) {
  1524.         $this->markFieldDirty("newsOverviewDocument"true);
  1525.     }
  1526.     $this->getLocalizedfields()->setLocalizedValue("newsOverviewDocument"$newsOverviewDocument$language, !$isEqual);
  1527.     return $this;
  1528. }
  1529. /**
  1530. * Set facilitiesOverviewDocument - Facilities Overview Document
  1531. * @param \Pimcore\Model\Document\Page|null $facilitiesOverviewDocument
  1532. * @return \Pimcore\Model\DataObject\SiteConfig
  1533. */
  1534. public function setFacilitiesOverviewDocument ($facilitiesOverviewDocument$language null)
  1535. {
  1536.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("facilitiesOverviewDocument");
  1537.     $inheritValues self::getGetInheritedValues();
  1538.     self::setGetInheritedValues(false);
  1539.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1540.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1541.     $currentData $this->getFacilitiesOverviewDocument($language);
  1542.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1543.     self::setGetInheritedValues($inheritValues);
  1544.     $isEqual $fd->isEqual($currentData$facilitiesOverviewDocument);
  1545.     if (!$isEqual) {
  1546.         $this->markFieldDirty("facilitiesOverviewDocument"true);
  1547.     }
  1548.     $this->getLocalizedfields()->setLocalizedValue("facilitiesOverviewDocument"$facilitiesOverviewDocument$language, !$isEqual);
  1549.     return $this;
  1550. }
  1551. /**
  1552. * Set weatherDocument - Weather
  1553. * @param \Pimcore\Model\Document\Page|null $weatherDocument
  1554. * @return \Pimcore\Model\DataObject\SiteConfig
  1555. */
  1556. public function setWeatherDocument ($weatherDocument$language null)
  1557. {
  1558.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("weatherDocument");
  1559.     $inheritValues self::getGetInheritedValues();
  1560.     self::setGetInheritedValues(false);
  1561.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1562.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1563.     $currentData $this->getWeatherDocument($language);
  1564.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1565.     self::setGetInheritedValues($inheritValues);
  1566.     $isEqual $fd->isEqual($currentData$weatherDocument);
  1567.     if (!$isEqual) {
  1568.         $this->markFieldDirty("weatherDocument"true);
  1569.     }
  1570.     $this->getLocalizedfields()->setLocalizedValue("weatherDocument"$weatherDocument$language, !$isEqual);
  1571.     return $this;
  1572. }
  1573. /**
  1574. * Set webcamDocument - Webcam
  1575. * @param \Pimcore\Model\Document\Page|null $webcamDocument
  1576. * @return \Pimcore\Model\DataObject\SiteConfig
  1577. */
  1578. public function setWebcamDocument ($webcamDocument$language null)
  1579. {
  1580.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("webcamDocument");
  1581.     $inheritValues self::getGetInheritedValues();
  1582.     self::setGetInheritedValues(false);
  1583.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1584.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1585.     $currentData $this->getWebcamDocument($language);
  1586.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1587.     self::setGetInheritedValues($inheritValues);
  1588.     $isEqual $fd->isEqual($currentData$webcamDocument);
  1589.     if (!$isEqual) {
  1590.         $this->markFieldDirty("webcamDocument"true);
  1591.     }
  1592.     $this->getLocalizedfields()->setLocalizedValue("webcamDocument"$webcamDocument$language, !$isEqual);
  1593.     return $this;
  1594. }
  1595. /**
  1596. * Set mapDocument - Map
  1597. * @param \Pimcore\Model\Document\Page|null $mapDocument
  1598. * @return \Pimcore\Model\DataObject\SiteConfig
  1599. */
  1600. public function setMapDocument ($mapDocument$language null)
  1601. {
  1602.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("mapDocument");
  1603.     $inheritValues self::getGetInheritedValues();
  1604.     self::setGetInheritedValues(false);
  1605.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1606.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1607.     $currentData $this->getMapDocument($language);
  1608.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1609.     self::setGetInheritedValues($inheritValues);
  1610.     $isEqual $fd->isEqual($currentData$mapDocument);
  1611.     if (!$isEqual) {
  1612.         $this->markFieldDirty("mapDocument"true);
  1613.     }
  1614.     $this->getLocalizedfields()->setLocalizedValue("mapDocument"$mapDocument$language, !$isEqual);
  1615.     return $this;
  1616. }
  1617. /**
  1618. * Set faqDocument - Faq
  1619. * @param \Pimcore\Model\Document\Page|null $faqDocument
  1620. * @return \Pimcore\Model\DataObject\SiteConfig
  1621. */
  1622. public function setFaqDocument ($faqDocument$language null)
  1623. {
  1624.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("faqDocument");
  1625.     $inheritValues self::getGetInheritedValues();
  1626.     self::setGetInheritedValues(false);
  1627.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1628.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1629.     $currentData $this->getFaqDocument($language);
  1630.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1631.     self::setGetInheritedValues($inheritValues);
  1632.     $isEqual $fd->isEqual($currentData$faqDocument);
  1633.     if (!$isEqual) {
  1634.         $this->markFieldDirty("faqDocument"true);
  1635.     }
  1636.     $this->getLocalizedfields()->setLocalizedValue("faqDocument"$faqDocument$language, !$isEqual);
  1637.     return $this;
  1638. }
  1639. /**
  1640. * Set jobOverviewDocument - Job Overview
  1641. * @param \Pimcore\Model\Document\Page|null $jobOverviewDocument
  1642. * @return \Pimcore\Model\DataObject\SiteConfig
  1643. */
  1644. public function setJobOverviewDocument ($jobOverviewDocument$language null)
  1645. {
  1646.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("jobOverviewDocument");
  1647.     $inheritValues self::getGetInheritedValues();
  1648.     self::setGetInheritedValues(false);
  1649.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1650.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1651.     $currentData $this->getJobOverviewDocument($language);
  1652.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1653.     self::setGetInheritedValues($inheritValues);
  1654.     $isEqual $fd->isEqual($currentData$jobOverviewDocument);
  1655.     if (!$isEqual) {
  1656.         $this->markFieldDirty("jobOverviewDocument"true);
  1657.     }
  1658.     $this->getLocalizedfields()->setLocalizedValue("jobOverviewDocument"$jobOverviewDocument$language, !$isEqual);
  1659.     return $this;
  1660. }
  1661. /**
  1662. * Set jobTeamOverviewDocument - Job Team Overview
  1663. * @param \Pimcore\Model\Document\Page|null $jobTeamOverviewDocument
  1664. * @return \Pimcore\Model\DataObject\SiteConfig
  1665. */
  1666. public function setJobTeamOverviewDocument ($jobTeamOverviewDocument$language null)
  1667. {
  1668.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("jobTeamOverviewDocument");
  1669.     $inheritValues self::getGetInheritedValues();
  1670.     self::setGetInheritedValues(false);
  1671.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1672.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1673.     $currentData $this->getJobTeamOverviewDocument($language);
  1674.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1675.     self::setGetInheritedValues($inheritValues);
  1676.     $isEqual $fd->isEqual($currentData$jobTeamOverviewDocument);
  1677.     if (!$isEqual) {
  1678.         $this->markFieldDirty("jobTeamOverviewDocument"true);
  1679.     }
  1680.     $this->getLocalizedfields()->setLocalizedValue("jobTeamOverviewDocument"$jobTeamOverviewDocument$language, !$isEqual);
  1681.     return $this;
  1682. }
  1683. /**
  1684. * Set jobApplicationSuccessDocument - Job Application Success Document
  1685. * @param \Pimcore\Model\Document\Page|null $jobApplicationSuccessDocument
  1686. * @return \Pimcore\Model\DataObject\SiteConfig
  1687. */
  1688. public function setJobApplicationSuccessDocument ($jobApplicationSuccessDocument$language null)
  1689. {
  1690.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("jobApplicationSuccessDocument");
  1691.     $inheritValues self::getGetInheritedValues();
  1692.     self::setGetInheritedValues(false);
  1693.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1694.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1695.     $currentData $this->getJobApplicationSuccessDocument($language);
  1696.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1697.     self::setGetInheritedValues($inheritValues);
  1698.     $isEqual $fd->isEqual($currentData$jobApplicationSuccessDocument);
  1699.     if (!$isEqual) {
  1700.         $this->markFieldDirty("jobApplicationSuccessDocument"true);
  1701.     }
  1702.     $this->getLocalizedfields()->setLocalizedValue("jobApplicationSuccessDocument"$jobApplicationSuccessDocument$language, !$isEqual);
  1703.     return $this;
  1704. }
  1705. /**
  1706. * Set shopOverview - Shop Overview
  1707. * @param \Pimcore\Model\Document\Page|null $shopOverview
  1708. * @return \Pimcore\Model\DataObject\SiteConfig
  1709. */
  1710. public function setShopOverview ($shopOverview$language null)
  1711. {
  1712.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("shopOverview");
  1713.     $inheritValues self::getGetInheritedValues();
  1714.     self::setGetInheritedValues(false);
  1715.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1716.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1717.     $currentData $this->getShopOverview($language);
  1718.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1719.     self::setGetInheritedValues($inheritValues);
  1720.     $isEqual $fd->isEqual($currentData$shopOverview);
  1721.     if (!$isEqual) {
  1722.         $this->markFieldDirty("shopOverview"true);
  1723.     }
  1724.     $this->getLocalizedfields()->setLocalizedValue("shopOverview"$shopOverview$language, !$isEqual);
  1725.     return $this;
  1726. }
  1727. /**
  1728. * Set merchandiseOverview - Merchandise Overview
  1729. * @param \Pimcore\Model\Document\Page|null $merchandiseOverview
  1730. * @return \Pimcore\Model\DataObject\SiteConfig
  1731. */
  1732. public function setMerchandiseOverview ($merchandiseOverview$language null)
  1733. {
  1734.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("merchandiseOverview");
  1735.     $inheritValues self::getGetInheritedValues();
  1736.     self::setGetInheritedValues(false);
  1737.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1738.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1739.     $currentData $this->getMerchandiseOverview($language);
  1740.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1741.     self::setGetInheritedValues($inheritValues);
  1742.     $isEqual $fd->isEqual($currentData$merchandiseOverview);
  1743.     if (!$isEqual) {
  1744.         $this->markFieldDirty("merchandiseOverview"true);
  1745.     }
  1746.     $this->getLocalizedfields()->setLocalizedValue("merchandiseOverview"$merchandiseOverview$language, !$isEqual);
  1747.     return $this;
  1748. }
  1749. /**
  1750. * Set eventOverview - Event Overview
  1751. * @param \Pimcore\Model\Document\Page|null $eventOverview
  1752. * @return \Pimcore\Model\DataObject\SiteConfig
  1753. */
  1754. public function setEventOverview ($eventOverview$language null)
  1755. {
  1756.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("eventOverview");
  1757.     $inheritValues self::getGetInheritedValues();
  1758.     self::setGetInheritedValues(false);
  1759.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1760.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1761.     $currentData $this->getEventOverview($language);
  1762.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1763.     self::setGetInheritedValues($inheritValues);
  1764.     $isEqual $fd->isEqual($currentData$eventOverview);
  1765.     if (!$isEqual) {
  1766.         $this->markFieldDirty("eventOverview"true);
  1767.     }
  1768.     $this->getLocalizedfields()->setLocalizedValue("eventOverview"$eventOverview$language, !$isEqual);
  1769.     return $this;
  1770. }
  1771. /**
  1772. * Set iSite - I-Site B2B
  1773. * @param \Pimcore\Model\Document\Page|null $iSite
  1774. * @return \Pimcore\Model\DataObject\SiteConfig
  1775. */
  1776. public function setISite ($iSite$language null)
  1777. {
  1778.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("iSite");
  1779.     $inheritValues self::getGetInheritedValues();
  1780.     self::setGetInheritedValues(false);
  1781.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1782.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1783.     $currentData $this->getISite($language);
  1784.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1785.     self::setGetInheritedValues($inheritValues);
  1786.     $isEqual $fd->isEqual($currentData$iSite);
  1787.     if (!$isEqual) {
  1788.         $this->markFieldDirty("iSite"true);
  1789.     }
  1790.     $this->getLocalizedfields()->setLocalizedValue("iSite"$iSite$language, !$isEqual);
  1791.     return $this;
  1792. }
  1793. /**
  1794. * Set faqB2b - FAQ B2B
  1795. * @param \Pimcore\Model\Document\Page|null $faqB2b
  1796. * @return \Pimcore\Model\DataObject\SiteConfig
  1797. */
  1798. public function setFaqB2b ($faqB2b$language null)
  1799. {
  1800.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("faqB2b");
  1801.     $inheritValues self::getGetInheritedValues();
  1802.     self::setGetInheritedValues(false);
  1803.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1804.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1805.     $currentData $this->getFaqB2b($language);
  1806.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1807.     self::setGetInheritedValues($inheritValues);
  1808.     $isEqual $fd->isEqual($currentData$faqB2b);
  1809.     if (!$isEqual) {
  1810.         $this->markFieldDirty("faqB2b"true);
  1811.     }
  1812.     $this->getLocalizedfields()->setLocalizedValue("faqB2b"$faqB2b$language, !$isEqual);
  1813.     return $this;
  1814. }
  1815. /**
  1816. * Set faqTourOperator - FAQ Tour-Operator
  1817. * @param \Pimcore\Model\Document\Page|null $faqTourOperator
  1818. * @return \Pimcore\Model\DataObject\SiteConfig
  1819. */
  1820. public function setFaqTourOperator ($faqTourOperator$language null)
  1821. {
  1822.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("faqTourOperator");
  1823.     $inheritValues self::getGetInheritedValues();
  1824.     self::setGetInheritedValues(false);
  1825.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1826.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1827.     $currentData $this->getFaqTourOperator($language);
  1828.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1829.     self::setGetInheritedValues($inheritValues);
  1830.     $isEqual $fd->isEqual($currentData$faqTourOperator);
  1831.     if (!$isEqual) {
  1832.         $this->markFieldDirty("faqTourOperator"true);
  1833.     }
  1834.     $this->getLocalizedfields()->setLocalizedValue("faqTourOperator"$faqTourOperator$language, !$isEqual);
  1835.     return $this;
  1836. }
  1837. /**
  1838. * Set tourOperatorRightButton - Menu Button TourOperator
  1839. * @param \Pimcore\Model\Document\Page|null $tourOperatorRightButton
  1840. * @return \Pimcore\Model\DataObject\SiteConfig
  1841. */
  1842. public function setTourOperatorRightButton ($tourOperatorRightButton$language null)
  1843. {
  1844.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("tourOperatorRightButton");
  1845.     $inheritValues self::getGetInheritedValues();
  1846.     self::setGetInheritedValues(false);
  1847.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1848.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1849.     $currentData $this->getTourOperatorRightButton($language);
  1850.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1851.     self::setGetInheritedValues($inheritValues);
  1852.     $isEqual $fd->isEqual($currentData$tourOperatorRightButton);
  1853.     if (!$isEqual) {
  1854.         $this->markFieldDirty("tourOperatorRightButton"true);
  1855.     }
  1856.     $this->getLocalizedfields()->setLocalizedValue("tourOperatorRightButton"$tourOperatorRightButton$language, !$isEqual);
  1857.     return $this;
  1858. }
  1859. /**
  1860. * Set printAtHomePdf - Print @ Home PDF
  1861. * @param \Pimcore\Model\Document\Page|null $printAtHomePdf
  1862. * @return \Pimcore\Model\DataObject\SiteConfig
  1863. */
  1864. public function setPrintAtHomePdf ($printAtHomePdf$language null)
  1865. {
  1866.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("printAtHomePdf");
  1867.     $inheritValues self::getGetInheritedValues();
  1868.     self::setGetInheritedValues(false);
  1869.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1870.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1871.     $currentData $this->getPrintAtHomePdf($language);
  1872.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1873.     self::setGetInheritedValues($inheritValues);
  1874.     $isEqual $fd->isEqual($currentData$printAtHomePdf);
  1875.     if (!$isEqual) {
  1876.         $this->markFieldDirty("printAtHomePdf"true);
  1877.     }
  1878.     $this->getLocalizedfields()->setLocalizedValue("printAtHomePdf"$printAtHomePdf$language, !$isEqual);
  1879.     return $this;
  1880. }
  1881. /**
  1882. * Set pickupPdf - Pickup PDF
  1883. * @param \Pimcore\Model\Document\Page|null $pickupPdf
  1884. * @return \Pimcore\Model\DataObject\SiteConfig
  1885. */
  1886. public function setPickupPdf ($pickupPdf$language null)
  1887. {
  1888.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("pickupPdf");
  1889.     $inheritValues self::getGetInheritedValues();
  1890.     self::setGetInheritedValues(false);
  1891.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1892.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1893.     $currentData $this->getPickupPdf($language);
  1894.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1895.     self::setGetInheritedValues($inheritValues);
  1896.     $isEqual $fd->isEqual($currentData$pickupPdf);
  1897.     if (!$isEqual) {
  1898.         $this->markFieldDirty("pickupPdf"true);
  1899.     }
  1900.     $this->getLocalizedfields()->setLocalizedValue("pickupPdf"$pickupPdf$language, !$isEqual);
  1901.     return $this;
  1902. }
  1903. /**
  1904. * Set invoicePdf - Invoice PDF
  1905. * @param \Pimcore\Model\Document\Page|null $invoicePdf
  1906. * @return \Pimcore\Model\DataObject\SiteConfig
  1907. */
  1908. public function setInvoicePdf ($invoicePdf$language null)
  1909. {
  1910.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("invoicePdf");
  1911.     $inheritValues self::getGetInheritedValues();
  1912.     self::setGetInheritedValues(false);
  1913.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1914.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1915.     $currentData $this->getInvoicePdf($language);
  1916.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1917.     self::setGetInheritedValues($inheritValues);
  1918.     $isEqual $fd->isEqual($currentData$invoicePdf);
  1919.     if (!$isEqual) {
  1920.         $this->markFieldDirty("invoicePdf"true);
  1921.     }
  1922.     $this->getLocalizedfields()->setLocalizedValue("invoicePdf"$invoicePdf$language, !$isEqual);
  1923.     return $this;
  1924. }
  1925. /**
  1926. * Set QRCodePdf - QR Code Pdf
  1927. * @param \Pimcore\Model\Document\Page|null $QRCodePdf
  1928. * @return \Pimcore\Model\DataObject\SiteConfig
  1929. */
  1930. public function setQRCodePdf ($QRCodePdf$language null)
  1931. {
  1932.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("QRCodePdf");
  1933.     $inheritValues self::getGetInheritedValues();
  1934.     self::setGetInheritedValues(false);
  1935.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1936.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1937.     $currentData $this->getQRCodePdf($language);
  1938.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1939.     self::setGetInheritedValues($inheritValues);
  1940.     $isEqual $fd->isEqual($currentData$QRCodePdf);
  1941.     if (!$isEqual) {
  1942.         $this->markFieldDirty("QRCodePdf"true);
  1943.     }
  1944.     $this->getLocalizedfields()->setLocalizedValue("QRCodePdf"$QRCodePdf$language, !$isEqual);
  1945.     return $this;
  1946. }
  1947. /**
  1948. * Set tourOperatorInvoicePdf - Invoice PDF
  1949. * @param \Pimcore\Model\Document\Page|null $tourOperatorInvoicePdf
  1950. * @return \Pimcore\Model\DataObject\SiteConfig
  1951. */
  1952. public function setTourOperatorInvoicePdf ($tourOperatorInvoicePdf$language null)
  1953. {
  1954.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("tourOperatorInvoicePdf");
  1955.     $inheritValues self::getGetInheritedValues();
  1956.     self::setGetInheritedValues(false);
  1957.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1958.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1959.     $currentData $this->getTourOperatorInvoicePdf($language);
  1960.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1961.     self::setGetInheritedValues($inheritValues);
  1962.     $isEqual $fd->isEqual($currentData$tourOperatorInvoicePdf);
  1963.     if (!$isEqual) {
  1964.         $this->markFieldDirty("tourOperatorInvoicePdf"true);
  1965.     }
  1966.     $this->getLocalizedfields()->setLocalizedValue("tourOperatorInvoicePdf"$tourOperatorInvoicePdf$language, !$isEqual);
  1967.     return $this;
  1968. }
  1969. /**
  1970. * Set tradeHome - Trade Home
  1971. * @param \Pimcore\Model\Document\Page|null $tradeHome
  1972. * @return \Pimcore\Model\DataObject\SiteConfig
  1973. */
  1974. public function setTradeHome ($tradeHome$language null)
  1975. {
  1976.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("tradeHome");
  1977.     $inheritValues self::getGetInheritedValues();
  1978.     self::setGetInheritedValues(false);
  1979.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1980.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1981.     $currentData $this->getTradeHome($language);
  1982.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1983.     self::setGetInheritedValues($inheritValues);
  1984.     $isEqual $fd->isEqual($currentData$tradeHome);
  1985.     if (!$isEqual) {
  1986.         $this->markFieldDirty("tradeHome"true);
  1987.     }
  1988.     $this->getLocalizedfields()->setLocalizedValue("tradeHome"$tradeHome$language, !$isEqual);
  1989.     return $this;
  1990. }
  1991. /**
  1992. * Set applicationAdminMailDocument - Application Admin Mail Document
  1993. * @param \Pimcore\Model\Document\Email|null $applicationAdminMailDocument
  1994. * @return \Pimcore\Model\DataObject\SiteConfig
  1995. */
  1996. public function setApplicationAdminMailDocument ($applicationAdminMailDocument$language null)
  1997. {
  1998.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("applicationAdminMailDocument");
  1999.     $inheritValues self::getGetInheritedValues();
  2000.     self::setGetInheritedValues(false);
  2001.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2002.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2003.     $currentData $this->getApplicationAdminMailDocument($language);
  2004.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2005.     self::setGetInheritedValues($inheritValues);
  2006.     $isEqual $fd->isEqual($currentData$applicationAdminMailDocument);
  2007.     if (!$isEqual) {
  2008.         $this->markFieldDirty("applicationAdminMailDocument"true);
  2009.     }
  2010.     $this->getLocalizedfields()->setLocalizedValue("applicationAdminMailDocument"$applicationAdminMailDocument$language, !$isEqual);
  2011.     return $this;
  2012. }
  2013. /**
  2014. * Set applicationUserMailDocument - Application User Mail Document
  2015. * @param \Pimcore\Model\Document\Email|null $applicationUserMailDocument
  2016. * @return \Pimcore\Model\DataObject\SiteConfig
  2017. */
  2018. public function setApplicationUserMailDocument ($applicationUserMailDocument$language null)
  2019. {
  2020.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("applicationUserMailDocument");
  2021.     $inheritValues self::getGetInheritedValues();
  2022.     self::setGetInheritedValues(false);
  2023.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2024.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2025.     $currentData $this->getApplicationUserMailDocument($language);
  2026.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2027.     self::setGetInheritedValues($inheritValues);
  2028.     $isEqual $fd->isEqual($currentData$applicationUserMailDocument);
  2029.     if (!$isEqual) {
  2030.         $this->markFieldDirty("applicationUserMailDocument"true);
  2031.     }
  2032.     $this->getLocalizedfields()->setLocalizedValue("applicationUserMailDocument"$applicationUserMailDocument$language, !$isEqual);
  2033.     return $this;
  2034. }
  2035. /**
  2036. * Set EmailOrderCompletion - Email Order Completion B2C
  2037. * @param \Pimcore\Model\Document\Email|null $EmailOrderCompletion
  2038. * @return \Pimcore\Model\DataObject\SiteConfig
  2039. */
  2040. public function setEmailOrderCompletion ($EmailOrderCompletion$language null)
  2041. {
  2042.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailOrderCompletion");
  2043.     $inheritValues self::getGetInheritedValues();
  2044.     self::setGetInheritedValues(false);
  2045.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2046.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2047.     $currentData $this->getEmailOrderCompletion($language);
  2048.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2049.     self::setGetInheritedValues($inheritValues);
  2050.     $isEqual $fd->isEqual($currentData$EmailOrderCompletion);
  2051.     if (!$isEqual) {
  2052.         $this->markFieldDirty("EmailOrderCompletion"true);
  2053.     }
  2054.     $this->getLocalizedfields()->setLocalizedValue("EmailOrderCompletion"$EmailOrderCompletion$language, !$isEqual);
  2055.     return $this;
  2056. }
  2057. /**
  2058. * Set EmailOrderConfirmation - Email Order Confirmation B2C
  2059. * @param \Pimcore\Model\Document\Email|null $EmailOrderConfirmation
  2060. * @return \Pimcore\Model\DataObject\SiteConfig
  2061. */
  2062. public function setEmailOrderConfirmation ($EmailOrderConfirmation$language null)
  2063. {
  2064.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailOrderConfirmation");
  2065.     $inheritValues self::getGetInheritedValues();
  2066.     self::setGetInheritedValues(false);
  2067.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2068.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2069.     $currentData $this->getEmailOrderConfirmation($language);
  2070.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2071.     self::setGetInheritedValues($inheritValues);
  2072.     $isEqual $fd->isEqual($currentData$EmailOrderConfirmation);
  2073.     if (!$isEqual) {
  2074.         $this->markFieldDirty("EmailOrderConfirmation"true);
  2075.     }
  2076.     $this->getLocalizedfields()->setLocalizedValue("EmailOrderConfirmation"$EmailOrderConfirmation$language, !$isEqual);
  2077.     return $this;
  2078. }
  2079. /**
  2080. * Set EmailOrderCancel - Email Order Cancel
  2081. * @param \Pimcore\Model\Document\Email|null $EmailOrderCancel
  2082. * @return \Pimcore\Model\DataObject\SiteConfig
  2083. */
  2084. public function setEmailOrderCancel ($EmailOrderCancel$language null)
  2085. {
  2086.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailOrderCancel");
  2087.     $inheritValues self::getGetInheritedValues();
  2088.     self::setGetInheritedValues(false);
  2089.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2090.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2091.     $currentData $this->getEmailOrderCancel($language);
  2092.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2093.     self::setGetInheritedValues($inheritValues);
  2094.     $isEqual $fd->isEqual($currentData$EmailOrderCancel);
  2095.     if (!$isEqual) {
  2096.         $this->markFieldDirty("EmailOrderCancel"true);
  2097.     }
  2098.     $this->getLocalizedfields()->setLocalizedValue("EmailOrderCancel"$EmailOrderCancel$language, !$isEqual);
  2099.     return $this;
  2100. }
  2101. /**
  2102. * Set emailOrderCompletionB2B - Email Order Completion B2B
  2103. * @param \Pimcore\Model\Document\Email|null $emailOrderCompletionB2B
  2104. * @return \Pimcore\Model\DataObject\SiteConfig
  2105. */
  2106. public function setEmailOrderCompletionB2B ($emailOrderCompletionB2B$language null)
  2107. {
  2108.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderCompletionB2B");
  2109.     $inheritValues self::getGetInheritedValues();
  2110.     self::setGetInheritedValues(false);
  2111.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2112.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2113.     $currentData $this->getEmailOrderCompletionB2B($language);
  2114.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2115.     self::setGetInheritedValues($inheritValues);
  2116.     $isEqual $fd->isEqual($currentData$emailOrderCompletionB2B);
  2117.     if (!$isEqual) {
  2118.         $this->markFieldDirty("emailOrderCompletionB2B"true);
  2119.     }
  2120.     $this->getLocalizedfields()->setLocalizedValue("emailOrderCompletionB2B"$emailOrderCompletionB2B$language, !$isEqual);
  2121.     return $this;
  2122. }
  2123. /**
  2124. * Set emailOrderConfirmationB2B - Email Order Confirmation B2B
  2125. * @param \Pimcore\Model\Document\Email|null $emailOrderConfirmationB2B
  2126. * @return \Pimcore\Model\DataObject\SiteConfig
  2127. */
  2128. public function setEmailOrderConfirmationB2B ($emailOrderConfirmationB2B$language null)
  2129. {
  2130.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderConfirmationB2B");
  2131.     $inheritValues self::getGetInheritedValues();
  2132.     self::setGetInheritedValues(false);
  2133.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2134.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2135.     $currentData $this->getEmailOrderConfirmationB2B($language);
  2136.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2137.     self::setGetInheritedValues($inheritValues);
  2138.     $isEqual $fd->isEqual($currentData$emailOrderConfirmationB2B);
  2139.     if (!$isEqual) {
  2140.         $this->markFieldDirty("emailOrderConfirmationB2B"true);
  2141.     }
  2142.     $this->getLocalizedfields()->setLocalizedValue("emailOrderConfirmationB2B"$emailOrderConfirmationB2B$language, !$isEqual);
  2143.     return $this;
  2144. }
  2145. /**
  2146. * Set emailOrderCancelB2B - Email Order Cancel B2B
  2147. * @param \Pimcore\Model\Document\Email|null $emailOrderCancelB2B
  2148. * @return \Pimcore\Model\DataObject\SiteConfig
  2149. */
  2150. public function setEmailOrderCancelB2B ($emailOrderCancelB2B$language null)
  2151. {
  2152.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderCancelB2B");
  2153.     $inheritValues self::getGetInheritedValues();
  2154.     self::setGetInheritedValues(false);
  2155.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2156.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2157.     $currentData $this->getEmailOrderCancelB2B($language);
  2158.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2159.     self::setGetInheritedValues($inheritValues);
  2160.     $isEqual $fd->isEqual($currentData$emailOrderCancelB2B);
  2161.     if (!$isEqual) {
  2162.         $this->markFieldDirty("emailOrderCancelB2B"true);
  2163.     }
  2164.     $this->getLocalizedfields()->setLocalizedValue("emailOrderCancelB2B"$emailOrderCancelB2B$language, !$isEqual);
  2165.     return $this;
  2166. }
  2167. /**
  2168. * Set emailOrderCompletionTo - Email Order Completion Tour-Operator
  2169. * @param \Pimcore\Model\Document\Email|null $emailOrderCompletionTo
  2170. * @return \Pimcore\Model\DataObject\SiteConfig
  2171. */
  2172. public function setEmailOrderCompletionTo ($emailOrderCompletionTo$language null)
  2173. {
  2174.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderCompletionTo");
  2175.     $inheritValues self::getGetInheritedValues();
  2176.     self::setGetInheritedValues(false);
  2177.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2178.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2179.     $currentData $this->getEmailOrderCompletionTo($language);
  2180.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2181.     self::setGetInheritedValues($inheritValues);
  2182.     $isEqual $fd->isEqual($currentData$emailOrderCompletionTo);
  2183.     if (!$isEqual) {
  2184.         $this->markFieldDirty("emailOrderCompletionTo"true);
  2185.     }
  2186.     $this->getLocalizedfields()->setLocalizedValue("emailOrderCompletionTo"$emailOrderCompletionTo$language, !$isEqual);
  2187.     return $this;
  2188. }
  2189. /**
  2190. * Set emailOrderConfirmationTo - Email Order Confirmation Tour-Operator
  2191. * @param \Pimcore\Model\Document\Email|null $emailOrderConfirmationTo
  2192. * @return \Pimcore\Model\DataObject\SiteConfig
  2193. */
  2194. public function setEmailOrderConfirmationTo ($emailOrderConfirmationTo$language null)
  2195. {
  2196.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderConfirmationTo");
  2197.     $inheritValues self::getGetInheritedValues();
  2198.     self::setGetInheritedValues(false);
  2199.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2200.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2201.     $currentData $this->getEmailOrderConfirmationTo($language);
  2202.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2203.     self::setGetInheritedValues($inheritValues);
  2204.     $isEqual $fd->isEqual($currentData$emailOrderConfirmationTo);
  2205.     if (!$isEqual) {
  2206.         $this->markFieldDirty("emailOrderConfirmationTo"true);
  2207.     }
  2208.     $this->getLocalizedfields()->setLocalizedValue("emailOrderConfirmationTo"$emailOrderConfirmationTo$language, !$isEqual);
  2209.     return $this;
  2210. }
  2211. /**
  2212. * Set emailOrderCancelTo - Email Order Cancel Tour-Operator
  2213. * @param \Pimcore\Model\Document\Email|null $emailOrderCancelTo
  2214. * @return \Pimcore\Model\DataObject\SiteConfig
  2215. */
  2216. public function setEmailOrderCancelTo ($emailOrderCancelTo$language null)
  2217. {
  2218.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailOrderCancelTo");
  2219.     $inheritValues self::getGetInheritedValues();
  2220.     self::setGetInheritedValues(false);
  2221.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2222.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2223.     $currentData $this->getEmailOrderCancelTo($language);
  2224.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2225.     self::setGetInheritedValues($inheritValues);
  2226.     $isEqual $fd->isEqual($currentData$emailOrderCancelTo);
  2227.     if (!$isEqual) {
  2228.         $this->markFieldDirty("emailOrderCancelTo"true);
  2229.     }
  2230.     $this->getLocalizedfields()->setLocalizedValue("emailOrderCancelTo"$emailOrderCancelTo$language, !$isEqual);
  2231.     return $this;
  2232. }
  2233. /**
  2234. * Set emailEventCancel - Email Event Cancel
  2235. * @param \Pimcore\Model\Document\Email|null $emailEventCancel
  2236. * @return \Pimcore\Model\DataObject\SiteConfig
  2237. */
  2238. public function setEmailEventCancel ($emailEventCancel$language null)
  2239. {
  2240.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("emailEventCancel");
  2241.     $inheritValues self::getGetInheritedValues();
  2242.     self::setGetInheritedValues(false);
  2243.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2244.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2245.     $currentData $this->getEmailEventCancel($language);
  2246.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2247.     self::setGetInheritedValues($inheritValues);
  2248.     $isEqual $fd->isEqual($currentData$emailEventCancel);
  2249.     if (!$isEqual) {
  2250.         $this->markFieldDirty("emailEventCancel"true);
  2251.     }
  2252.     $this->getLocalizedfields()->setLocalizedValue("emailEventCancel"$emailEventCancel$language, !$isEqual);
  2253.     return $this;
  2254. }
  2255. /**
  2256. * Set EmailOrderError - Email Order Error
  2257. * @param \Pimcore\Model\Document\Email|null $EmailOrderError
  2258. * @return \Pimcore\Model\DataObject\SiteConfig
  2259. */
  2260. public function setEmailOrderError ($EmailOrderError$language null)
  2261. {
  2262.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailOrderError");
  2263.     $inheritValues self::getGetInheritedValues();
  2264.     self::setGetInheritedValues(false);
  2265.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2266.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2267.     $currentData $this->getEmailOrderError($language);
  2268.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2269.     self::setGetInheritedValues($inheritValues);
  2270.     $isEqual $fd->isEqual($currentData$EmailOrderError);
  2271.     if (!$isEqual) {
  2272.         $this->markFieldDirty("EmailOrderError"true);
  2273.     }
  2274.     $this->getLocalizedfields()->setLocalizedValue("EmailOrderError"$EmailOrderError$language, !$isEqual);
  2275.     return $this;
  2276. }
  2277. /**
  2278. * Set EmailOrderErrorAdmin - Email Order Error Admin
  2279. * @param \Pimcore\Model\Document\Email|null $EmailOrderErrorAdmin
  2280. * @return \Pimcore\Model\DataObject\SiteConfig
  2281. */
  2282. public function setEmailOrderErrorAdmin ($EmailOrderErrorAdmin$language null)
  2283. {
  2284.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailOrderErrorAdmin");
  2285.     $inheritValues self::getGetInheritedValues();
  2286.     self::setGetInheritedValues(false);
  2287.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2288.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2289.     $currentData $this->getEmailOrderErrorAdmin($language);
  2290.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2291.     self::setGetInheritedValues($inheritValues);
  2292.     $isEqual $fd->isEqual($currentData$EmailOrderErrorAdmin);
  2293.     if (!$isEqual) {
  2294.         $this->markFieldDirty("EmailOrderErrorAdmin"true);
  2295.     }
  2296.     $this->getLocalizedfields()->setLocalizedValue("EmailOrderErrorAdmin"$EmailOrderErrorAdmin$language, !$isEqual);
  2297.     return $this;
  2298. }
  2299. /**
  2300. * Set EmailPaymentErrorAdmin - Email Payment Error Admin
  2301. * @param \Pimcore\Model\Document\Email|null $EmailPaymentErrorAdmin
  2302. * @return \Pimcore\Model\DataObject\SiteConfig
  2303. */
  2304. public function setEmailPaymentErrorAdmin ($EmailPaymentErrorAdmin$language null)
  2305. {
  2306.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailPaymentErrorAdmin");
  2307.     $inheritValues self::getGetInheritedValues();
  2308.     self::setGetInheritedValues(false);
  2309.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2310.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2311.     $currentData $this->getEmailPaymentErrorAdmin($language);
  2312.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2313.     self::setGetInheritedValues($inheritValues);
  2314.     $isEqual $fd->isEqual($currentData$EmailPaymentErrorAdmin);
  2315.     if (!$isEqual) {
  2316.         $this->markFieldDirty("EmailPaymentErrorAdmin"true);
  2317.     }
  2318.     $this->getLocalizedfields()->setLocalizedValue("EmailPaymentErrorAdmin"$EmailPaymentErrorAdmin$language, !$isEqual);
  2319.     return $this;
  2320. }
  2321. /**
  2322. * Set EmailNotification - Email Notification
  2323. * @param \Pimcore\Model\Document\Email|null $EmailNotification
  2324. * @return \Pimcore\Model\DataObject\SiteConfig
  2325. */
  2326. public function setEmailNotification ($EmailNotification$language null)
  2327. {
  2328.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("EmailNotification");
  2329.     $inheritValues self::getGetInheritedValues();
  2330.     self::setGetInheritedValues(false);
  2331.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2332.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2333.     $currentData $this->getEmailNotification($language);
  2334.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2335.     self::setGetInheritedValues($inheritValues);
  2336.     $isEqual $fd->isEqual($currentData$EmailNotification);
  2337.     if (!$isEqual) {
  2338.         $this->markFieldDirty("EmailNotification"true);
  2339.     }
  2340.     $this->getLocalizedfields()->setLocalizedValue("EmailNotification"$EmailNotification$language, !$isEqual);
  2341.     return $this;
  2342. }
  2343. /**
  2344. * Set merchandiseOnlyMail - Merchandise Only Mail
  2345. * @param \Pimcore\Model\Document\Email|null $merchandiseOnlyMail
  2346. * @return \Pimcore\Model\DataObject\SiteConfig
  2347. */
  2348. public function setMerchandiseOnlyMail ($merchandiseOnlyMail$language null)
  2349. {
  2350.     $fd $this->getClass()->getFieldDefinition("localizedfields")->getFieldDefinition("merchandiseOnlyMail");
  2351.     $inheritValues self::getGetInheritedValues();
  2352.     self::setGetInheritedValues(false);
  2353.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2354.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2355.     $currentData $this->getMerchandiseOnlyMail($language);
  2356.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2357.     self::setGetInheritedValues($inheritValues);
  2358.     $isEqual $fd->isEqual($currentData$merchandiseOnlyMail);
  2359.     if (!$isEqual) {
  2360.         $this->markFieldDirty("merchandiseOnlyMail"true);
  2361.     }
  2362.     $this->getLocalizedfields()->setLocalizedValue("merchandiseOnlyMail"$merchandiseOnlyMail$language, !$isEqual);
  2363.     return $this;
  2364. }
  2365. /**
  2366. * Set b2bTicketWarning - Ticket-Warning
  2367. * @param string|null $b2bTicketWarning
  2368. * @return \Pimcore\Model\DataObject\SiteConfig
  2369. */
  2370. public function setB2bTicketWarning ($b2bTicketWarning$language null)
  2371. {
  2372.     $isEqual false;
  2373.     $this->getLocalizedfields()->setLocalizedValue("b2bTicketWarning"$b2bTicketWarning$language, !$isEqual);
  2374.     return $this;
  2375. }
  2376. /**
  2377. * Set b2bEventWarning - Event-Warning
  2378. * @param string|null $b2bEventWarning
  2379. * @return \Pimcore\Model\DataObject\SiteConfig
  2380. */
  2381. public function setB2bEventWarning ($b2bEventWarning$language null)
  2382. {
  2383.     $isEqual false;
  2384.     $this->getLocalizedfields()->setLocalizedValue("b2bEventWarning"$b2bEventWarning$language, !$isEqual);
  2385.     return $this;
  2386. }
  2387. /**
  2388. * Set agbText - Conditions Text (AGB)
  2389. * @param string|null $agbText
  2390. * @return \Pimcore\Model\DataObject\SiteConfig
  2391. */
  2392. public function setAgbText ($agbText$language null)
  2393. {
  2394.     $isEqual false;
  2395.     $this->getLocalizedfields()->setLocalizedValue("agbText"$agbText$language, !$isEqual);
  2396.     return $this;
  2397. }
  2398. /**
  2399. * Set countryOrder - Country Order
  2400. * @param \Pimcore\Model\DataObject\Data\BlockElement[][] $countryOrder
  2401. * @return \Pimcore\Model\DataObject\SiteConfig
  2402. */
  2403. public function setCountryOrder ($countryOrder$language null)
  2404. {
  2405.     $isEqual false;
  2406.     $this->getLocalizedfields()->setLocalizedValue("countryOrder"$countryOrder$language, !$isEqual);
  2407.     return $this;
  2408. }
  2409. /**
  2410. * Set mainNavbarlink - Main Navbarlink
  2411. * @param \Pimcore\Model\DataObject\Data\Link|null $mainNavbarlink
  2412. * @return \Pimcore\Model\DataObject\SiteConfig
  2413. */
  2414. public function setMainNavbarlink ($mainNavbarlink$language null)
  2415. {
  2416.     $isEqual false;
  2417.     $this->getLocalizedfields()->setLocalizedValue("mainNavbarlink"$mainNavbarlink$language, !$isEqual);
  2418.     return $this;
  2419. }
  2420. /**
  2421. * Set mainNavbarlinkShop - Main Navbarlink
  2422. * @param \Pimcore\Model\DataObject\Data\Link|null $mainNavbarlinkShop
  2423. * @return \Pimcore\Model\DataObject\SiteConfig
  2424. */
  2425. public function setMainNavbarlinkShop ($mainNavbarlinkShop$language null)
  2426. {
  2427.     $isEqual false;
  2428.     $this->getLocalizedfields()->setLocalizedValue("mainNavbarlinkShop"$mainNavbarlinkShop$language, !$isEqual);
  2429.     return $this;
  2430. }
  2431. /**
  2432. * Set darkpageIconWarning - Icon Warning
  2433. * @param string|null $darkpageIconWarning
  2434. * @return \Pimcore\Model\DataObject\SiteConfig
  2435. */
  2436. public function setDarkpageIconWarning ($darkpageIconWarning$language null)
  2437. {
  2438.     $isEqual false;
  2439.     $this->getLocalizedfields()->setLocalizedValue("darkpageIconWarning"$darkpageIconWarning$language, !$isEqual);
  2440.     return $this;
  2441. }
  2442. /**
  2443. * Set darkpageTitle - Title
  2444. * @param string|null $darkpageTitle
  2445. * @return \Pimcore\Model\DataObject\SiteConfig
  2446. */
  2447. public function setDarkpageTitle ($darkpageTitle$language null)
  2448. {
  2449.     $isEqual false;
  2450.     $this->getLocalizedfields()->setLocalizedValue("darkpageTitle"$darkpageTitle$language, !$isEqual);
  2451.     return $this;
  2452. }
  2453. /**
  2454. * Set darkpageContent - Content
  2455. * @param string|null $darkpageContent
  2456. * @return \Pimcore\Model\DataObject\SiteConfig
  2457. */
  2458. public function setDarkpageContent ($darkpageContent$language null)
  2459. {
  2460.     $isEqual false;
  2461.     $this->getLocalizedfields()->setLocalizedValue("darkpageContent"$darkpageContent$language, !$isEqual);
  2462.     return $this;
  2463. }
  2464. /**
  2465. * Set darkpageLink - Link
  2466. * @param \Pimcore\Model\DataObject\Data\Link|null $darkpageLink
  2467. * @return \Pimcore\Model\DataObject\SiteConfig
  2468. */
  2469. public function setDarkpageLink ($darkpageLink$language null)
  2470. {
  2471.     $isEqual false;
  2472.     $this->getLocalizedfields()->setLocalizedValue("darkpageLink"$darkpageLink$language, !$isEqual);
  2473.     return $this;
  2474. }
  2475. /**
  2476. * Get EmailQuota - Email Quota
  2477. * @return \Pimcore\Model\Document\Email|null
  2478. */
  2479. public function getEmailQuota()
  2480. {
  2481.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2482.         $preValue $this->preGetValue("EmailQuota");
  2483.         if ($preValue !== null) {
  2484.             return $preValue;
  2485.         }
  2486.     }
  2487.     $data $this->getClass()->getFieldDefinition("EmailQuota")->preGetData($this);
  2488.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("EmailQuota")->isEmpty($data)) {
  2489.         try {
  2490.             return $this->getValueFromParent("EmailQuota");
  2491.         } catch (InheritanceParentNotFoundException $e) {
  2492.             // no data from parent available, continue ...
  2493.         }
  2494.     }
  2495.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2496.         return $data->getPlain();
  2497.     }
  2498.     return $data;
  2499. }
  2500. /**
  2501. * Set EmailQuota - Email Quota
  2502. * @param \Pimcore\Model\Document\Email|null $EmailQuota
  2503. * @return \Pimcore\Model\DataObject\SiteConfig
  2504. */
  2505. public function setEmailQuota($EmailQuota)
  2506. {
  2507.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2508.     $fd $this->getClass()->getFieldDefinition("EmailQuota");
  2509.     $inheritValues self::getGetInheritedValues();
  2510.     self::setGetInheritedValues(false);
  2511.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2512.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2513.     $currentData $this->getEmailQuota();
  2514.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2515.     self::setGetInheritedValues($inheritValues);
  2516.     $isEqual $fd->isEqual($currentData$EmailQuota);
  2517.     if (!$isEqual) {
  2518.         $this->markFieldDirty("EmailQuota"true);
  2519.     }
  2520.     $this->EmailQuota $fd->preSetData($this$EmailQuota);
  2521.     return $this;
  2522. }
  2523. /**
  2524. * Get merchandiseAdminMail - Merchandise Admin Mail
  2525. * @return \Pimcore\Model\Document\Email|null
  2526. */
  2527. public function getMerchandiseAdminMail()
  2528. {
  2529.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2530.         $preValue $this->preGetValue("merchandiseAdminMail");
  2531.         if ($preValue !== null) {
  2532.             return $preValue;
  2533.         }
  2534.     }
  2535.     $data $this->getClass()->getFieldDefinition("merchandiseAdminMail")->preGetData($this);
  2536.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseAdminMail")->isEmpty($data)) {
  2537.         try {
  2538.             return $this->getValueFromParent("merchandiseAdminMail");
  2539.         } catch (InheritanceParentNotFoundException $e) {
  2540.             // no data from parent available, continue ...
  2541.         }
  2542.     }
  2543.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2544.         return $data->getPlain();
  2545.     }
  2546.     return $data;
  2547. }
  2548. /**
  2549. * Set merchandiseAdminMail - Merchandise Admin Mail
  2550. * @param \Pimcore\Model\Document\Email|null $merchandiseAdminMail
  2551. * @return \Pimcore\Model\DataObject\SiteConfig
  2552. */
  2553. public function setMerchandiseAdminMail($merchandiseAdminMail)
  2554. {
  2555.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2556.     $fd $this->getClass()->getFieldDefinition("merchandiseAdminMail");
  2557.     $inheritValues self::getGetInheritedValues();
  2558.     self::setGetInheritedValues(false);
  2559.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2560.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2561.     $currentData $this->getMerchandiseAdminMail();
  2562.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2563.     self::setGetInheritedValues($inheritValues);
  2564.     $isEqual $fd->isEqual($currentData$merchandiseAdminMail);
  2565.     if (!$isEqual) {
  2566.         $this->markFieldDirty("merchandiseAdminMail"true);
  2567.     }
  2568.     $this->merchandiseAdminMail $fd->preSetData($this$merchandiseAdminMail);
  2569.     return $this;
  2570. }
  2571. /**
  2572. * Get eventParticipantMail - Event Participant Mail
  2573. * @return \Pimcore\Model\Document\Email|null
  2574. */
  2575. public function getEventParticipantMail()
  2576. {
  2577.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2578.         $preValue $this->preGetValue("eventParticipantMail");
  2579.         if ($preValue !== null) {
  2580.             return $preValue;
  2581.         }
  2582.     }
  2583.     $data $this->getClass()->getFieldDefinition("eventParticipantMail")->preGetData($this);
  2584.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("eventParticipantMail")->isEmpty($data)) {
  2585.         try {
  2586.             return $this->getValueFromParent("eventParticipantMail");
  2587.         } catch (InheritanceParentNotFoundException $e) {
  2588.             // no data from parent available, continue ...
  2589.         }
  2590.     }
  2591.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2592.         return $data->getPlain();
  2593.     }
  2594.     return $data;
  2595. }
  2596. /**
  2597. * Set eventParticipantMail - Event Participant Mail
  2598. * @param \Pimcore\Model\Document\Email|null $eventParticipantMail
  2599. * @return \Pimcore\Model\DataObject\SiteConfig
  2600. */
  2601. public function setEventParticipantMail($eventParticipantMail)
  2602. {
  2603.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2604.     $fd $this->getClass()->getFieldDefinition("eventParticipantMail");
  2605.     $inheritValues self::getGetInheritedValues();
  2606.     self::setGetInheritedValues(false);
  2607.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2608.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2609.     $currentData $this->getEventParticipantMail();
  2610.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2611.     self::setGetInheritedValues($inheritValues);
  2612.     $isEqual $fd->isEqual($currentData$eventParticipantMail);
  2613.     if (!$isEqual) {
  2614.         $this->markFieldDirty("eventParticipantMail"true);
  2615.     }
  2616.     $this->eventParticipantMail $fd->preSetData($this$eventParticipantMail);
  2617.     return $this;
  2618. }
  2619. /**
  2620. * Get webcamImageFolder - Webcam Preview Images
  2621. * @return \Pimcore\Model\Asset\Folder|null
  2622. */
  2623. public function getWebcamImageFolder()
  2624. {
  2625.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2626.         $preValue $this->preGetValue("webcamImageFolder");
  2627.         if ($preValue !== null) {
  2628.             return $preValue;
  2629.         }
  2630.     }
  2631.     $data $this->getClass()->getFieldDefinition("webcamImageFolder")->preGetData($this);
  2632.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("webcamImageFolder")->isEmpty($data)) {
  2633.         try {
  2634.             return $this->getValueFromParent("webcamImageFolder");
  2635.         } catch (InheritanceParentNotFoundException $e) {
  2636.             // no data from parent available, continue ...
  2637.         }
  2638.     }
  2639.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2640.         return $data->getPlain();
  2641.     }
  2642.     return $data;
  2643. }
  2644. /**
  2645. * Set webcamImageFolder - Webcam Preview Images
  2646. * @param \Pimcore\Model\Asset\Folder|null $webcamImageFolder
  2647. * @return \Pimcore\Model\DataObject\SiteConfig
  2648. */
  2649. public function setWebcamImageFolder($webcamImageFolder)
  2650. {
  2651.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2652.     $fd $this->getClass()->getFieldDefinition("webcamImageFolder");
  2653.     $inheritValues self::getGetInheritedValues();
  2654.     self::setGetInheritedValues(false);
  2655.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2656.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2657.     $currentData $this->getWebcamImageFolder();
  2658.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2659.     self::setGetInheritedValues($inheritValues);
  2660.     $isEqual $fd->isEqual($currentData$webcamImageFolder);
  2661.     if (!$isEqual) {
  2662.         $this->markFieldDirty("webcamImageFolder"true);
  2663.     }
  2664.     $this->webcamImageFolder $fd->preSetData($this$webcamImageFolder);
  2665.     return $this;
  2666. }
  2667. /**
  2668. * Get resortFolder - Resorts
  2669. * @return \Pimcore\Model\DataObject\Folder|null
  2670. */
  2671. public function getResortFolder()
  2672. {
  2673.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2674.         $preValue $this->preGetValue("resortFolder");
  2675.         if ($preValue !== null) {
  2676.             return $preValue;
  2677.         }
  2678.     }
  2679.     $data $this->getClass()->getFieldDefinition("resortFolder")->preGetData($this);
  2680.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("resortFolder")->isEmpty($data)) {
  2681.         try {
  2682.             return $this->getValueFromParent("resortFolder");
  2683.         } catch (InheritanceParentNotFoundException $e) {
  2684.             // no data from parent available, continue ...
  2685.         }
  2686.     }
  2687.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2688.         return $data->getPlain();
  2689.     }
  2690.     return $data;
  2691. }
  2692. /**
  2693. * Set resortFolder - Resorts
  2694. * @param \Pimcore\Model\DataObject\Folder|null $resortFolder
  2695. * @return \Pimcore\Model\DataObject\SiteConfig
  2696. */
  2697. public function setResortFolder($resortFolder)
  2698. {
  2699.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2700.     $fd $this->getClass()->getFieldDefinition("resortFolder");
  2701.     $inheritValues self::getGetInheritedValues();
  2702.     self::setGetInheritedValues(false);
  2703.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2704.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2705.     $currentData $this->getResortFolder();
  2706.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2707.     self::setGetInheritedValues($inheritValues);
  2708.     $isEqual $fd->isEqual($currentData$resortFolder);
  2709.     if (!$isEqual) {
  2710.         $this->markFieldDirty("resortFolder"true);
  2711.     }
  2712.     $this->resortFolder $fd->preSetData($this$resortFolder);
  2713.     return $this;
  2714. }
  2715. /**
  2716. * Get liftFolder - Lifts
  2717. * @return \Pimcore\Model\DataObject\Folder|null
  2718. */
  2719. public function getLiftFolder()
  2720. {
  2721.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2722.         $preValue $this->preGetValue("liftFolder");
  2723.         if ($preValue !== null) {
  2724.             return $preValue;
  2725.         }
  2726.     }
  2727.     $data $this->getClass()->getFieldDefinition("liftFolder")->preGetData($this);
  2728.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("liftFolder")->isEmpty($data)) {
  2729.         try {
  2730.             return $this->getValueFromParent("liftFolder");
  2731.         } catch (InheritanceParentNotFoundException $e) {
  2732.             // no data from parent available, continue ...
  2733.         }
  2734.     }
  2735.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2736.         return $data->getPlain();
  2737.     }
  2738.     return $data;
  2739. }
  2740. /**
  2741. * Set liftFolder - Lifts
  2742. * @param \Pimcore\Model\DataObject\Folder|null $liftFolder
  2743. * @return \Pimcore\Model\DataObject\SiteConfig
  2744. */
  2745. public function setLiftFolder($liftFolder)
  2746. {
  2747.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2748.     $fd $this->getClass()->getFieldDefinition("liftFolder");
  2749.     $inheritValues self::getGetInheritedValues();
  2750.     self::setGetInheritedValues(false);
  2751.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2752.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2753.     $currentData $this->getLiftFolder();
  2754.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2755.     self::setGetInheritedValues($inheritValues);
  2756.     $isEqual $fd->isEqual($currentData$liftFolder);
  2757.     if (!$isEqual) {
  2758.         $this->markFieldDirty("liftFolder"true);
  2759.     }
  2760.     $this->liftFolder $fd->preSetData($this$liftFolder);
  2761.     return $this;
  2762. }
  2763. /**
  2764. * Get slopeFolder - Slopes
  2765. * @return \Pimcore\Model\DataObject\Folder|null
  2766. */
  2767. public function getSlopeFolder()
  2768. {
  2769.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2770.         $preValue $this->preGetValue("slopeFolder");
  2771.         if ($preValue !== null) {
  2772.             return $preValue;
  2773.         }
  2774.     }
  2775.     $data $this->getClass()->getFieldDefinition("slopeFolder")->preGetData($this);
  2776.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("slopeFolder")->isEmpty($data)) {
  2777.         try {
  2778.             return $this->getValueFromParent("slopeFolder");
  2779.         } catch (InheritanceParentNotFoundException $e) {
  2780.             // no data from parent available, continue ...
  2781.         }
  2782.     }
  2783.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2784.         return $data->getPlain();
  2785.     }
  2786.     return $data;
  2787. }
  2788. /**
  2789. * Set slopeFolder - Slopes
  2790. * @param \Pimcore\Model\DataObject\Folder|null $slopeFolder
  2791. * @return \Pimcore\Model\DataObject\SiteConfig
  2792. */
  2793. public function setSlopeFolder($slopeFolder)
  2794. {
  2795.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2796.     $fd $this->getClass()->getFieldDefinition("slopeFolder");
  2797.     $inheritValues self::getGetInheritedValues();
  2798.     self::setGetInheritedValues(false);
  2799.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2800.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2801.     $currentData $this->getSlopeFolder();
  2802.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2803.     self::setGetInheritedValues($inheritValues);
  2804.     $isEqual $fd->isEqual($currentData$slopeFolder);
  2805.     if (!$isEqual) {
  2806.         $this->markFieldDirty("slopeFolder"true);
  2807.     }
  2808.     $this->slopeFolder $fd->preSetData($this$slopeFolder);
  2809.     return $this;
  2810. }
  2811. /**
  2812. * Get miscellaneousFolder - Miscellaneous
  2813. * @return \Pimcore\Model\DataObject\Folder|null
  2814. */
  2815. public function getMiscellaneousFolder()
  2816. {
  2817.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2818.         $preValue $this->preGetValue("miscellaneousFolder");
  2819.         if ($preValue !== null) {
  2820.             return $preValue;
  2821.         }
  2822.     }
  2823.     $data $this->getClass()->getFieldDefinition("miscellaneousFolder")->preGetData($this);
  2824.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("miscellaneousFolder")->isEmpty($data)) {
  2825.         try {
  2826.             return $this->getValueFromParent("miscellaneousFolder");
  2827.         } catch (InheritanceParentNotFoundException $e) {
  2828.             // no data from parent available, continue ...
  2829.         }
  2830.     }
  2831.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2832.         return $data->getPlain();
  2833.     }
  2834.     return $data;
  2835. }
  2836. /**
  2837. * Set miscellaneousFolder - Miscellaneous
  2838. * @param \Pimcore\Model\DataObject\Folder|null $miscellaneousFolder
  2839. * @return \Pimcore\Model\DataObject\SiteConfig
  2840. */
  2841. public function setMiscellaneousFolder($miscellaneousFolder)
  2842. {
  2843.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2844.     $fd $this->getClass()->getFieldDefinition("miscellaneousFolder");
  2845.     $inheritValues self::getGetInheritedValues();
  2846.     self::setGetInheritedValues(false);
  2847.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2848.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2849.     $currentData $this->getMiscellaneousFolder();
  2850.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2851.     self::setGetInheritedValues($inheritValues);
  2852.     $isEqual $fd->isEqual($currentData$miscellaneousFolder);
  2853.     if (!$isEqual) {
  2854.         $this->markFieldDirty("miscellaneousFolder"true);
  2855.     }
  2856.     $this->miscellaneousFolder $fd->preSetData($this$miscellaneousFolder);
  2857.     return $this;
  2858. }
  2859. /**
  2860. * Get connectionFolder - Connections
  2861. * @return \Pimcore\Model\DataObject\Folder|null
  2862. */
  2863. public function getConnectionFolder()
  2864. {
  2865.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2866.         $preValue $this->preGetValue("connectionFolder");
  2867.         if ($preValue !== null) {
  2868.             return $preValue;
  2869.         }
  2870.     }
  2871.     $data $this->getClass()->getFieldDefinition("connectionFolder")->preGetData($this);
  2872.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("connectionFolder")->isEmpty($data)) {
  2873.         try {
  2874.             return $this->getValueFromParent("connectionFolder");
  2875.         } catch (InheritanceParentNotFoundException $e) {
  2876.             // no data from parent available, continue ...
  2877.         }
  2878.     }
  2879.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2880.         return $data->getPlain();
  2881.     }
  2882.     return $data;
  2883. }
  2884. /**
  2885. * Set connectionFolder - Connections
  2886. * @param \Pimcore\Model\DataObject\Folder|null $connectionFolder
  2887. * @return \Pimcore\Model\DataObject\SiteConfig
  2888. */
  2889. public function setConnectionFolder($connectionFolder)
  2890. {
  2891.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2892.     $fd $this->getClass()->getFieldDefinition("connectionFolder");
  2893.     $inheritValues self::getGetInheritedValues();
  2894.     self::setGetInheritedValues(false);
  2895.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2896.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2897.     $currentData $this->getConnectionFolder();
  2898.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2899.     self::setGetInheritedValues($inheritValues);
  2900.     $isEqual $fd->isEqual($currentData$connectionFolder);
  2901.     if (!$isEqual) {
  2902.         $this->markFieldDirty("connectionFolder"true);
  2903.     }
  2904.     $this->connectionFolder $fd->preSetData($this$connectionFolder);
  2905.     return $this;
  2906. }
  2907. /**
  2908. * Get warningFolder - Warnings
  2909. * @return \Pimcore\Model\DataObject\Folder|null
  2910. */
  2911. public function getWarningFolder()
  2912. {
  2913.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2914.         $preValue $this->preGetValue("warningFolder");
  2915.         if ($preValue !== null) {
  2916.             return $preValue;
  2917.         }
  2918.     }
  2919.     $data $this->getClass()->getFieldDefinition("warningFolder")->preGetData($this);
  2920.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("warningFolder")->isEmpty($data)) {
  2921.         try {
  2922.             return $this->getValueFromParent("warningFolder");
  2923.         } catch (InheritanceParentNotFoundException $e) {
  2924.             // no data from parent available, continue ...
  2925.         }
  2926.     }
  2927.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2928.         return $data->getPlain();
  2929.     }
  2930.     return $data;
  2931. }
  2932. /**
  2933. * Set warningFolder - Warnings
  2934. * @param \Pimcore\Model\DataObject\Folder|null $warningFolder
  2935. * @return \Pimcore\Model\DataObject\SiteConfig
  2936. */
  2937. public function setWarningFolder($warningFolder)
  2938. {
  2939.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2940.     $fd $this->getClass()->getFieldDefinition("warningFolder");
  2941.     $inheritValues self::getGetInheritedValues();
  2942.     self::setGetInheritedValues(false);
  2943.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2944.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2945.     $currentData $this->getWarningFolder();
  2946.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2947.     self::setGetInheritedValues($inheritValues);
  2948.     $isEqual $fd->isEqual($currentData$warningFolder);
  2949.     if (!$isEqual) {
  2950.         $this->markFieldDirty("warningFolder"true);
  2951.     }
  2952.     $this->warningFolder $fd->preSetData($this$warningFolder);
  2953.     return $this;
  2954. }
  2955. /**
  2956. * Get windFolder - Wind
  2957. * @return \Pimcore\Model\DataObject\Folder|null
  2958. */
  2959. public function getWindFolder()
  2960. {
  2961.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  2962.         $preValue $this->preGetValue("windFolder");
  2963.         if ($preValue !== null) {
  2964.             return $preValue;
  2965.         }
  2966.     }
  2967.     $data $this->getClass()->getFieldDefinition("windFolder")->preGetData($this);
  2968.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("windFolder")->isEmpty($data)) {
  2969.         try {
  2970.             return $this->getValueFromParent("windFolder");
  2971.         } catch (InheritanceParentNotFoundException $e) {
  2972.             // no data from parent available, continue ...
  2973.         }
  2974.     }
  2975.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  2976.         return $data->getPlain();
  2977.     }
  2978.     return $data;
  2979. }
  2980. /**
  2981. * Set windFolder - Wind
  2982. * @param \Pimcore\Model\DataObject\Folder|null $windFolder
  2983. * @return \Pimcore\Model\DataObject\SiteConfig
  2984. */
  2985. public function setWindFolder($windFolder)
  2986. {
  2987.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  2988.     $fd $this->getClass()->getFieldDefinition("windFolder");
  2989.     $inheritValues self::getGetInheritedValues();
  2990.     self::setGetInheritedValues(false);
  2991.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  2992.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  2993.     $currentData $this->getWindFolder();
  2994.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  2995.     self::setGetInheritedValues($inheritValues);
  2996.     $isEqual $fd->isEqual($currentData$windFolder);
  2997.     if (!$isEqual) {
  2998.         $this->markFieldDirty("windFolder"true);
  2999.     }
  3000.     $this->windFolder $fd->preSetData($this$windFolder);
  3001.     return $this;
  3002. }
  3003. /**
  3004. * Get weatherFolder - Weather
  3005. * @return \Pimcore\Model\DataObject\Folder|null
  3006. */
  3007. public function getWeatherFolder()
  3008. {
  3009.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3010.         $preValue $this->preGetValue("weatherFolder");
  3011.         if ($preValue !== null) {
  3012.             return $preValue;
  3013.         }
  3014.     }
  3015.     $data $this->getClass()->getFieldDefinition("weatherFolder")->preGetData($this);
  3016.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("weatherFolder")->isEmpty($data)) {
  3017.         try {
  3018.             return $this->getValueFromParent("weatherFolder");
  3019.         } catch (InheritanceParentNotFoundException $e) {
  3020.             // no data from parent available, continue ...
  3021.         }
  3022.     }
  3023.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3024.         return $data->getPlain();
  3025.     }
  3026.     return $data;
  3027. }
  3028. /**
  3029. * Set weatherFolder - Weather
  3030. * @param \Pimcore\Model\DataObject\Folder|null $weatherFolder
  3031. * @return \Pimcore\Model\DataObject\SiteConfig
  3032. */
  3033. public function setWeatherFolder($weatherFolder)
  3034. {
  3035.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3036.     $fd $this->getClass()->getFieldDefinition("weatherFolder");
  3037.     $inheritValues self::getGetInheritedValues();
  3038.     self::setGetInheritedValues(false);
  3039.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3040.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3041.     $currentData $this->getWeatherFolder();
  3042.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3043.     self::setGetInheritedValues($inheritValues);
  3044.     $isEqual $fd->isEqual($currentData$weatherFolder);
  3045.     if (!$isEqual) {
  3046.         $this->markFieldDirty("weatherFolder"true);
  3047.     }
  3048.     $this->weatherFolder $fd->preSetData($this$weatherFolder);
  3049.     return $this;
  3050. }
  3051. /**
  3052. * Get profileImagesFolder - Profile Images
  3053. * @return \Pimcore\Model\Asset\Folder|null
  3054. */
  3055. public function getProfileImagesFolder()
  3056. {
  3057.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3058.         $preValue $this->preGetValue("profileImagesFolder");
  3059.         if ($preValue !== null) {
  3060.             return $preValue;
  3061.         }
  3062.     }
  3063.     $data $this->getClass()->getFieldDefinition("profileImagesFolder")->preGetData($this);
  3064.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("profileImagesFolder")->isEmpty($data)) {
  3065.         try {
  3066.             return $this->getValueFromParent("profileImagesFolder");
  3067.         } catch (InheritanceParentNotFoundException $e) {
  3068.             // no data from parent available, continue ...
  3069.         }
  3070.     }
  3071.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3072.         return $data->getPlain();
  3073.     }
  3074.     return $data;
  3075. }
  3076. /**
  3077. * Set profileImagesFolder - Profile Images
  3078. * @param \Pimcore\Model\Asset\Folder|null $profileImagesFolder
  3079. * @return \Pimcore\Model\DataObject\SiteConfig
  3080. */
  3081. public function setProfileImagesFolder($profileImagesFolder)
  3082. {
  3083.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3084.     $fd $this->getClass()->getFieldDefinition("profileImagesFolder");
  3085.     $inheritValues self::getGetInheritedValues();
  3086.     self::setGetInheritedValues(false);
  3087.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3088.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3089.     $currentData $this->getProfileImagesFolder();
  3090.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3091.     self::setGetInheritedValues($inheritValues);
  3092.     $isEqual $fd->isEqual($currentData$profileImagesFolder);
  3093.     if (!$isEqual) {
  3094.         $this->markFieldDirty("profileImagesFolder"true);
  3095.     }
  3096.     $this->profileImagesFolder $fd->preSetData($this$profileImagesFolder);
  3097.     return $this;
  3098. }
  3099. /**
  3100. * Get shopNotificationFolder - Shop Notifications Folder
  3101. * @return \Pimcore\Model\DataObject\Folder|null
  3102. */
  3103. public function getShopNotificationFolder()
  3104. {
  3105.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3106.         $preValue $this->preGetValue("shopNotificationFolder");
  3107.         if ($preValue !== null) {
  3108.             return $preValue;
  3109.         }
  3110.     }
  3111.     $data $this->getClass()->getFieldDefinition("shopNotificationFolder")->preGetData($this);
  3112.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("shopNotificationFolder")->isEmpty($data)) {
  3113.         try {
  3114.             return $this->getValueFromParent("shopNotificationFolder");
  3115.         } catch (InheritanceParentNotFoundException $e) {
  3116.             // no data from parent available, continue ...
  3117.         }
  3118.     }
  3119.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3120.         return $data->getPlain();
  3121.     }
  3122.     return $data;
  3123. }
  3124. /**
  3125. * Set shopNotificationFolder - Shop Notifications Folder
  3126. * @param \Pimcore\Model\DataObject\Folder|null $shopNotificationFolder
  3127. * @return \Pimcore\Model\DataObject\SiteConfig
  3128. */
  3129. public function setShopNotificationFolder($shopNotificationFolder)
  3130. {
  3131.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3132.     $fd $this->getClass()->getFieldDefinition("shopNotificationFolder");
  3133.     $inheritValues self::getGetInheritedValues();
  3134.     self::setGetInheritedValues(false);
  3135.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3136.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3137.     $currentData $this->getShopNotificationFolder();
  3138.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3139.     self::setGetInheritedValues($inheritValues);
  3140.     $isEqual $fd->isEqual($currentData$shopNotificationFolder);
  3141.     if (!$isEqual) {
  3142.         $this->markFieldDirty("shopNotificationFolder"true);
  3143.     }
  3144.     $this->shopNotificationFolder $fd->preSetData($this$shopNotificationFolder);
  3145.     return $this;
  3146. }
  3147. /**
  3148. * Get jobApplications - Job Applications
  3149. * @return \Pimcore\Model\DataObject\Folder|null
  3150. */
  3151. public function getJobApplications()
  3152. {
  3153.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3154.         $preValue $this->preGetValue("jobApplications");
  3155.         if ($preValue !== null) {
  3156.             return $preValue;
  3157.         }
  3158.     }
  3159.     $data $this->getClass()->getFieldDefinition("jobApplications")->preGetData($this);
  3160.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("jobApplications")->isEmpty($data)) {
  3161.         try {
  3162.             return $this->getValueFromParent("jobApplications");
  3163.         } catch (InheritanceParentNotFoundException $e) {
  3164.             // no data from parent available, continue ...
  3165.         }
  3166.     }
  3167.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3168.         return $data->getPlain();
  3169.     }
  3170.     return $data;
  3171. }
  3172. /**
  3173. * Set jobApplications - Job Applications
  3174. * @param \Pimcore\Model\DataObject\Folder|null $jobApplications
  3175. * @return \Pimcore\Model\DataObject\SiteConfig
  3176. */
  3177. public function setJobApplications($jobApplications)
  3178. {
  3179.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3180.     $fd $this->getClass()->getFieldDefinition("jobApplications");
  3181.     $inheritValues self::getGetInheritedValues();
  3182.     self::setGetInheritedValues(false);
  3183.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3184.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3185.     $currentData $this->getJobApplications();
  3186.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3187.     self::setGetInheritedValues($inheritValues);
  3188.     $isEqual $fd->isEqual($currentData$jobApplications);
  3189.     if (!$isEqual) {
  3190.         $this->markFieldDirty("jobApplications"true);
  3191.     }
  3192.     $this->jobApplications $fd->preSetData($this$jobApplications);
  3193.     return $this;
  3194. }
  3195. /**
  3196. * Get jobApplicationDocuments - Job Application Documents
  3197. * @return \Pimcore\Model\Asset\Folder|null
  3198. */
  3199. public function getJobApplicationDocuments()
  3200. {
  3201.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3202.         $preValue $this->preGetValue("jobApplicationDocuments");
  3203.         if ($preValue !== null) {
  3204.             return $preValue;
  3205.         }
  3206.     }
  3207.     $data $this->getClass()->getFieldDefinition("jobApplicationDocuments")->preGetData($this);
  3208.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("jobApplicationDocuments")->isEmpty($data)) {
  3209.         try {
  3210.             return $this->getValueFromParent("jobApplicationDocuments");
  3211.         } catch (InheritanceParentNotFoundException $e) {
  3212.             // no data from parent available, continue ...
  3213.         }
  3214.     }
  3215.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3216.         return $data->getPlain();
  3217.     }
  3218.     return $data;
  3219. }
  3220. /**
  3221. * Set jobApplicationDocuments - Job Application Documents
  3222. * @param \Pimcore\Model\Asset\Folder|null $jobApplicationDocuments
  3223. * @return \Pimcore\Model\DataObject\SiteConfig
  3224. */
  3225. public function setJobApplicationDocuments($jobApplicationDocuments)
  3226. {
  3227.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3228.     $fd $this->getClass()->getFieldDefinition("jobApplicationDocuments");
  3229.     $inheritValues self::getGetInheritedValues();
  3230.     self::setGetInheritedValues(false);
  3231.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3232.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3233.     $currentData $this->getJobApplicationDocuments();
  3234.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3235.     self::setGetInheritedValues($inheritValues);
  3236.     $isEqual $fd->isEqual($currentData$jobApplicationDocuments);
  3237.     if (!$isEqual) {
  3238.         $this->markFieldDirty("jobApplicationDocuments"true);
  3239.     }
  3240.     $this->jobApplicationDocuments $fd->preSetData($this$jobApplicationDocuments);
  3241.     return $this;
  3242. }
  3243. /**
  3244. * Get activateB2bTicketWarning - Activate B2b Ticket Warning
  3245. * @return bool|null
  3246. */
  3247. public function getActivateB2bTicketWarning()
  3248. {
  3249.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3250.         $preValue $this->preGetValue("activateB2bTicketWarning");
  3251.         if ($preValue !== null) {
  3252.             return $preValue;
  3253.         }
  3254.     }
  3255.     $data $this->activateB2bTicketWarning;
  3256.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("activateB2bTicketWarning")->isEmpty($data)) {
  3257.         try {
  3258.             return $this->getValueFromParent("activateB2bTicketWarning");
  3259.         } catch (InheritanceParentNotFoundException $e) {
  3260.             // no data from parent available, continue ...
  3261.         }
  3262.     }
  3263.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3264.         return $data->getPlain();
  3265.     }
  3266.     return $data;
  3267. }
  3268. /**
  3269. * Set activateB2bTicketWarning - Activate B2b Ticket Warning
  3270. * @param bool|null $activateB2bTicketWarning
  3271. * @return \Pimcore\Model\DataObject\SiteConfig
  3272. */
  3273. public function setActivateB2bTicketWarning($activateB2bTicketWarning)
  3274. {
  3275.     $this->activateB2bTicketWarning $activateB2bTicketWarning;
  3276.     return $this;
  3277. }
  3278. /**
  3279. * Get activateB2bEventWarning - Activate B2b Event Warning
  3280. * @return bool|null
  3281. */
  3282. public function getActivateB2bEventWarning()
  3283. {
  3284.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3285.         $preValue $this->preGetValue("activateB2bEventWarning");
  3286.         if ($preValue !== null) {
  3287.             return $preValue;
  3288.         }
  3289.     }
  3290.     $data $this->activateB2bEventWarning;
  3291.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("activateB2bEventWarning")->isEmpty($data)) {
  3292.         try {
  3293.             return $this->getValueFromParent("activateB2bEventWarning");
  3294.         } catch (InheritanceParentNotFoundException $e) {
  3295.             // no data from parent available, continue ...
  3296.         }
  3297.     }
  3298.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3299.         return $data->getPlain();
  3300.     }
  3301.     return $data;
  3302. }
  3303. /**
  3304. * Set activateB2bEventWarning - Activate B2b Event Warning
  3305. * @param bool|null $activateB2bEventWarning
  3306. * @return \Pimcore\Model\DataObject\SiteConfig
  3307. */
  3308. public function setActivateB2bEventWarning($activateB2bEventWarning)
  3309. {
  3310.     $this->activateB2bEventWarning $activateB2bEventWarning;
  3311.     return $this;
  3312. }
  3313. /**
  3314. * Get useSmartPricer - Use Smart Pricer
  3315. * @return bool|null
  3316. */
  3317. public function getUseSmartPricer()
  3318. {
  3319.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3320.         $preValue $this->preGetValue("useSmartPricer");
  3321.         if ($preValue !== null) {
  3322.             return $preValue;
  3323.         }
  3324.     }
  3325.     $data $this->useSmartPricer;
  3326.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("useSmartPricer")->isEmpty($data)) {
  3327.         try {
  3328.             return $this->getValueFromParent("useSmartPricer");
  3329.         } catch (InheritanceParentNotFoundException $e) {
  3330.             // no data from parent available, continue ...
  3331.         }
  3332.     }
  3333.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3334.         return $data->getPlain();
  3335.     }
  3336.     return $data;
  3337. }
  3338. /**
  3339. * Set useSmartPricer - Use Smart Pricer
  3340. * @param bool|null $useSmartPricer
  3341. * @return \Pimcore\Model\DataObject\SiteConfig
  3342. */
  3343. public function setUseSmartPricer($useSmartPricer)
  3344. {
  3345.     $this->useSmartPricer $useSmartPricer;
  3346.     return $this;
  3347. }
  3348. /**
  3349. * Get demandPressureSeasonStart - Demand Pressure Season Start
  3350. * @return \Carbon\Carbon|null
  3351. */
  3352. public function getDemandPressureSeasonStart()
  3353. {
  3354.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3355.         $preValue $this->preGetValue("demandPressureSeasonStart");
  3356.         if ($preValue !== null) {
  3357.             return $preValue;
  3358.         }
  3359.     }
  3360.     $data $this->demandPressureSeasonStart;
  3361.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("demandPressureSeasonStart")->isEmpty($data)) {
  3362.         try {
  3363.             return $this->getValueFromParent("demandPressureSeasonStart");
  3364.         } catch (InheritanceParentNotFoundException $e) {
  3365.             // no data from parent available, continue ...
  3366.         }
  3367.     }
  3368.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3369.         return $data->getPlain();
  3370.     }
  3371.     return $data;
  3372. }
  3373. /**
  3374. * Set demandPressureSeasonStart - Demand Pressure Season Start
  3375. * @param \Carbon\Carbon|null $demandPressureSeasonStart
  3376. * @return \Pimcore\Model\DataObject\SiteConfig
  3377. */
  3378. public function setDemandPressureSeasonStart($demandPressureSeasonStart)
  3379. {
  3380.     $this->demandPressureSeasonStart $demandPressureSeasonStart;
  3381.     return $this;
  3382. }
  3383. /**
  3384. * Get demandPressureSeasonEnd - Demand Pressure Season End
  3385. * @return \Carbon\Carbon|null
  3386. */
  3387. public function getDemandPressureSeasonEnd()
  3388. {
  3389.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3390.         $preValue $this->preGetValue("demandPressureSeasonEnd");
  3391.         if ($preValue !== null) {
  3392.             return $preValue;
  3393.         }
  3394.     }
  3395.     $data $this->demandPressureSeasonEnd;
  3396.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("demandPressureSeasonEnd")->isEmpty($data)) {
  3397.         try {
  3398.             return $this->getValueFromParent("demandPressureSeasonEnd");
  3399.         } catch (InheritanceParentNotFoundException $e) {
  3400.             // no data from parent available, continue ...
  3401.         }
  3402.     }
  3403.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3404.         return $data->getPlain();
  3405.     }
  3406.     return $data;
  3407. }
  3408. /**
  3409. * Set demandPressureSeasonEnd - Demand Pressure Season End
  3410. * @param \Carbon\Carbon|null $demandPressureSeasonEnd
  3411. * @return \Pimcore\Model\DataObject\SiteConfig
  3412. */
  3413. public function setDemandPressureSeasonEnd($demandPressureSeasonEnd)
  3414. {
  3415.     $this->demandPressureSeasonEnd $demandPressureSeasonEnd;
  3416.     return $this;
  3417. }
  3418. /**
  3419. * Get cartUsps - Cart Usps
  3420. * @return \Pimcore\Model\DataObject\USP[]
  3421. */
  3422. public function getCartUsps()
  3423. {
  3424.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3425.         $preValue $this->preGetValue("cartUsps");
  3426.         if ($preValue !== null) {
  3427.             return $preValue;
  3428.         }
  3429.     }
  3430.     $data $this->getClass()->getFieldDefinition("cartUsps")->preGetData($this);
  3431.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("cartUsps")->isEmpty($data)) {
  3432.         try {
  3433.             return $this->getValueFromParent("cartUsps");
  3434.         } catch (InheritanceParentNotFoundException $e) {
  3435.             // no data from parent available, continue ...
  3436.         }
  3437.     }
  3438.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3439.         return $data->getPlain();
  3440.     }
  3441.     return $data;
  3442. }
  3443. /**
  3444. * Set cartUsps - Cart Usps
  3445. * @param \Pimcore\Model\DataObject\USP[] $cartUsps
  3446. * @return \Pimcore\Model\DataObject\SiteConfig
  3447. */
  3448. public function setCartUsps($cartUsps)
  3449. {
  3450.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyObjectRelation $fd */
  3451.     $fd $this->getClass()->getFieldDefinition("cartUsps");
  3452.     $inheritValues self::getGetInheritedValues();
  3453.     self::setGetInheritedValues(false);
  3454.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3455.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3456.     $currentData $this->getCartUsps();
  3457.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3458.     self::setGetInheritedValues($inheritValues);
  3459.     $isEqual $fd->isEqual($currentData$cartUsps);
  3460.     if (!$isEqual) {
  3461.         $this->markFieldDirty("cartUsps"true);
  3462.     }
  3463.     $this->cartUsps $fd->preSetData($this$cartUsps);
  3464.     return $this;
  3465. }
  3466. /**
  3467. * Get priceCalculatorSeasons - Price Calculator Seasons
  3468. * @return \Pimcore\Model\DataObject\TicketSeason[]
  3469. */
  3470. public function getPriceCalculatorSeasons()
  3471. {
  3472.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3473.         $preValue $this->preGetValue("priceCalculatorSeasons");
  3474.         if ($preValue !== null) {
  3475.             return $preValue;
  3476.         }
  3477.     }
  3478.     $data $this->getClass()->getFieldDefinition("priceCalculatorSeasons")->preGetData($this);
  3479.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("priceCalculatorSeasons")->isEmpty($data)) {
  3480.         try {
  3481.             return $this->getValueFromParent("priceCalculatorSeasons");
  3482.         } catch (InheritanceParentNotFoundException $e) {
  3483.             // no data from parent available, continue ...
  3484.         }
  3485.     }
  3486.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3487.         return $data->getPlain();
  3488.     }
  3489.     return $data;
  3490. }
  3491. /**
  3492. * Set priceCalculatorSeasons - Price Calculator Seasons
  3493. * @param \Pimcore\Model\DataObject\TicketSeason[] $priceCalculatorSeasons
  3494. * @return \Pimcore\Model\DataObject\SiteConfig
  3495. */
  3496. public function setPriceCalculatorSeasons($priceCalculatorSeasons)
  3497. {
  3498.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyRelation $fd */
  3499.     $fd $this->getClass()->getFieldDefinition("priceCalculatorSeasons");
  3500.     $inheritValues self::getGetInheritedValues();
  3501.     self::setGetInheritedValues(false);
  3502.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3503.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3504.     $currentData $this->getPriceCalculatorSeasons();
  3505.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3506.     self::setGetInheritedValues($inheritValues);
  3507.     $isEqual $fd->isEqual($currentData$priceCalculatorSeasons);
  3508.     if (!$isEqual) {
  3509.         $this->markFieldDirty("priceCalculatorSeasons"true);
  3510.     }
  3511.     $this->priceCalculatorSeasons $fd->preSetData($this$priceCalculatorSeasons);
  3512.     return $this;
  3513. }
  3514. /**
  3515. * Get lowTill - Low Till
  3516. * @return float|null
  3517. */
  3518. public function getLowTill()
  3519. {
  3520.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3521.         $preValue $this->preGetValue("lowTill");
  3522.         if ($preValue !== null) {
  3523.             return $preValue;
  3524.         }
  3525.     }
  3526.     $data $this->lowTill;
  3527.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("lowTill")->isEmpty($data)) {
  3528.         try {
  3529.             return $this->getValueFromParent("lowTill");
  3530.         } catch (InheritanceParentNotFoundException $e) {
  3531.             // no data from parent available, continue ...
  3532.         }
  3533.     }
  3534.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3535.         return $data->getPlain();
  3536.     }
  3537.     return $data;
  3538. }
  3539. /**
  3540. * Set lowTill - Low Till
  3541. * @param float|null $lowTill
  3542. * @return \Pimcore\Model\DataObject\SiteConfig
  3543. */
  3544. public function setLowTill($lowTill)
  3545. {
  3546.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3547.     $fd $this->getClass()->getFieldDefinition("lowTill");
  3548.     $this->lowTill $fd->preSetData($this$lowTill);
  3549.     return $this;
  3550. }
  3551. /**
  3552. * Get ratherLowTill - Rather Low Till
  3553. * @return float|null
  3554. */
  3555. public function getRatherLowTill()
  3556. {
  3557.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3558.         $preValue $this->preGetValue("ratherLowTill");
  3559.         if ($preValue !== null) {
  3560.             return $preValue;
  3561.         }
  3562.     }
  3563.     $data $this->ratherLowTill;
  3564.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("ratherLowTill")->isEmpty($data)) {
  3565.         try {
  3566.             return $this->getValueFromParent("ratherLowTill");
  3567.         } catch (InheritanceParentNotFoundException $e) {
  3568.             // no data from parent available, continue ...
  3569.         }
  3570.     }
  3571.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3572.         return $data->getPlain();
  3573.     }
  3574.     return $data;
  3575. }
  3576. /**
  3577. * Set ratherLowTill - Rather Low Till
  3578. * @param float|null $ratherLowTill
  3579. * @return \Pimcore\Model\DataObject\SiteConfig
  3580. */
  3581. public function setRatherLowTill($ratherLowTill)
  3582. {
  3583.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3584.     $fd $this->getClass()->getFieldDefinition("ratherLowTill");
  3585.     $this->ratherLowTill $fd->preSetData($this$ratherLowTill);
  3586.     return $this;
  3587. }
  3588. /**
  3589. * Get normalTill - Normal Till
  3590. * @return float|null
  3591. */
  3592. public function getNormalTill()
  3593. {
  3594.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3595.         $preValue $this->preGetValue("normalTill");
  3596.         if ($preValue !== null) {
  3597.             return $preValue;
  3598.         }
  3599.     }
  3600.     $data $this->normalTill;
  3601.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("normalTill")->isEmpty($data)) {
  3602.         try {
  3603.             return $this->getValueFromParent("normalTill");
  3604.         } catch (InheritanceParentNotFoundException $e) {
  3605.             // no data from parent available, continue ...
  3606.         }
  3607.     }
  3608.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3609.         return $data->getPlain();
  3610.     }
  3611.     return $data;
  3612. }
  3613. /**
  3614. * Set normalTill - Normal Till
  3615. * @param float|null $normalTill
  3616. * @return \Pimcore\Model\DataObject\SiteConfig
  3617. */
  3618. public function setNormalTill($normalTill)
  3619. {
  3620.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3621.     $fd $this->getClass()->getFieldDefinition("normalTill");
  3622.     $this->normalTill $fd->preSetData($this$normalTill);
  3623.     return $this;
  3624. }
  3625. /**
  3626. * Get ratherHighTill - Rather High Till
  3627. * @return float|null
  3628. */
  3629. public function getRatherHighTill()
  3630. {
  3631.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3632.         $preValue $this->preGetValue("ratherHighTill");
  3633.         if ($preValue !== null) {
  3634.             return $preValue;
  3635.         }
  3636.     }
  3637.     $data $this->ratherHighTill;
  3638.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("ratherHighTill")->isEmpty($data)) {
  3639.         try {
  3640.             return $this->getValueFromParent("ratherHighTill");
  3641.         } catch (InheritanceParentNotFoundException $e) {
  3642.             // no data from parent available, continue ...
  3643.         }
  3644.     }
  3645.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3646.         return $data->getPlain();
  3647.     }
  3648.     return $data;
  3649. }
  3650. /**
  3651. * Set ratherHighTill - Rather High Till
  3652. * @param float|null $ratherHighTill
  3653. * @return \Pimcore\Model\DataObject\SiteConfig
  3654. */
  3655. public function setRatherHighTill($ratherHighTill)
  3656. {
  3657.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3658.     $fd $this->getClass()->getFieldDefinition("ratherHighTill");
  3659.     $this->ratherHighTill $fd->preSetData($this$ratherHighTill);
  3660.     return $this;
  3661. }
  3662. /**
  3663. * Get fewTicketsTill - Few Tickets Till
  3664. * @return float|null
  3665. */
  3666. public function getFewTicketsTill()
  3667. {
  3668.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3669.         $preValue $this->preGetValue("fewTicketsTill");
  3670.         if ($preValue !== null) {
  3671.             return $preValue;
  3672.         }
  3673.     }
  3674.     $data $this->fewTicketsTill;
  3675.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("fewTicketsTill")->isEmpty($data)) {
  3676.         try {
  3677.             return $this->getValueFromParent("fewTicketsTill");
  3678.         } catch (InheritanceParentNotFoundException $e) {
  3679.             // no data from parent available, continue ...
  3680.         }
  3681.     }
  3682.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3683.         return $data->getPlain();
  3684.     }
  3685.     return $data;
  3686. }
  3687. /**
  3688. * Set fewTicketsTill - Few Tickets Till
  3689. * @param float|null $fewTicketsTill
  3690. * @return \Pimcore\Model\DataObject\SiteConfig
  3691. */
  3692. public function setFewTicketsTill($fewTicketsTill)
  3693. {
  3694.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3695.     $fd $this->getClass()->getFieldDefinition("fewTicketsTill");
  3696.     $this->fewTicketsTill $fd->preSetData($this$fewTicketsTill);
  3697.     return $this;
  3698. }
  3699. /**
  3700. * Get someTicketsTill - Some Tickets Till
  3701. * @return float|null
  3702. */
  3703. public function getSomeTicketsTill()
  3704. {
  3705.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3706.         $preValue $this->preGetValue("someTicketsTill");
  3707.         if ($preValue !== null) {
  3708.             return $preValue;
  3709.         }
  3710.     }
  3711.     $data $this->someTicketsTill;
  3712.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("someTicketsTill")->isEmpty($data)) {
  3713.         try {
  3714.             return $this->getValueFromParent("someTicketsTill");
  3715.         } catch (InheritanceParentNotFoundException $e) {
  3716.             // no data from parent available, continue ...
  3717.         }
  3718.     }
  3719.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3720.         return $data->getPlain();
  3721.     }
  3722.     return $data;
  3723. }
  3724. /**
  3725. * Set someTicketsTill - Some Tickets Till
  3726. * @param float|null $someTicketsTill
  3727. * @return \Pimcore\Model\DataObject\SiteConfig
  3728. */
  3729. public function setSomeTicketsTill($someTicketsTill)
  3730. {
  3731.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  3732.     $fd $this->getClass()->getFieldDefinition("someTicketsTill");
  3733.     $this->someTicketsTill $fd->preSetData($this$someTicketsTill);
  3734.     return $this;
  3735. }
  3736. /**
  3737. * Get paymentOptions - Payment Options
  3738. * @return string[]|null
  3739. */
  3740. public function getPaymentOptions()
  3741. {
  3742.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3743.         $preValue $this->preGetValue("paymentOptions");
  3744.         if ($preValue !== null) {
  3745.             return $preValue;
  3746.         }
  3747.     }
  3748.     $data $this->paymentOptions;
  3749.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("paymentOptions")->isEmpty($data)) {
  3750.         try {
  3751.             return $this->getValueFromParent("paymentOptions");
  3752.         } catch (InheritanceParentNotFoundException $e) {
  3753.             // no data from parent available, continue ...
  3754.         }
  3755.     }
  3756.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3757.         return $data->getPlain();
  3758.     }
  3759.     return $data;
  3760. }
  3761. /**
  3762. * Set paymentOptions - Payment Options
  3763. * @param string[]|null $paymentOptions
  3764. * @return \Pimcore\Model\DataObject\SiteConfig
  3765. */
  3766. public function setPaymentOptions($paymentOptions)
  3767. {
  3768.     $this->paymentOptions $paymentOptions;
  3769.     return $this;
  3770. }
  3771. /**
  3772. * Get keycardProduct - Keycard Product
  3773. * @return \Pimcore\Model\DataObject\TicketShopKeycard|null
  3774. */
  3775. public function getKeycardProduct()
  3776. {
  3777.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3778.         $preValue $this->preGetValue("keycardProduct");
  3779.         if ($preValue !== null) {
  3780.             return $preValue;
  3781.         }
  3782.     }
  3783.     $data $this->getClass()->getFieldDefinition("keycardProduct")->preGetData($this);
  3784.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("keycardProduct")->isEmpty($data)) {
  3785.         try {
  3786.             return $this->getValueFromParent("keycardProduct");
  3787.         } catch (InheritanceParentNotFoundException $e) {
  3788.             // no data from parent available, continue ...
  3789.         }
  3790.     }
  3791.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3792.         return $data->getPlain();
  3793.     }
  3794.     return $data;
  3795. }
  3796. /**
  3797. * Set keycardProduct - Keycard Product
  3798. * @param \Pimcore\Model\DataObject\TicketShopKeycard|null $keycardProduct
  3799. * @return \Pimcore\Model\DataObject\SiteConfig
  3800. */
  3801. public function setKeycardProduct($keycardProduct)
  3802. {
  3803.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  3804.     $fd $this->getClass()->getFieldDefinition("keycardProduct");
  3805.     $inheritValues self::getGetInheritedValues();
  3806.     self::setGetInheritedValues(false);
  3807.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  3808.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  3809.     $currentData $this->getKeycardProduct();
  3810.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  3811.     self::setGetInheritedValues($inheritValues);
  3812.     $isEqual $fd->isEqual($currentData$keycardProduct);
  3813.     if (!$isEqual) {
  3814.         $this->markFieldDirty("keycardProduct"true);
  3815.     }
  3816.     $this->keycardProduct $fd->preSetData($this$keycardProduct);
  3817.     return $this;
  3818. }
  3819. /**
  3820. * Get acquisitionTypesRequireKeycardPurchase - Keycard Acquisition
  3821. * @return string[]|null
  3822. */
  3823. public function getAcquisitionTypesRequireKeycardPurchase()
  3824. {
  3825.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3826.         $preValue $this->preGetValue("acquisitionTypesRequireKeycardPurchase");
  3827.         if ($preValue !== null) {
  3828.             return $preValue;
  3829.         }
  3830.     }
  3831.     $data $this->acquisitionTypesRequireKeycardPurchase;
  3832.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("acquisitionTypesRequireKeycardPurchase")->isEmpty($data)) {
  3833.         try {
  3834.             return $this->getValueFromParent("acquisitionTypesRequireKeycardPurchase");
  3835.         } catch (InheritanceParentNotFoundException $e) {
  3836.             // no data from parent available, continue ...
  3837.         }
  3838.     }
  3839.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3840.         return $data->getPlain();
  3841.     }
  3842.     return $data;
  3843. }
  3844. /**
  3845. * Set acquisitionTypesRequireKeycardPurchase - Keycard Acquisition
  3846. * @param string[]|null $acquisitionTypesRequireKeycardPurchase
  3847. * @return \Pimcore\Model\DataObject\SiteConfig
  3848. */
  3849. public function setAcquisitionTypesRequireKeycardPurchase($acquisitionTypesRequireKeycardPurchase)
  3850. {
  3851.     $this->acquisitionTypesRequireKeycardPurchase $acquisitionTypesRequireKeycardPurchase;
  3852.     return $this;
  3853. }
  3854. /**
  3855. * Get hideAcquisitionTypes - Hide Aquisition Types
  3856. * @return string[]|null
  3857. */
  3858. public function getHideAcquisitionTypes()
  3859. {
  3860.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3861.         $preValue $this->preGetValue("hideAcquisitionTypes");
  3862.         if ($preValue !== null) {
  3863.             return $preValue;
  3864.         }
  3865.     }
  3866.     $data $this->hideAcquisitionTypes;
  3867.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("hideAcquisitionTypes")->isEmpty($data)) {
  3868.         try {
  3869.             return $this->getValueFromParent("hideAcquisitionTypes");
  3870.         } catch (InheritanceParentNotFoundException $e) {
  3871.             // no data from parent available, continue ...
  3872.         }
  3873.     }
  3874.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3875.         return $data->getPlain();
  3876.     }
  3877.     return $data;
  3878. }
  3879. /**
  3880. * Set hideAcquisitionTypes - Hide Aquisition Types
  3881. * @param string[]|null $hideAcquisitionTypes
  3882. * @return \Pimcore\Model\DataObject\SiteConfig
  3883. */
  3884. public function setHideAcquisitionTypes($hideAcquisitionTypes)
  3885. {
  3886.     $this->hideAcquisitionTypes $hideAcquisitionTypes;
  3887.     return $this;
  3888. }
  3889. /**
  3890. * Get disableSkidataRequests - Disable Skidata Requests
  3891. * @return bool|null
  3892. */
  3893. public function getDisableSkidataRequests()
  3894. {
  3895.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3896.         $preValue $this->preGetValue("disableSkidataRequests");
  3897.         if ($preValue !== null) {
  3898.             return $preValue;
  3899.         }
  3900.     }
  3901.     $data $this->disableSkidataRequests;
  3902.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("disableSkidataRequests")->isEmpty($data)) {
  3903.         try {
  3904.             return $this->getValueFromParent("disableSkidataRequests");
  3905.         } catch (InheritanceParentNotFoundException $e) {
  3906.             // no data from parent available, continue ...
  3907.         }
  3908.     }
  3909.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3910.         return $data->getPlain();
  3911.     }
  3912.     return $data;
  3913. }
  3914. /**
  3915. * Set disableSkidataRequests - Disable Skidata Requests
  3916. * @param bool|null $disableSkidataRequests
  3917. * @return \Pimcore\Model\DataObject\SiteConfig
  3918. */
  3919. public function setDisableSkidataRequests($disableSkidataRequests)
  3920. {
  3921.     $this->disableSkidataRequests $disableSkidataRequests;
  3922.     return $this;
  3923. }
  3924. /**
  3925. * Get merchandiseSmallZone1 - Zone 1
  3926. * @return string[]|null
  3927. */
  3928. public function getMerchandiseSmallZone1()
  3929. {
  3930.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3931.         $preValue $this->preGetValue("merchandiseSmallZone1");
  3932.         if ($preValue !== null) {
  3933.             return $preValue;
  3934.         }
  3935.     }
  3936.     $data $this->merchandiseSmallZone1;
  3937.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseSmallZone1")->isEmpty($data)) {
  3938.         try {
  3939.             return $this->getValueFromParent("merchandiseSmallZone1");
  3940.         } catch (InheritanceParentNotFoundException $e) {
  3941.             // no data from parent available, continue ...
  3942.         }
  3943.     }
  3944.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3945.         return $data->getPlain();
  3946.     }
  3947.     return $data;
  3948. }
  3949. /**
  3950. * Set merchandiseSmallZone1 - Zone 1
  3951. * @param string[]|null $merchandiseSmallZone1
  3952. * @return \Pimcore\Model\DataObject\SiteConfig
  3953. */
  3954. public function setMerchandiseSmallZone1($merchandiseSmallZone1)
  3955. {
  3956.     $this->merchandiseSmallZone1 $merchandiseSmallZone1;
  3957.     return $this;
  3958. }
  3959. /**
  3960. * Get merchandiseSmallZone2 - Zone 2
  3961. * @return string[]|null
  3962. */
  3963. public function getMerchandiseSmallZone2()
  3964. {
  3965.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  3966.         $preValue $this->preGetValue("merchandiseSmallZone2");
  3967.         if ($preValue !== null) {
  3968.             return $preValue;
  3969.         }
  3970.     }
  3971.     $data $this->merchandiseSmallZone2;
  3972.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseSmallZone2")->isEmpty($data)) {
  3973.         try {
  3974.             return $this->getValueFromParent("merchandiseSmallZone2");
  3975.         } catch (InheritanceParentNotFoundException $e) {
  3976.             // no data from parent available, continue ...
  3977.         }
  3978.     }
  3979.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  3980.         return $data->getPlain();
  3981.     }
  3982.     return $data;
  3983. }
  3984. /**
  3985. * Set merchandiseSmallZone2 - Zone 2
  3986. * @param string[]|null $merchandiseSmallZone2
  3987. * @return \Pimcore\Model\DataObject\SiteConfig
  3988. */
  3989. public function setMerchandiseSmallZone2($merchandiseSmallZone2)
  3990. {
  3991.     $this->merchandiseSmallZone2 $merchandiseSmallZone2;
  3992.     return $this;
  3993. }
  3994. /**
  3995. * Get merchandiseBigZone1 - Zone 1
  3996. * @return string[]|null
  3997. */
  3998. public function getMerchandiseBigZone1()
  3999. {
  4000.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4001.         $preValue $this->preGetValue("merchandiseBigZone1");
  4002.         if ($preValue !== null) {
  4003.             return $preValue;
  4004.         }
  4005.     }
  4006.     $data $this->merchandiseBigZone1;
  4007.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseBigZone1")->isEmpty($data)) {
  4008.         try {
  4009.             return $this->getValueFromParent("merchandiseBigZone1");
  4010.         } catch (InheritanceParentNotFoundException $e) {
  4011.             // no data from parent available, continue ...
  4012.         }
  4013.     }
  4014.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4015.         return $data->getPlain();
  4016.     }
  4017.     return $data;
  4018. }
  4019. /**
  4020. * Set merchandiseBigZone1 - Zone 1
  4021. * @param string[]|null $merchandiseBigZone1
  4022. * @return \Pimcore\Model\DataObject\SiteConfig
  4023. */
  4024. public function setMerchandiseBigZone1($merchandiseBigZone1)
  4025. {
  4026.     $this->merchandiseBigZone1 $merchandiseBigZone1;
  4027.     return $this;
  4028. }
  4029. /**
  4030. * Get merchandiseBigZone2 - Zone 2
  4031. * @return string[]|null
  4032. */
  4033. public function getMerchandiseBigZone2()
  4034. {
  4035.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4036.         $preValue $this->preGetValue("merchandiseBigZone2");
  4037.         if ($preValue !== null) {
  4038.             return $preValue;
  4039.         }
  4040.     }
  4041.     $data $this->merchandiseBigZone2;
  4042.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseBigZone2")->isEmpty($data)) {
  4043.         try {
  4044.             return $this->getValueFromParent("merchandiseBigZone2");
  4045.         } catch (InheritanceParentNotFoundException $e) {
  4046.             // no data from parent available, continue ...
  4047.         }
  4048.     }
  4049.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4050.         return $data->getPlain();
  4051.     }
  4052.     return $data;
  4053. }
  4054. /**
  4055. * Set merchandiseBigZone2 - Zone 2
  4056. * @param string[]|null $merchandiseBigZone2
  4057. * @return \Pimcore\Model\DataObject\SiteConfig
  4058. */
  4059. public function setMerchandiseBigZone2($merchandiseBigZone2)
  4060. {
  4061.     $this->merchandiseBigZone2 $merchandiseBigZone2;
  4062.     return $this;
  4063. }
  4064. /**
  4065. * Get merchandiseBigZone3 - Zone 3
  4066. * @return string[]|null
  4067. */
  4068. public function getMerchandiseBigZone3()
  4069. {
  4070.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4071.         $preValue $this->preGetValue("merchandiseBigZone3");
  4072.         if ($preValue !== null) {
  4073.             return $preValue;
  4074.         }
  4075.     }
  4076.     $data $this->merchandiseBigZone3;
  4077.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("merchandiseBigZone3")->isEmpty($data)) {
  4078.         try {
  4079.             return $this->getValueFromParent("merchandiseBigZone3");
  4080.         } catch (InheritanceParentNotFoundException $e) {
  4081.             // no data from parent available, continue ...
  4082.         }
  4083.     }
  4084.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4085.         return $data->getPlain();
  4086.     }
  4087.     return $data;
  4088. }
  4089. /**
  4090. * Set merchandiseBigZone3 - Zone 3
  4091. * @param string[]|null $merchandiseBigZone3
  4092. * @return \Pimcore\Model\DataObject\SiteConfig
  4093. */
  4094. public function setMerchandiseBigZone3($merchandiseBigZone3)
  4095. {
  4096.     $this->merchandiseBigZone3 $merchandiseBigZone3;
  4097.     return $this;
  4098. }
  4099. /**
  4100. * Get phone - Phone
  4101. * @return string|null
  4102. */
  4103. public function getPhone()
  4104. {
  4105.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4106.         $preValue $this->preGetValue("phone");
  4107.         if ($preValue !== null) {
  4108.             return $preValue;
  4109.         }
  4110.     }
  4111.     $data $this->phone;
  4112.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("phone")->isEmpty($data)) {
  4113.         try {
  4114.             return $this->getValueFromParent("phone");
  4115.         } catch (InheritanceParentNotFoundException $e) {
  4116.             // no data from parent available, continue ...
  4117.         }
  4118.     }
  4119.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4120.         return $data->getPlain();
  4121.     }
  4122.     return $data;
  4123. }
  4124. /**
  4125. * Set phone - Phone
  4126. * @param string|null $phone
  4127. * @return \Pimcore\Model\DataObject\SiteConfig
  4128. */
  4129. public function setPhone($phone)
  4130. {
  4131.     $this->phone $phone;
  4132.     return $this;
  4133. }
  4134. /**
  4135. * Get email - E-Mail
  4136. * @return string|null
  4137. */
  4138. public function getEmail()
  4139. {
  4140.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4141.         $preValue $this->preGetValue("email");
  4142.         if ($preValue !== null) {
  4143.             return $preValue;
  4144.         }
  4145.     }
  4146.     $data $this->email;
  4147.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("email")->isEmpty($data)) {
  4148.         try {
  4149.             return $this->getValueFromParent("email");
  4150.         } catch (InheritanceParentNotFoundException $e) {
  4151.             // no data from parent available, continue ...
  4152.         }
  4153.     }
  4154.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4155.         return $data->getPlain();
  4156.     }
  4157.     return $data;
  4158. }
  4159. /**
  4160. * Set email - E-Mail
  4161. * @param string|null $email
  4162. * @return \Pimcore\Model\DataObject\SiteConfig
  4163. */
  4164. public function setEmail($email)
  4165. {
  4166.     $this->email $email;
  4167.     return $this;
  4168. }
  4169. /**
  4170. * Get socialMediaBlock - Social Media Links
  4171. * @return \Pimcore\Model\DataObject\Data\BlockElement[][]
  4172. */
  4173. public function getSocialMediaBlock()
  4174. {
  4175.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4176.         $preValue $this->preGetValue("socialMediaBlock");
  4177.         if ($preValue !== null) {
  4178.             return $preValue;
  4179.         }
  4180.     }
  4181.     $data $this->getClass()->getFieldDefinition("socialMediaBlock")->preGetData($this);
  4182.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("socialMediaBlock")->isEmpty($data)) {
  4183.         try {
  4184.             return $this->getValueFromParent("socialMediaBlock");
  4185.         } catch (InheritanceParentNotFoundException $e) {
  4186.             // no data from parent available, continue ...
  4187.         }
  4188.     }
  4189.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4190.         return $data->getPlain();
  4191.     }
  4192.     return $data;
  4193. }
  4194. /**
  4195. * Set socialMediaBlock - Social Media Links
  4196. * @param \Pimcore\Model\DataObject\Data\BlockElement[][] $socialMediaBlock
  4197. * @return \Pimcore\Model\DataObject\SiteConfig
  4198. */
  4199. public function setSocialMediaBlock($socialMediaBlock)
  4200. {
  4201.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Block $fd */
  4202.     $fd $this->getClass()->getFieldDefinition("socialMediaBlock");
  4203.     $this->socialMediaBlock $fd->preSetData($this$socialMediaBlock);
  4204.     return $this;
  4205. }
  4206. /**
  4207. * Get mainNavbarActive - Main Navbar Active
  4208. * @return bool|null
  4209. */
  4210. public function getMainNavbarActive()
  4211. {
  4212.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4213.         $preValue $this->preGetValue("mainNavbarActive");
  4214.         if ($preValue !== null) {
  4215.             return $preValue;
  4216.         }
  4217.     }
  4218.     $data $this->mainNavbarActive;
  4219.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("mainNavbarActive")->isEmpty($data)) {
  4220.         try {
  4221.             return $this->getValueFromParent("mainNavbarActive");
  4222.         } catch (InheritanceParentNotFoundException $e) {
  4223.             // no data from parent available, continue ...
  4224.         }
  4225.     }
  4226.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4227.         return $data->getPlain();
  4228.     }
  4229.     return $data;
  4230. }
  4231. /**
  4232. * Set mainNavbarActive - Main Navbar Active
  4233. * @param bool|null $mainNavbarActive
  4234. * @return \Pimcore\Model\DataObject\SiteConfig
  4235. */
  4236. public function setMainNavbarActive($mainNavbarActive)
  4237. {
  4238.     $this->mainNavbarActive $mainNavbarActive;
  4239.     return $this;
  4240. }
  4241. /**
  4242. * Get backgroundColor - Background Color
  4243. * @return string|null
  4244. */
  4245. public function getBackgroundColor()
  4246. {
  4247.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4248.         $preValue $this->preGetValue("backgroundColor");
  4249.         if ($preValue !== null) {
  4250.             return $preValue;
  4251.         }
  4252.     }
  4253.     $data $this->backgroundColor;
  4254.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("backgroundColor")->isEmpty($data)) {
  4255.         try {
  4256.             return $this->getValueFromParent("backgroundColor");
  4257.         } catch (InheritanceParentNotFoundException $e) {
  4258.             // no data from parent available, continue ...
  4259.         }
  4260.     }
  4261.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4262.         return $data->getPlain();
  4263.     }
  4264.     return $data;
  4265. }
  4266. /**
  4267. * Set backgroundColor - Background Color
  4268. * @param string|null $backgroundColor
  4269. * @return \Pimcore\Model\DataObject\SiteConfig
  4270. */
  4271. public function setBackgroundColor($backgroundColor)
  4272. {
  4273.     $this->backgroundColor $backgroundColor;
  4274.     return $this;
  4275. }
  4276. /**
  4277. * Get mainNavbarIcon - Icon
  4278. * @return string|null
  4279. */
  4280. public function getMainNavbarIcon()
  4281. {
  4282.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4283.         $preValue $this->preGetValue("mainNavbarIcon");
  4284.         if ($preValue !== null) {
  4285.             return $preValue;
  4286.         }
  4287.     }
  4288.     $data $this->mainNavbarIcon;
  4289.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("mainNavbarIcon")->isEmpty($data)) {
  4290.         try {
  4291.             return $this->getValueFromParent("mainNavbarIcon");
  4292.         } catch (InheritanceParentNotFoundException $e) {
  4293.             // no data from parent available, continue ...
  4294.         }
  4295.     }
  4296.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4297.         return $data->getPlain();
  4298.     }
  4299.     return $data;
  4300. }
  4301. /**
  4302. * Set mainNavbarIcon - Icon
  4303. * @param string|null $mainNavbarIcon
  4304. * @return \Pimcore\Model\DataObject\SiteConfig
  4305. */
  4306. public function setMainNavbarIcon($mainNavbarIcon)
  4307. {
  4308.     $this->mainNavbarIcon $mainNavbarIcon;
  4309.     return $this;
  4310. }
  4311. /**
  4312. * Get alwaysFixed - Always Fixed
  4313. * @return bool|null
  4314. */
  4315. public function getAlwaysFixed()
  4316. {
  4317.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4318.         $preValue $this->preGetValue("alwaysFixed");
  4319.         if ($preValue !== null) {
  4320.             return $preValue;
  4321.         }
  4322.     }
  4323.     $data $this->alwaysFixed;
  4324.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("alwaysFixed")->isEmpty($data)) {
  4325.         try {
  4326.             return $this->getValueFromParent("alwaysFixed");
  4327.         } catch (InheritanceParentNotFoundException $e) {
  4328.             // no data from parent available, continue ...
  4329.         }
  4330.     }
  4331.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4332.         return $data->getPlain();
  4333.     }
  4334.     return $data;
  4335. }
  4336. /**
  4337. * Set alwaysFixed - Always Fixed
  4338. * @param bool|null $alwaysFixed
  4339. * @return \Pimcore\Model\DataObject\SiteConfig
  4340. */
  4341. public function setAlwaysFixed($alwaysFixed)
  4342. {
  4343.     $this->alwaysFixed $alwaysFixed;
  4344.     return $this;
  4345. }
  4346. /**
  4347. * Get mainNavbarActiveShop - Main Navbar Active
  4348. * @return bool|null
  4349. */
  4350. public function getMainNavbarActiveShop()
  4351. {
  4352.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4353.         $preValue $this->preGetValue("mainNavbarActiveShop");
  4354.         if ($preValue !== null) {
  4355.             return $preValue;
  4356.         }
  4357.     }
  4358.     $data $this->mainNavbarActiveShop;
  4359.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("mainNavbarActiveShop")->isEmpty($data)) {
  4360.         try {
  4361.             return $this->getValueFromParent("mainNavbarActiveShop");
  4362.         } catch (InheritanceParentNotFoundException $e) {
  4363.             // no data from parent available, continue ...
  4364.         }
  4365.     }
  4366.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4367.         return $data->getPlain();
  4368.     }
  4369.     return $data;
  4370. }
  4371. /**
  4372. * Set mainNavbarActiveShop - Main Navbar Active
  4373. * @param bool|null $mainNavbarActiveShop
  4374. * @return \Pimcore\Model\DataObject\SiteConfig
  4375. */
  4376. public function setMainNavbarActiveShop($mainNavbarActiveShop)
  4377. {
  4378.     $this->mainNavbarActiveShop $mainNavbarActiveShop;
  4379.     return $this;
  4380. }
  4381. /**
  4382. * Get backgroundColorShop - Background Color
  4383. * @return string|null
  4384. */
  4385. public function getBackgroundColorShop()
  4386. {
  4387.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4388.         $preValue $this->preGetValue("backgroundColorShop");
  4389.         if ($preValue !== null) {
  4390.             return $preValue;
  4391.         }
  4392.     }
  4393.     $data $this->backgroundColorShop;
  4394.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("backgroundColorShop")->isEmpty($data)) {
  4395.         try {
  4396.             return $this->getValueFromParent("backgroundColorShop");
  4397.         } catch (InheritanceParentNotFoundException $e) {
  4398.             // no data from parent available, continue ...
  4399.         }
  4400.     }
  4401.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4402.         return $data->getPlain();
  4403.     }
  4404.     return $data;
  4405. }
  4406. /**
  4407. * Set backgroundColorShop - Background Color
  4408. * @param string|null $backgroundColorShop
  4409. * @return \Pimcore\Model\DataObject\SiteConfig
  4410. */
  4411. public function setBackgroundColorShop($backgroundColorShop)
  4412. {
  4413.     $this->backgroundColorShop $backgroundColorShop;
  4414.     return $this;
  4415. }
  4416. /**
  4417. * Get mainNavbarIconShop - Icon
  4418. * @return string|null
  4419. */
  4420. public function getMainNavbarIconShop()
  4421. {
  4422.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4423.         $preValue $this->preGetValue("mainNavbarIconShop");
  4424.         if ($preValue !== null) {
  4425.             return $preValue;
  4426.         }
  4427.     }
  4428.     $data $this->mainNavbarIconShop;
  4429.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("mainNavbarIconShop")->isEmpty($data)) {
  4430.         try {
  4431.             return $this->getValueFromParent("mainNavbarIconShop");
  4432.         } catch (InheritanceParentNotFoundException $e) {
  4433.             // no data from parent available, continue ...
  4434.         }
  4435.     }
  4436.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4437.         return $data->getPlain();
  4438.     }
  4439.     return $data;
  4440. }
  4441. /**
  4442. * Set mainNavbarIconShop - Icon
  4443. * @param string|null $mainNavbarIconShop
  4444. * @return \Pimcore\Model\DataObject\SiteConfig
  4445. */
  4446. public function setMainNavbarIconShop($mainNavbarIconShop)
  4447. {
  4448.     $this->mainNavbarIconShop $mainNavbarIconShop;
  4449.     return $this;
  4450. }
  4451. /**
  4452. * Get alwaysFixedShop - Always Fixed
  4453. * @return bool|null
  4454. */
  4455. public function getAlwaysFixedShop()
  4456. {
  4457.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4458.         $preValue $this->preGetValue("alwaysFixedShop");
  4459.         if ($preValue !== null) {
  4460.             return $preValue;
  4461.         }
  4462.     }
  4463.     $data $this->alwaysFixedShop;
  4464.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("alwaysFixedShop")->isEmpty($data)) {
  4465.         try {
  4466.             return $this->getValueFromParent("alwaysFixedShop");
  4467.         } catch (InheritanceParentNotFoundException $e) {
  4468.             // no data from parent available, continue ...
  4469.         }
  4470.     }
  4471.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4472.         return $data->getPlain();
  4473.     }
  4474.     return $data;
  4475. }
  4476. /**
  4477. * Set alwaysFixedShop - Always Fixed
  4478. * @param bool|null $alwaysFixedShop
  4479. * @return \Pimcore\Model\DataObject\SiteConfig
  4480. */
  4481. public function setAlwaysFixedShop($alwaysFixedShop)
  4482. {
  4483.     $this->alwaysFixedShop $alwaysFixedShop;
  4484.     return $this;
  4485. }
  4486. /**
  4487. * Get darkPageActive - Dark Page Active
  4488. * @return bool|null
  4489. */
  4490. public function getDarkPageActive()
  4491. {
  4492.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4493.         $preValue $this->preGetValue("darkPageActive");
  4494.         if ($preValue !== null) {
  4495.             return $preValue;
  4496.         }
  4497.     }
  4498.     $data $this->darkPageActive;
  4499.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("darkPageActive")->isEmpty($data)) {
  4500.         try {
  4501.             return $this->getValueFromParent("darkPageActive");
  4502.         } catch (InheritanceParentNotFoundException $e) {
  4503.             // no data from parent available, continue ...
  4504.         }
  4505.     }
  4506.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4507.         return $data->getPlain();
  4508.     }
  4509.     return $data;
  4510. }
  4511. /**
  4512. * Set darkPageActive - Dark Page Active
  4513. * @param bool|null $darkPageActive
  4514. * @return \Pimcore\Model\DataObject\SiteConfig
  4515. */
  4516. public function setDarkPageActive($darkPageActive)
  4517. {
  4518.     $this->darkPageActive $darkPageActive;
  4519.     return $this;
  4520. }
  4521. /**
  4522. * Get daysAfterJobApplicantsAreExpired - Days After Job Applicants Are Expired
  4523. * @return float|null
  4524. */
  4525. public function getDaysAfterJobApplicantsAreExpired()
  4526. {
  4527.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  4528.         $preValue $this->preGetValue("daysAfterJobApplicantsAreExpired");
  4529.         if ($preValue !== null) {
  4530.             return $preValue;
  4531.         }
  4532.     }
  4533.     $data $this->daysAfterJobApplicantsAreExpired;
  4534.     if (\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("daysAfterJobApplicantsAreExpired")->isEmpty($data)) {
  4535.         try {
  4536.             return $this->getValueFromParent("daysAfterJobApplicantsAreExpired");
  4537.         } catch (InheritanceParentNotFoundException $e) {
  4538.             // no data from parent available, continue ...
  4539.         }
  4540.     }
  4541.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  4542.         return $data->getPlain();
  4543.     }
  4544.     return $data;
  4545. }
  4546. /**
  4547. * Set daysAfterJobApplicantsAreExpired - Days After Job Applicants Are Expired
  4548. * @param float|null $daysAfterJobApplicantsAreExpired
  4549. * @return \Pimcore\Model\DataObject\SiteConfig
  4550. */
  4551. public function setDaysAfterJobApplicantsAreExpired($daysAfterJobApplicantsAreExpired)
  4552. {
  4553.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\Numeric $fd */
  4554.     $fd $this->getClass()->getFieldDefinition("daysAfterJobApplicantsAreExpired");
  4555.     $this->daysAfterJobApplicantsAreExpired $fd->preSetData($this$daysAfterJobApplicantsAreExpired);
  4556.     return $this;
  4557. }
  4558. }