var/classes/DataObject/Category.php line 1219

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - enabled [checkbox]
  8.  * - anchor [checkbox]
  9.  * - include_in_menu [checkbox]
  10.  * - layer_category_only [checkbox]
  11.  * - search_exclude [checkbox]
  12.  * - exclude_from_category_filter [checkbox]
  13.  * - ubongo_exclude [checkbox]
  14.  * - additional_category [checkbox]
  15.  * - is_outlet_parent [checkbox]
  16.  * - new_in [checkbox]
  17.  * - sale [checkbox]
  18.  * - outlet [checkbox]
  19.  * - action [checkbox]
  20.  * - display_mode [select]
  21.  * - name [input]
  22.  * - seo_page_title [input]
  23.  * - seo_heading [input]
  24.  * - touchpoint_id [input]
  25.  * - default_sort_by [select]
  26.  * - description [textarea]
  27.  * - meta_title [input]
  28.  * - meta_keywords [input]
  29.  * - meta_description [input]
  30.  * - google_id [input]
  31.  * - zsdev_robots [input]
  32.  * - zsdev_canonical [input]
  33.  * - zsdev_include_in_sitemap [select]
  34.  * - zsdev_robots_pagination [input]
  35.  * - zsdev_canonical_pagination [input]
  36.  * - zsdev_include_in_sitemap_pagination [select]
  37.  * - zsdev_images_include_in_sitemap [select]
  38.  * - site [manyToOneRelation]
  39.  * - attribute_set [select]
  40.  * - special_title [input]
  41.  * - special_url [input]
  42.  * - shipping_level [select]
  43.  * - shipping_time [select]
  44.  * - image [image]
  45.  * - thumbnail [image]
  46.  */
  47. namespace Pimcore\Model\DataObject;
  48. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  49. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  50. /**
  51. * @method static \Pimcore\Model\DataObject\Category\Listing getList(array $config = [])
  52. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByEnabled($value, $limit = 0, $offset = 0, $objectTypes = null)
  53. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAnchor($value, $limit = 0, $offset = 0, $objectTypes = null)
  54. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByInclude_in_menu($value, $limit = 0, $offset = 0, $objectTypes = null)
  55. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByLayer_category_only($value, $limit = 0, $offset = 0, $objectTypes = null)
  56. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySearch_exclude($value, $limit = 0, $offset = 0, $objectTypes = null)
  57. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByExclude_from_category_filter($value, $limit = 0, $offset = 0, $objectTypes = null)
  58. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByUbongo_exclude($value, $limit = 0, $offset = 0, $objectTypes = null)
  59. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAdditional_category($value, $limit = 0, $offset = 0, $objectTypes = null)
  60. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByIs_outlet_parent($value, $limit = 0, $offset = 0, $objectTypes = null)
  61. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByNew_in($value, $limit = 0, $offset = 0, $objectTypes = null)
  62. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySale($value, $limit = 0, $offset = 0, $objectTypes = null)
  63. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByOutlet($value, $limit = 0, $offset = 0, $objectTypes = null)
  64. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAction($value, $limit = 0, $offset = 0, $objectTypes = null)
  65. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDisplay_mode($value, $limit = 0, $offset = 0, $objectTypes = null)
  66. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByName($value, $limit = 0, $offset = 0, $objectTypes = null)
  67. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySeo_page_title($value, $limit = 0, $offset = 0, $objectTypes = null)
  68. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySeo_heading($value, $limit = 0, $offset = 0, $objectTypes = null)
  69. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByTouchpoint_id($value, $limit = 0, $offset = 0, $objectTypes = null)
  70. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDefault_sort_by($value, $limit = 0, $offset = 0, $objectTypes = null)
  71. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByDescription($value, $limit = 0, $offset = 0, $objectTypes = null)
  72. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_title($value, $limit = 0, $offset = 0, $objectTypes = null)
  73. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_keywords($value, $limit = 0, $offset = 0, $objectTypes = null)
  74. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByMeta_description($value, $limit = 0, $offset = 0, $objectTypes = null)
  75. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByGoogle_id($value, $limit = 0, $offset = 0, $objectTypes = null)
  76. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_robots($value, $limit = 0, $offset = 0, $objectTypes = null)
  77. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_canonical($value, $limit = 0, $offset = 0, $objectTypes = null)
  78. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_include_in_sitemap($value, $limit = 0, $offset = 0, $objectTypes = null)
  79. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_robots_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
  80. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_canonical_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
  81. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_include_in_sitemap_pagination($value, $limit = 0, $offset = 0, $objectTypes = null)
  82. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByZsdev_images_include_in_sitemap($value, $limit = 0, $offset = 0, $objectTypes = null)
  83. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySite($value, $limit = 0, $offset = 0, $objectTypes = null)
  84. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByAttribute_set($value, $limit = 0, $offset = 0, $objectTypes = null)
  85. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySpecial_title($value, $limit = 0, $offset = 0, $objectTypes = null)
  86. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getBySpecial_url($value, $limit = 0, $offset = 0, $objectTypes = null)
  87. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByShipping_level($value, $limit = 0, $offset = 0, $objectTypes = null)
  88. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByShipping_time($value, $limit = 0, $offset = 0, $objectTypes = null)
  89. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByImage($value, $limit = 0, $offset = 0, $objectTypes = null)
  90. * @method static \Pimcore\Model\DataObject\Category\Listing|\Pimcore\Model\DataObject\Category|null getByThumbnail($value, $limit = 0, $offset = 0, $objectTypes = null)
  91. */
  92. class Category extends Concrete
  93. {
  94. protected $o_classId "5";
  95. protected $o_className "Category";
  96. protected $enabled;
  97. protected $anchor;
  98. protected $include_in_menu;
  99. protected $layer_category_only;
  100. protected $search_exclude;
  101. protected $exclude_from_category_filter;
  102. protected $ubongo_exclude;
  103. protected $additional_category;
  104. protected $is_outlet_parent;
  105. protected $new_in;
  106. protected $sale;
  107. protected $outlet;
  108. protected $action;
  109. protected $display_mode;
  110. protected $name;
  111. protected $seo_page_title;
  112. protected $seo_heading;
  113. protected $touchpoint_id;
  114. protected $default_sort_by;
  115. protected $description;
  116. protected $meta_title;
  117. protected $meta_keywords;
  118. protected $meta_description;
  119. protected $google_id;
  120. protected $zsdev_robots;
  121. protected $zsdev_canonical;
  122. protected $zsdev_include_in_sitemap;
  123. protected $zsdev_robots_pagination;
  124. protected $zsdev_canonical_pagination;
  125. protected $zsdev_include_in_sitemap_pagination;
  126. protected $zsdev_images_include_in_sitemap;
  127. protected $site;
  128. protected $attribute_set;
  129. protected $special_title;
  130. protected $special_url;
  131. protected $shipping_level;
  132. protected $shipping_time;
  133. protected $image;
  134. protected $thumbnail;
  135. /**
  136. * @param array $values
  137. * @return \Pimcore\Model\DataObject\Category
  138. */
  139. public static function create($values = array()) {
  140.     $object = new static();
  141.     $object->setValues($values);
  142.     return $object;
  143. }
  144. /**
  145. * Get enabled - Enabled
  146. * @return bool|null
  147. */
  148. public function getEnabled()
  149. {
  150.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  151.         $preValue $this->preGetValue("enabled");
  152.         if ($preValue !== null) {
  153.             return $preValue;
  154.         }
  155.     }
  156.     $data $this->enabled;
  157.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  158.         return $data->getPlain();
  159.     }
  160.     return $data;
  161. }
  162. /**
  163. * Set enabled - Enabled
  164. * @param bool|null $enabled
  165. * @return \Pimcore\Model\DataObject\Category
  166. */
  167. public function setEnabled($enabled)
  168. {
  169.     $this->enabled $enabled;
  170.     return $this;
  171. }
  172. /**
  173. * Get anchor - anchor
  174. * @return bool|null
  175. */
  176. public function getAnchor()
  177. {
  178.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  179.         $preValue $this->preGetValue("anchor");
  180.         if ($preValue !== null) {
  181.             return $preValue;
  182.         }
  183.     }
  184.     $data $this->anchor;
  185.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  186.         return $data->getPlain();
  187.     }
  188.     return $data;
  189. }
  190. /**
  191. * Set anchor - anchor
  192. * @param bool|null $anchor
  193. * @return \Pimcore\Model\DataObject\Category
  194. */
  195. public function setAnchor($anchor)
  196. {
  197.     $this->anchor $anchor;
  198.     return $this;
  199. }
  200. /**
  201. * Get include_in_menu - Uključi na meniu
  202. * @return bool|null
  203. */
  204. public function getInclude_in_menu()
  205. {
  206.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  207.         $preValue $this->preGetValue("include_in_menu");
  208.         if ($preValue !== null) {
  209.             return $preValue;
  210.         }
  211.     }
  212.     $data $this->include_in_menu;
  213.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  214.         return $data->getPlain();
  215.     }
  216.     return $data;
  217. }
  218. /**
  219. * Set include_in_menu - Uključi na meniu
  220. * @param bool|null $include_in_menu
  221. * @return \Pimcore\Model\DataObject\Category
  222. */
  223. public function setInclude_in_menu($include_in_menu)
  224. {
  225.     $this->include_in_menu $include_in_menu;
  226.     return $this;
  227. }
  228. /**
  229. * Get layer_category_only - Only Subcategories
  230. * @return bool|null
  231. */
  232. public function getLayer_category_only()
  233. {
  234.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  235.         $preValue $this->preGetValue("layer_category_only");
  236.         if ($preValue !== null) {
  237.             return $preValue;
  238.         }
  239.     }
  240.     $data $this->layer_category_only;
  241.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  242.         return $data->getPlain();
  243.     }
  244.     return $data;
  245. }
  246. /**
  247. * Set layer_category_only - Only Subcategories
  248. * @param bool|null $layer_category_only
  249. * @return \Pimcore\Model\DataObject\Category
  250. */
  251. public function setLayer_category_only($layer_category_only)
  252. {
  253.     $this->layer_category_only $layer_category_only;
  254.     return $this;
  255. }
  256. /**
  257. * Get search_exclude - Ne koristi na searchu
  258. * @return bool|null
  259. */
  260. public function getSearch_exclude()
  261. {
  262.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  263.         $preValue $this->preGetValue("search_exclude");
  264.         if ($preValue !== null) {
  265.             return $preValue;
  266.         }
  267.     }
  268.     $data $this->search_exclude;
  269.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  270.         return $data->getPlain();
  271.     }
  272.     return $data;
  273. }
  274. /**
  275. * Set search_exclude - Ne koristi na searchu
  276. * @param bool|null $search_exclude
  277. * @return \Pimcore\Model\DataObject\Category
  278. */
  279. public function setSearch_exclude($search_exclude)
  280. {
  281.     $this->search_exclude $search_exclude;
  282.     return $this;
  283. }
  284. /**
  285. * Get exclude_from_category_filter - Exclude from category filter
  286. * @return bool|null
  287. */
  288. public function getExclude_from_category_filter()
  289. {
  290.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  291.         $preValue $this->preGetValue("exclude_from_category_filter");
  292.         if ($preValue !== null) {
  293.             return $preValue;
  294.         }
  295.     }
  296.     $data $this->exclude_from_category_filter;
  297.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  298.         return $data->getPlain();
  299.     }
  300.     return $data;
  301. }
  302. /**
  303. * Set exclude_from_category_filter - Exclude from category filter
  304. * @param bool|null $exclude_from_category_filter
  305. * @return \Pimcore\Model\DataObject\Category
  306. */
  307. public function setExclude_from_category_filter($exclude_from_category_filter)
  308. {
  309.     $this->exclude_from_category_filter $exclude_from_category_filter;
  310.     return $this;
  311. }
  312. /**
  313. * Get ubongo_exclude - Ubongo exclude
  314. * @return bool|null
  315. */
  316. public function getUbongo_exclude()
  317. {
  318.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  319.         $preValue $this->preGetValue("ubongo_exclude");
  320.         if ($preValue !== null) {
  321.             return $preValue;
  322.         }
  323.     }
  324.     $data $this->ubongo_exclude;
  325.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  326.         return $data->getPlain();
  327.     }
  328.     return $data;
  329. }
  330. /**
  331. * Set ubongo_exclude - Ubongo exclude
  332. * @param bool|null $ubongo_exclude
  333. * @return \Pimcore\Model\DataObject\Category
  334. */
  335. public function setUbongo_exclude($ubongo_exclude)
  336. {
  337.     $this->ubongo_exclude $ubongo_exclude;
  338.     return $this;
  339. }
  340. /**
  341. * Get additional_category - Additional category
  342. * @return bool|null
  343. */
  344. public function getAdditional_category()
  345. {
  346.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  347.         $preValue $this->preGetValue("additional_category");
  348.         if ($preValue !== null) {
  349.             return $preValue;
  350.         }
  351.     }
  352.     $data $this->additional_category;
  353.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  354.         return $data->getPlain();
  355.     }
  356.     return $data;
  357. }
  358. /**
  359. * Set additional_category - Additional category
  360. * @param bool|null $additional_category
  361. * @return \Pimcore\Model\DataObject\Category
  362. */
  363. public function setAdditional_category($additional_category)
  364. {
  365.     $this->additional_category $additional_category;
  366.     return $this;
  367. }
  368. /**
  369. * Get is_outlet_parent - Outlet parent
  370. * @return bool|null
  371. */
  372. public function getIs_outlet_parent()
  373. {
  374.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  375.         $preValue $this->preGetValue("is_outlet_parent");
  376.         if ($preValue !== null) {
  377.             return $preValue;
  378.         }
  379.     }
  380.     $data $this->is_outlet_parent;
  381.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  382.         return $data->getPlain();
  383.     }
  384.     return $data;
  385. }
  386. /**
  387. * Set is_outlet_parent - Outlet parent
  388. * @param bool|null $is_outlet_parent
  389. * @return \Pimcore\Model\DataObject\Category
  390. */
  391. public function setIs_outlet_parent($is_outlet_parent)
  392. {
  393.     $this->is_outlet_parent $is_outlet_parent;
  394.     return $this;
  395. }
  396. /**
  397. * Get new_in - New in
  398. * @return bool|null
  399. */
  400. public function getNew_in()
  401. {
  402.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  403.         $preValue $this->preGetValue("new_in");
  404.         if ($preValue !== null) {
  405.             return $preValue;
  406.         }
  407.     }
  408.     $data $this->new_in;
  409.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  410.         return $data->getPlain();
  411.     }
  412.     return $data;
  413. }
  414. /**
  415. * Set new_in - New in
  416. * @param bool|null $new_in
  417. * @return \Pimcore\Model\DataObject\Category
  418. */
  419. public function setNew_in($new_in)
  420. {
  421.     $this->new_in $new_in;
  422.     return $this;
  423. }
  424. /**
  425. * Get sale - Sale
  426. * @return bool|null
  427. */
  428. public function getSale()
  429. {
  430.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  431.         $preValue $this->preGetValue("sale");
  432.         if ($preValue !== null) {
  433.             return $preValue;
  434.         }
  435.     }
  436.     $data $this->sale;
  437.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  438.         return $data->getPlain();
  439.     }
  440.     return $data;
  441. }
  442. /**
  443. * Set sale - Sale
  444. * @param bool|null $sale
  445. * @return \Pimcore\Model\DataObject\Category
  446. */
  447. public function setSale($sale)
  448. {
  449.     $this->sale $sale;
  450.     return $this;
  451. }
  452. /**
  453. * Get outlet - Outlet
  454. * @return bool|null
  455. */
  456. public function getOutlet()
  457. {
  458.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  459.         $preValue $this->preGetValue("outlet");
  460.         if ($preValue !== null) {
  461.             return $preValue;
  462.         }
  463.     }
  464.     $data $this->outlet;
  465.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  466.         return $data->getPlain();
  467.     }
  468.     return $data;
  469. }
  470. /**
  471. * Set outlet - Outlet
  472. * @param bool|null $outlet
  473. * @return \Pimcore\Model\DataObject\Category
  474. */
  475. public function setOutlet($outlet)
  476. {
  477.     $this->outlet $outlet;
  478.     return $this;
  479. }
  480. /**
  481. * Get action - Action
  482. * @return bool|null
  483. */
  484. public function getAction()
  485. {
  486.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  487.         $preValue $this->preGetValue("action");
  488.         if ($preValue !== null) {
  489.             return $preValue;
  490.         }
  491.     }
  492.     $data $this->action;
  493.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  494.         return $data->getPlain();
  495.     }
  496.     return $data;
  497. }
  498. /**
  499. * Set action - Action
  500. * @param bool|null $action
  501. * @return \Pimcore\Model\DataObject\Category
  502. */
  503. public function setAction($action)
  504. {
  505.     $this->action $action;
  506.     return $this;
  507. }
  508. /**
  509. * Get display_mode - Display mode
  510. * @return string|null
  511. */
  512. public function getDisplay_mode()
  513. {
  514.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  515.         $preValue $this->preGetValue("display_mode");
  516.         if ($preValue !== null) {
  517.             return $preValue;
  518.         }
  519.     }
  520.     $data $this->display_mode;
  521.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  522.         return $data->getPlain();
  523.     }
  524.     return $data;
  525. }
  526. /**
  527. * Set display_mode - Display mode
  528. * @param string|null $display_mode
  529. * @return \Pimcore\Model\DataObject\Category
  530. */
  531. public function setDisplay_mode($display_mode)
  532. {
  533.     $this->display_mode $display_mode;
  534.     return $this;
  535. }
  536. /**
  537. * Get name - Ime
  538. * @return string|null
  539. */
  540. public function getName()
  541. {
  542.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  543.         $preValue $this->preGetValue("name");
  544.         if ($preValue !== null) {
  545.             return $preValue;
  546.         }
  547.     }
  548.     $data $this->name;
  549.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  550.         return $data->getPlain();
  551.     }
  552.     return $data;
  553. }
  554. /**
  555. * Set name - Ime
  556. * @param string|null $name
  557. * @return \Pimcore\Model\DataObject\Category
  558. */
  559. public function setName($name)
  560. {
  561.     $this->name $name;
  562.     return $this;
  563. }
  564. /**
  565. * Get seo_page_title - SEO Page Title
  566. * @return string|null
  567. */
  568. public function getSeo_page_title()
  569. {
  570.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  571.         $preValue $this->preGetValue("seo_page_title");
  572.         if ($preValue !== null) {
  573.             return $preValue;
  574.         }
  575.     }
  576.     $data $this->seo_page_title;
  577.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  578.         return $data->getPlain();
  579.     }
  580.     return $data;
  581. }
  582. /**
  583. * Set seo_page_title - SEO Page Title
  584. * @param string|null $seo_page_title
  585. * @return \Pimcore\Model\DataObject\Category
  586. */
  587. public function setSeo_page_title($seo_page_title)
  588. {
  589.     $this->seo_page_title $seo_page_title;
  590.     return $this;
  591. }
  592. /**
  593. * Get seo_heading - SEO H1 heading
  594. * @return string|null
  595. */
  596. public function getSeo_heading()
  597. {
  598.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  599.         $preValue $this->preGetValue("seo_heading");
  600.         if ($preValue !== null) {
  601.             return $preValue;
  602.         }
  603.     }
  604.     $data $this->seo_heading;
  605.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  606.         return $data->getPlain();
  607.     }
  608.     return $data;
  609. }
  610. /**
  611. * Set seo_heading - SEO H1 heading
  612. * @param string|null $seo_heading
  613. * @return \Pimcore\Model\DataObject\Category
  614. */
  615. public function setSeo_heading($seo_heading)
  616. {
  617.     $this->seo_heading $seo_heading;
  618.     return $this;
  619. }
  620. /**
  621. * Get touchpoint_id - Touchpoint  id
  622. * @return string|null
  623. */
  624. public function getTouchpoint_id()
  625. {
  626.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  627.         $preValue $this->preGetValue("touchpoint_id");
  628.         if ($preValue !== null) {
  629.             return $preValue;
  630.         }
  631.     }
  632.     $data $this->touchpoint_id;
  633.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  634.         return $data->getPlain();
  635.     }
  636.     return $data;
  637. }
  638. /**
  639. * Set touchpoint_id - Touchpoint  id
  640. * @param string|null $touchpoint_id
  641. * @return \Pimcore\Model\DataObject\Category
  642. */
  643. public function setTouchpoint_id($touchpoint_id)
  644. {
  645.     $this->touchpoint_id $touchpoint_id;
  646.     return $this;
  647. }
  648. /**
  649. * Get default_sort_by - Difoltno sortiranje po
  650. * @return string|null
  651. */
  652. public function getDefault_sort_by()
  653. {
  654.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  655.         $preValue $this->preGetValue("default_sort_by");
  656.         if ($preValue !== null) {
  657.             return $preValue;
  658.         }
  659.     }
  660.     $data $this->default_sort_by;
  661.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  662.         return $data->getPlain();
  663.     }
  664.     return $data;
  665. }
  666. /**
  667. * Set default_sort_by - Difoltno sortiranje po
  668. * @param string|null $default_sort_by
  669. * @return \Pimcore\Model\DataObject\Category
  670. */
  671. public function setDefault_sort_by($default_sort_by)
  672. {
  673.     $this->default_sort_by $default_sort_by;
  674.     return $this;
  675. }
  676. /**
  677. * Get description - Opis
  678. * @return string|null
  679. */
  680. public function getDescription()
  681. {
  682.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  683.         $preValue $this->preGetValue("description");
  684.         if ($preValue !== null) {
  685.             return $preValue;
  686.         }
  687.     }
  688.     $data $this->description;
  689.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  690.         return $data->getPlain();
  691.     }
  692.     return $data;
  693. }
  694. /**
  695. * Set description - Opis
  696. * @param string|null $description
  697. * @return \Pimcore\Model\DataObject\Category
  698. */
  699. public function setDescription($description)
  700. {
  701.     $this->description $description;
  702.     return $this;
  703. }
  704. /**
  705. * Get meta_title - Meta title
  706. * @return string|null
  707. */
  708. public function getMeta_title()
  709. {
  710.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  711.         $preValue $this->preGetValue("meta_title");
  712.         if ($preValue !== null) {
  713.             return $preValue;
  714.         }
  715.     }
  716.     $data $this->meta_title;
  717.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  718.         return $data->getPlain();
  719.     }
  720.     return $data;
  721. }
  722. /**
  723. * Set meta_title - Meta title
  724. * @param string|null $meta_title
  725. * @return \Pimcore\Model\DataObject\Category
  726. */
  727. public function setMeta_title($meta_title)
  728. {
  729.     $this->meta_title $meta_title;
  730.     return $this;
  731. }
  732. /**
  733. * Get meta_keywords - Meta keywords
  734. * @return string|null
  735. */
  736. public function getMeta_keywords()
  737. {
  738.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  739.         $preValue $this->preGetValue("meta_keywords");
  740.         if ($preValue !== null) {
  741.             return $preValue;
  742.         }
  743.     }
  744.     $data $this->meta_keywords;
  745.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  746.         return $data->getPlain();
  747.     }
  748.     return $data;
  749. }
  750. /**
  751. * Set meta_keywords - Meta keywords
  752. * @param string|null $meta_keywords
  753. * @return \Pimcore\Model\DataObject\Category
  754. */
  755. public function setMeta_keywords($meta_keywords)
  756. {
  757.     $this->meta_keywords $meta_keywords;
  758.     return $this;
  759. }
  760. /**
  761. * Get meta_description - Meta description
  762. * @return string|null
  763. */
  764. public function getMeta_description()
  765. {
  766.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  767.         $preValue $this->preGetValue("meta_description");
  768.         if ($preValue !== null) {
  769.             return $preValue;
  770.         }
  771.     }
  772.     $data $this->meta_description;
  773.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  774.         return $data->getPlain();
  775.     }
  776.     return $data;
  777. }
  778. /**
  779. * Set meta_description - Meta description
  780. * @param string|null $meta_description
  781. * @return \Pimcore\Model\DataObject\Category
  782. */
  783. public function setMeta_description($meta_description)
  784. {
  785.     $this->meta_description $meta_description;
  786.     return $this;
  787. }
  788. /**
  789. * Get google_id - Google ID
  790. * @return string|null
  791. */
  792. public function getGoogle_id()
  793. {
  794.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  795.         $preValue $this->preGetValue("google_id");
  796.         if ($preValue !== null) {
  797.             return $preValue;
  798.         }
  799.     }
  800.     $data $this->google_id;
  801.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  802.         return $data->getPlain();
  803.     }
  804.     return $data;
  805. }
  806. /**
  807. * Set google_id - Google ID
  808. * @param string|null $google_id
  809. * @return \Pimcore\Model\DataObject\Category
  810. */
  811. public function setGoogle_id($google_id)
  812. {
  813.     $this->google_id $google_id;
  814.     return $this;
  815. }
  816. /**
  817. * Get zsdev_robots - Robots
  818. * @return string|null
  819. */
  820. public function getZsdev_robots()
  821. {
  822.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  823.         $preValue $this->preGetValue("zsdev_robots");
  824.         if ($preValue !== null) {
  825.             return $preValue;
  826.         }
  827.     }
  828.     $data $this->zsdev_robots;
  829.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  830.         return $data->getPlain();
  831.     }
  832.     return $data;
  833. }
  834. /**
  835. * Set zsdev_robots - Robots
  836. * @param string|null $zsdev_robots
  837. * @return \Pimcore\Model\DataObject\Category
  838. */
  839. public function setZsdev_robots($zsdev_robots)
  840. {
  841.     $this->zsdev_robots $zsdev_robots;
  842.     return $this;
  843. }
  844. /**
  845. * Get zsdev_canonical - Canonical
  846. * @return string|null
  847. */
  848. public function getZsdev_canonical()
  849. {
  850.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  851.         $preValue $this->preGetValue("zsdev_canonical");
  852.         if ($preValue !== null) {
  853.             return $preValue;
  854.         }
  855.     }
  856.     $data $this->zsdev_canonical;
  857.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  858.         return $data->getPlain();
  859.     }
  860.     return $data;
  861. }
  862. /**
  863. * Set zsdev_canonical - Canonical
  864. * @param string|null $zsdev_canonical
  865. * @return \Pimcore\Model\DataObject\Category
  866. */
  867. public function setZsdev_canonical($zsdev_canonical)
  868. {
  869.     $this->zsdev_canonical $zsdev_canonical;
  870.     return $this;
  871. }
  872. /**
  873. * Get zsdev_include_in_sitemap - Include in sitemap
  874. * @return string|null
  875. */
  876. public function getZsdev_include_in_sitemap()
  877. {
  878.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  879.         $preValue $this->preGetValue("zsdev_include_in_sitemap");
  880.         if ($preValue !== null) {
  881.             return $preValue;
  882.         }
  883.     }
  884.     $data $this->zsdev_include_in_sitemap;
  885.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  886.         return $data->getPlain();
  887.     }
  888.     return $data;
  889. }
  890. /**
  891. * Set zsdev_include_in_sitemap - Include in sitemap
  892. * @param string|null $zsdev_include_in_sitemap
  893. * @return \Pimcore\Model\DataObject\Category
  894. */
  895. public function setZsdev_include_in_sitemap($zsdev_include_in_sitemap)
  896. {
  897.     $this->zsdev_include_in_sitemap $zsdev_include_in_sitemap;
  898.     return $this;
  899. }
  900. /**
  901. * Get zsdev_robots_pagination - Robots (pagination)
  902. * @return string|null
  903. */
  904. public function getZsdev_robots_pagination()
  905. {
  906.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  907.         $preValue $this->preGetValue("zsdev_robots_pagination");
  908.         if ($preValue !== null) {
  909.             return $preValue;
  910.         }
  911.     }
  912.     $data $this->zsdev_robots_pagination;
  913.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  914.         return $data->getPlain();
  915.     }
  916.     return $data;
  917. }
  918. /**
  919. * Set zsdev_robots_pagination - Robots (pagination)
  920. * @param string|null $zsdev_robots_pagination
  921. * @return \Pimcore\Model\DataObject\Category
  922. */
  923. public function setZsdev_robots_pagination($zsdev_robots_pagination)
  924. {
  925.     $this->zsdev_robots_pagination $zsdev_robots_pagination;
  926.     return $this;
  927. }
  928. /**
  929. * Get zsdev_canonical_pagination - Canonical (pagination)
  930. * @return string|null
  931. */
  932. public function getZsdev_canonical_pagination()
  933. {
  934.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  935.         $preValue $this->preGetValue("zsdev_canonical_pagination");
  936.         if ($preValue !== null) {
  937.             return $preValue;
  938.         }
  939.     }
  940.     $data $this->zsdev_canonical_pagination;
  941.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  942.         return $data->getPlain();
  943.     }
  944.     return $data;
  945. }
  946. /**
  947. * Set zsdev_canonical_pagination - Canonical (pagination)
  948. * @param string|null $zsdev_canonical_pagination
  949. * @return \Pimcore\Model\DataObject\Category
  950. */
  951. public function setZsdev_canonical_pagination($zsdev_canonical_pagination)
  952. {
  953.     $this->zsdev_canonical_pagination $zsdev_canonical_pagination;
  954.     return $this;
  955. }
  956. /**
  957. * Get zsdev_include_in_sitemap_pagination - Include in sitemap (pagination)
  958. * @return string|null
  959. */
  960. public function getZsdev_include_in_sitemap_pagination()
  961. {
  962.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  963.         $preValue $this->preGetValue("zsdev_include_in_sitemap_pagination");
  964.         if ($preValue !== null) {
  965.             return $preValue;
  966.         }
  967.     }
  968.     $data $this->zsdev_include_in_sitemap_pagination;
  969.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  970.         return $data->getPlain();
  971.     }
  972.     return $data;
  973. }
  974. /**
  975. * Set zsdev_include_in_sitemap_pagination - Include in sitemap (pagination)
  976. * @param string|null $zsdev_include_in_sitemap_pagination
  977. * @return \Pimcore\Model\DataObject\Category
  978. */
  979. public function setZsdev_include_in_sitemap_pagination($zsdev_include_in_sitemap_pagination)
  980. {
  981.     $this->zsdev_include_in_sitemap_pagination $zsdev_include_in_sitemap_pagination;
  982.     return $this;
  983. }
  984. /**
  985. * Get zsdev_images_include_in_sitemap - Include images in sitemap
  986. * @return string|null
  987. */
  988. public function getZsdev_images_include_in_sitemap()
  989. {
  990.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  991.         $preValue $this->preGetValue("zsdev_images_include_in_sitemap");
  992.         if ($preValue !== null) {
  993.             return $preValue;
  994.         }
  995.     }
  996.     $data $this->zsdev_images_include_in_sitemap;
  997.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  998.         return $data->getPlain();
  999.     }
  1000.     return $data;
  1001. }
  1002. /**
  1003. * Set zsdev_images_include_in_sitemap - Include images in sitemap
  1004. * @param string|null $zsdev_images_include_in_sitemap
  1005. * @return \Pimcore\Model\DataObject\Category
  1006. */
  1007. public function setZsdev_images_include_in_sitemap($zsdev_images_include_in_sitemap)
  1008. {
  1009.     $this->zsdev_images_include_in_sitemap $zsdev_images_include_in_sitemap;
  1010.     return $this;
  1011. }
  1012. /**
  1013. * Get site - Site
  1014. * @return \Pimcore\Model\DataObject\Site|null
  1015. */
  1016. public function getSite()
  1017. {
  1018.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1019.         $preValue $this->preGetValue("site");
  1020.         if ($preValue !== null) {
  1021.             return $preValue;
  1022.         }
  1023.     }
  1024.     $data $this->getClass()->getFieldDefinition("site")->preGetData($this);
  1025.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1026.         return $data->getPlain();
  1027.     }
  1028.     return $data;
  1029. }
  1030. /**
  1031. * Set site - Site
  1032. * @param \Pimcore\Model\DataObject\Site|null $site
  1033. * @return \Pimcore\Model\DataObject\Category
  1034. */
  1035. public function setSite($site)
  1036. {
  1037.     /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToOneRelation $fd */
  1038.     $fd $this->getClass()->getFieldDefinition("site");
  1039.     $hideUnpublished \Pimcore\Model\DataObject\Concrete::getHideUnpublished();
  1040.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false);
  1041.     $currentData $this->getSite();
  1042.     \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished);
  1043.     $isEqual $fd->isEqual($currentData$site);
  1044.     if (!$isEqual) {
  1045.         $this->markFieldDirty("site"true);
  1046.     }
  1047.     $this->site $fd->preSetData($this$site);
  1048.     return $this;
  1049. }
  1050. /**
  1051. * Get attribute_set - Attribute set
  1052. * @return string|null
  1053. */
  1054. public function getAttribute_set()
  1055. {
  1056.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1057.         $preValue $this->preGetValue("attribute_set");
  1058.         if ($preValue !== null) {
  1059.             return $preValue;
  1060.         }
  1061.     }
  1062.     $data $this->attribute_set;
  1063.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1064.         return $data->getPlain();
  1065.     }
  1066.     return $data;
  1067. }
  1068. /**
  1069. * Set attribute_set - Attribute set
  1070. * @param string|null $attribute_set
  1071. * @return \Pimcore\Model\DataObject\Category
  1072. */
  1073. public function setAttribute_set($attribute_set)
  1074. {
  1075.     $this->attribute_set $attribute_set;
  1076.     return $this;
  1077. }
  1078. /**
  1079. * Get special_title - Special title
  1080. * @return string|null
  1081. */
  1082. public function getSpecial_title()
  1083. {
  1084.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1085.         $preValue $this->preGetValue("special_title");
  1086.         if ($preValue !== null) {
  1087.             return $preValue;
  1088.         }
  1089.     }
  1090.     $data $this->special_title;
  1091.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1092.         return $data->getPlain();
  1093.     }
  1094.     return $data;
  1095. }
  1096. /**
  1097. * Set special_title - Special title
  1098. * @param string|null $special_title
  1099. * @return \Pimcore\Model\DataObject\Category
  1100. */
  1101. public function setSpecial_title($special_title)
  1102. {
  1103.     $this->special_title $special_title;
  1104.     return $this;
  1105. }
  1106. /**
  1107. * Get special_url - Special URL
  1108. * @return string|null
  1109. */
  1110. public function getSpecial_url()
  1111. {
  1112.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1113.         $preValue $this->preGetValue("special_url");
  1114.         if ($preValue !== null) {
  1115.             return $preValue;
  1116.         }
  1117.     }
  1118.     $data $this->special_url;
  1119.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1120.         return $data->getPlain();
  1121.     }
  1122.     return $data;
  1123. }
  1124. /**
  1125. * Set special_url - Special URL
  1126. * @param string|null $special_url
  1127. * @return \Pimcore\Model\DataObject\Category
  1128. */
  1129. public function setSpecial_url($special_url)
  1130. {
  1131.     $this->special_url $special_url;
  1132.     return $this;
  1133. }
  1134. /**
  1135. * Get shipping_level - Shipping level
  1136. * @return string|null
  1137. */
  1138. public function getShipping_level()
  1139. {
  1140.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1141.         $preValue $this->preGetValue("shipping_level");
  1142.         if ($preValue !== null) {
  1143.             return $preValue;
  1144.         }
  1145.     }
  1146.     $data $this->shipping_level;
  1147.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1148.         return $data->getPlain();
  1149.     }
  1150.     return $data;
  1151. }
  1152. /**
  1153. * Set shipping_level - Shipping level
  1154. * @param string|null $shipping_level
  1155. * @return \Pimcore\Model\DataObject\Category
  1156. */
  1157. public function setShipping_level($shipping_level)
  1158. {
  1159.     $this->shipping_level $shipping_level;
  1160.     return $this;
  1161. }
  1162. /**
  1163. * Get shipping_time - Shipping time
  1164. * @return string|null
  1165. */
  1166. public function getShipping_time()
  1167. {
  1168.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1169.         $preValue $this->preGetValue("shipping_time");
  1170.         if ($preValue !== null) {
  1171.             return $preValue;
  1172.         }
  1173.     }
  1174.     $data $this->shipping_time;
  1175.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1176.         return $data->getPlain();
  1177.     }
  1178.     return $data;
  1179. }
  1180. /**
  1181. * Set shipping_time - Shipping time
  1182. * @param string|null $shipping_time
  1183. * @return \Pimcore\Model\DataObject\Category
  1184. */
  1185. public function setShipping_time($shipping_time)
  1186. {
  1187.     $this->shipping_time $shipping_time;
  1188.     return $this;
  1189. }
  1190. /**
  1191. * Get image - Glavna slika
  1192. * @return \Pimcore\Model\Asset\Image|null
  1193. */
  1194. public function getImage()
  1195. {
  1196.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1197.         $preValue $this->preGetValue("image");
  1198.         if ($preValue !== null) {
  1199.             return $preValue;
  1200.         }
  1201.     }
  1202.     $data $this->image;
  1203.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1204.         return $data->getPlain();
  1205.     }
  1206.     return $data;
  1207. }
  1208. /**
  1209. * Set image - Glavna slika
  1210. * @param \Pimcore\Model\Asset\Image|null $image
  1211. * @return \Pimcore\Model\DataObject\Category
  1212. */
  1213. public function setImage($image)
  1214. {
  1215.     $this->image $image;
  1216.     return $this;
  1217. }
  1218. /**
  1219. * Get thumbnail - Thumbnail
  1220. * @return \Pimcore\Model\Asset\Image|null
  1221. */
  1222. public function getThumbnail()
  1223. {
  1224.     if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
  1225.         $preValue $this->preGetValue("thumbnail");
  1226.         if ($preValue !== null) {
  1227.             return $preValue;
  1228.         }
  1229.     }
  1230.     $data $this->thumbnail;
  1231.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  1232.         return $data->getPlain();
  1233.     }
  1234.     return $data;
  1235. }
  1236. /**
  1237. * Set thumbnail - Thumbnail
  1238. * @param \Pimcore\Model\Asset\Image|null $thumbnail
  1239. * @return \Pimcore\Model\DataObject\Category
  1240. */
  1241. public function setThumbnail($thumbnail)
  1242. {
  1243.     $this->thumbnail $thumbnail;
  1244.     return $this;
  1245. }
  1246. }