var/classes/DataObject/FilterDefinition.php line 46

Open in your IDE?
  1. <?php 
  2. /** 
  3. * Generated at: 2020-01-22T14:56:20+01:00
  4. * Inheritance: yes
  5. * Variants: no
  6. Fields Summary: 
  7. - pageLimit [numeric]
  8. - defaultOrderByInheritance [select]
  9. - defaultOrderBy [fieldcollections]
  10. - orderByAsc [indexFieldSelectionField]
  11. - orderByDesc [indexFieldSelectionField]
  12. - ajaxReload [checkbox]
  13. - infiniteScroll [checkbox]
  14. - limitOnFirstLoad [numeric]
  15. - conditionsInheritance [select]
  16. - conditions [fieldcollections]
  17. - filtersInheritance [select]
  18. - filters [fieldcollections]
  19. - crossSellingCategory [manyToOneRelation]
  20. - similarityFieldsInheritance [select]
  21. - similarityFields [fieldcollections]
  22. */ 
  23. namespace Pimcore\Model\DataObject;
  24. use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
  25. use Pimcore\Model\DataObject\PreGetValueHookInterface;
  26. /**
  27. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByPageLimit ($value, $limit = 0) 
  28. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByDefaultOrderByInheritance ($value, $limit = 0) 
  29. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByOrderByAsc ($value, $limit = 0) 
  30. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByOrderByDesc ($value, $limit = 0) 
  31. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByAjaxReload ($value, $limit = 0) 
  32. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByInfiniteScroll ($value, $limit = 0) 
  33. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByLimitOnFirstLoad ($value, $limit = 0) 
  34. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByConditionsInheritance ($value, $limit = 0) 
  35. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByFiltersInheritance ($value, $limit = 0) 
  36. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getByCrossSellingCategory ($value, $limit = 0) 
  37. * @method static \Pimcore\Model\DataObject\FilterDefinition\Listing|\Pimcore\Model\DataObject\FilterDefinition getBySimilarityFieldsInheritance ($value, $limit = 0) 
  38. */
  39. class FilterDefinition extends \Pimcore\Bundle\EcommerceFrameworkBundle\Model\AbstractFilterDefinition implements \Pimcore\Model\DataObject\DirtyIndicatorInterface {
  40. use \Pimcore\Model\DataObject\Traits\DirtyIndicatorTrait;
  41. protected $o_classId "EF_FD";
  42. protected $o_className "FilterDefinition";
  43. protected $pageLimit;
  44. protected $defaultOrderByInheritance;
  45. protected $defaultOrderBy;
  46. protected $orderByAsc;
  47. protected $orderByDesc;
  48. protected $ajaxReload;
  49. protected $infiniteScroll;
  50. protected $limitOnFirstLoad;
  51. protected $conditionsInheritance;
  52. protected $conditions;
  53. protected $filtersInheritance;
  54. protected $filters;
  55. protected $crossSellingCategory;
  56. protected $similarityFieldsInheritance;
  57. protected $similarityFields;
  58. /**
  59. * @param array $values
  60. * @return \Pimcore\Model\DataObject\FilterDefinition
  61. */
  62. public static function create($values = array()) {
  63.     $object = new static();
  64.     $object->setValues($values);
  65.     return $object;
  66. }
  67. /**
  68. * Get pageLimit - Results per Page
  69. * @return float
  70. */
  71. public function getPageLimit () {
  72.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  73.         $preValue $this->preGetValue("pageLimit"); 
  74.         if($preValue !== null) { 
  75.             return $preValue;
  76.         }
  77.     } 
  78.     $data $this->pageLimit;
  79.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("pageLimit")->isEmpty($data)) {
  80.         try {
  81.             return $this->getValueFromParent("pageLimit");
  82.         } catch (InheritanceParentNotFoundException $e) {
  83.             // no data from parent available, continue ... 
  84.         }
  85.     }
  86.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  87.             return $data->getPlain();
  88.     }
  89.     return $data;
  90. }
  91. /**
  92. * Set pageLimit - Results per Page
  93. * @param float $pageLimit
  94. * @return \Pimcore\Model\DataObject\FilterDefinition
  95. */
  96. public function setPageLimit ($pageLimit) {
  97.     $fd $this->getClass()->getFieldDefinition("pageLimit");
  98.     $this->pageLimit $fd->preSetData($this$pageLimit);
  99.     return $this;
  100. }
  101. /**
  102. * Get defaultOrderByInheritance - inherit Default OrderBy
  103. * @return string
  104. */
  105. public function getDefaultOrderByInheritance () {
  106.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  107.         $preValue $this->preGetValue("defaultOrderByInheritance"); 
  108.         if($preValue !== null) { 
  109.             return $preValue;
  110.         }
  111.     } 
  112.     $data $this->defaultOrderByInheritance;
  113.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("defaultOrderByInheritance")->isEmpty($data)) {
  114.         try {
  115.             return $this->getValueFromParent("defaultOrderByInheritance");
  116.         } catch (InheritanceParentNotFoundException $e) {
  117.             // no data from parent available, continue ... 
  118.         }
  119.     }
  120.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  121.             return $data->getPlain();
  122.     }
  123.     return $data;
  124. }
  125. /**
  126. * Set defaultOrderByInheritance - inherit Default OrderBy
  127. * @param string $defaultOrderByInheritance
  128. * @return \Pimcore\Model\DataObject\FilterDefinition
  129. */
  130. public function setDefaultOrderByInheritance ($defaultOrderByInheritance) {
  131.     $fd $this->getClass()->getFieldDefinition("defaultOrderByInheritance");
  132.     $this->defaultOrderByInheritance $defaultOrderByInheritance;
  133.     return $this;
  134. }
  135. /**
  136. * @return \Pimcore\Model\DataObject\Fieldcollection
  137. */
  138. public function getDefaultOrderBy () {
  139.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  140.         $preValue $this->preGetValue("defaultOrderBy"); 
  141.         if($preValue !== null) { 
  142.             return $preValue;
  143.         }
  144.     } 
  145.     $data $this->getClass()->getFieldDefinition("defaultOrderBy")->preGetData($this);
  146.      return $data;
  147. }
  148. /**
  149. * Set defaultOrderBy - Default OrderBy
  150. * @param \Pimcore\Model\DataObject\Fieldcollection $defaultOrderBy
  151. * @return \Pimcore\Model\DataObject\FilterDefinition
  152. */
  153. public function setDefaultOrderBy ($defaultOrderBy) {
  154.     $fd $this->getClass()->getFieldDefinition("defaultOrderBy");
  155.     $this->defaultOrderBy $fd->preSetData($this$defaultOrderBy);
  156.     return $this;
  157. }
  158. /**
  159. * Get orderByAsc - OrderBy
  160. * @return string
  161. */
  162. public function getOrderByAsc () {
  163.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  164.         $preValue $this->preGetValue("orderByAsc"); 
  165.         if($preValue !== null) { 
  166.             return $preValue;
  167.         }
  168.     } 
  169.     $data $this->orderByAsc;
  170.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("orderByAsc")->isEmpty($data)) {
  171.         try {
  172.             return $this->getValueFromParent("orderByAsc");
  173.         } catch (InheritanceParentNotFoundException $e) {
  174.             // no data from parent available, continue ... 
  175.         }
  176.     }
  177.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  178.             return $data->getPlain();
  179.     }
  180.     return $data;
  181. }
  182. /**
  183. * Set orderByAsc - OrderBy
  184. * @param string $orderByAsc
  185. * @return \Pimcore\Model\DataObject\FilterDefinition
  186. */
  187. public function setOrderByAsc ($orderByAsc) {
  188.     $fd $this->getClass()->getFieldDefinition("orderByAsc");
  189.     $this->orderByAsc $orderByAsc;
  190.     return $this;
  191. }
  192. /**
  193. * Get orderByDesc - OrderBy Descending
  194. * @return string
  195. */
  196. public function getOrderByDesc () {
  197.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  198.         $preValue $this->preGetValue("orderByDesc"); 
  199.         if($preValue !== null) { 
  200.             return $preValue;
  201.         }
  202.     } 
  203.     $data $this->orderByDesc;
  204.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("orderByDesc")->isEmpty($data)) {
  205.         try {
  206.             return $this->getValueFromParent("orderByDesc");
  207.         } catch (InheritanceParentNotFoundException $e) {
  208.             // no data from parent available, continue ... 
  209.         }
  210.     }
  211.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  212.             return $data->getPlain();
  213.     }
  214.     return $data;
  215. }
  216. /**
  217. * Set orderByDesc - OrderBy Descending
  218. * @param string $orderByDesc
  219. * @return \Pimcore\Model\DataObject\FilterDefinition
  220. */
  221. public function setOrderByDesc ($orderByDesc) {
  222.     $fd $this->getClass()->getFieldDefinition("orderByDesc");
  223.     $this->orderByDesc $orderByDesc;
  224.     return $this;
  225. }
  226. /**
  227. * Get ajaxReload - ajaxReload
  228. * @return boolean
  229. */
  230. public function getAjaxReload () {
  231.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  232.         $preValue $this->preGetValue("ajaxReload"); 
  233.         if($preValue !== null) { 
  234.             return $preValue;
  235.         }
  236.     } 
  237.     $data $this->ajaxReload;
  238.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("ajaxReload")->isEmpty($data)) {
  239.         try {
  240.             return $this->getValueFromParent("ajaxReload");
  241.         } catch (InheritanceParentNotFoundException $e) {
  242.             // no data from parent available, continue ... 
  243.         }
  244.     }
  245.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  246.             return $data->getPlain();
  247.     }
  248.     return $data;
  249. }
  250. /**
  251. * Set ajaxReload - ajaxReload
  252. * @param boolean $ajaxReload
  253. * @return \Pimcore\Model\DataObject\FilterDefinition
  254. */
  255. public function setAjaxReload ($ajaxReload) {
  256.     $fd $this->getClass()->getFieldDefinition("ajaxReload");
  257.     $this->ajaxReload $ajaxReload;
  258.     return $this;
  259. }
  260. /**
  261. * Get infiniteScroll - Infinite Scroll
  262. * @return boolean
  263. */
  264. public function getInfiniteScroll () {
  265.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  266.         $preValue $this->preGetValue("infiniteScroll"); 
  267.         if($preValue !== null) { 
  268.             return $preValue;
  269.         }
  270.     } 
  271.     $data $this->infiniteScroll;
  272.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("infiniteScroll")->isEmpty($data)) {
  273.         try {
  274.             return $this->getValueFromParent("infiniteScroll");
  275.         } catch (InheritanceParentNotFoundException $e) {
  276.             // no data from parent available, continue ... 
  277.         }
  278.     }
  279.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  280.             return $data->getPlain();
  281.     }
  282.     return $data;
  283. }
  284. /**
  285. * Set infiniteScroll - Infinite Scroll
  286. * @param boolean $infiniteScroll
  287. * @return \Pimcore\Model\DataObject\FilterDefinition
  288. */
  289. public function setInfiniteScroll ($infiniteScroll) {
  290.     $fd $this->getClass()->getFieldDefinition("infiniteScroll");
  291.     $this->infiniteScroll $infiniteScroll;
  292.     return $this;
  293. }
  294. /**
  295. * Get limitOnFirstLoad - Limit on First Load
  296. * @return float
  297. */
  298. public function getLimitOnFirstLoad () {
  299.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  300.         $preValue $this->preGetValue("limitOnFirstLoad"); 
  301.         if($preValue !== null) { 
  302.             return $preValue;
  303.         }
  304.     } 
  305.     $data $this->limitOnFirstLoad;
  306.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("limitOnFirstLoad")->isEmpty($data)) {
  307.         try {
  308.             return $this->getValueFromParent("limitOnFirstLoad");
  309.         } catch (InheritanceParentNotFoundException $e) {
  310.             // no data from parent available, continue ... 
  311.         }
  312.     }
  313.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  314.             return $data->getPlain();
  315.     }
  316.     return $data;
  317. }
  318. /**
  319. * Set limitOnFirstLoad - Limit on First Load
  320. * @param float $limitOnFirstLoad
  321. * @return \Pimcore\Model\DataObject\FilterDefinition
  322. */
  323. public function setLimitOnFirstLoad ($limitOnFirstLoad) {
  324.     $fd $this->getClass()->getFieldDefinition("limitOnFirstLoad");
  325.     $this->limitOnFirstLoad $fd->preSetData($this$limitOnFirstLoad);
  326.     return $this;
  327. }
  328. /**
  329. * Get conditionsInheritance - inherit Conditions
  330. * @return string
  331. */
  332. public function getConditionsInheritance () {
  333.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  334.         $preValue $this->preGetValue("conditionsInheritance"); 
  335.         if($preValue !== null) { 
  336.             return $preValue;
  337.         }
  338.     } 
  339.     $data $this->conditionsInheritance;
  340.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("conditionsInheritance")->isEmpty($data)) {
  341.         try {
  342.             return $this->getValueFromParent("conditionsInheritance");
  343.         } catch (InheritanceParentNotFoundException $e) {
  344.             // no data from parent available, continue ... 
  345.         }
  346.     }
  347.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  348.             return $data->getPlain();
  349.     }
  350.     return $data;
  351. }
  352. /**
  353. * Set conditionsInheritance - inherit Conditions
  354. * @param string $conditionsInheritance
  355. * @return \Pimcore\Model\DataObject\FilterDefinition
  356. */
  357. public function setConditionsInheritance ($conditionsInheritance) {
  358.     $fd $this->getClass()->getFieldDefinition("conditionsInheritance");
  359.     $this->conditionsInheritance $conditionsInheritance;
  360.     return $this;
  361. }
  362. /**
  363. * @return \Pimcore\Model\DataObject\Fieldcollection
  364. */
  365. public function getConditions () {
  366.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  367.         $preValue $this->preGetValue("conditions"); 
  368.         if($preValue !== null) { 
  369.             return $preValue;
  370.         }
  371.     } 
  372.     $data $this->getClass()->getFieldDefinition("conditions")->preGetData($this);
  373.      return $data;
  374. }
  375. /**
  376. * Set conditions - Conditions
  377. * @param \Pimcore\Model\DataObject\Fieldcollection $conditions
  378. * @return \Pimcore\Model\DataObject\FilterDefinition
  379. */
  380. public function setConditions ($conditions) {
  381.     $fd $this->getClass()->getFieldDefinition("conditions");
  382.     $this->conditions $fd->preSetData($this$conditions);
  383.     return $this;
  384. }
  385. /**
  386. * Get filtersInheritance - inherit Filters
  387. * @return string
  388. */
  389. public function getFiltersInheritance () {
  390.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  391.         $preValue $this->preGetValue("filtersInheritance"); 
  392.         if($preValue !== null) { 
  393.             return $preValue;
  394.         }
  395.     } 
  396.     $data $this->filtersInheritance;
  397.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("filtersInheritance")->isEmpty($data)) {
  398.         try {
  399.             return $this->getValueFromParent("filtersInheritance");
  400.         } catch (InheritanceParentNotFoundException $e) {
  401.             // no data from parent available, continue ... 
  402.         }
  403.     }
  404.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  405.             return $data->getPlain();
  406.     }
  407.     return $data;
  408. }
  409. /**
  410. * Set filtersInheritance - inherit Filters
  411. * @param string $filtersInheritance
  412. * @return \Pimcore\Model\DataObject\FilterDefinition
  413. */
  414. public function setFiltersInheritance ($filtersInheritance) {
  415.     $fd $this->getClass()->getFieldDefinition("filtersInheritance");
  416.     $this->filtersInheritance $filtersInheritance;
  417.     return $this;
  418. }
  419. /**
  420. * @return \Pimcore\Model\DataObject\Fieldcollection
  421. */
  422. public function getFilters () {
  423.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  424.         $preValue $this->preGetValue("filters"); 
  425.         if($preValue !== null) { 
  426.             return $preValue;
  427.         }
  428.     } 
  429.     $data $this->getClass()->getFieldDefinition("filters")->preGetData($this);
  430.      return $data;
  431. }
  432. /**
  433. * Set filters - Filters
  434. * @param \Pimcore\Model\DataObject\Fieldcollection $filters
  435. * @return \Pimcore\Model\DataObject\FilterDefinition
  436. */
  437. public function setFilters ($filters) {
  438.     $fd $this->getClass()->getFieldDefinition("filters");
  439.     $this->filters $fd->preSetData($this$filters);
  440.     return $this;
  441. }
  442. /**
  443. * Get crossSellingCategory - Base category for recommendations
  444. * @return \Pimcore\Model\DataObject\ProductCategory
  445. */
  446. public function getCrossSellingCategory () {
  447.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  448.         $preValue $this->preGetValue("crossSellingCategory"); 
  449.         if($preValue !== null) { 
  450.             return $preValue;
  451.         }
  452.     } 
  453.     $data $this->getClass()->getFieldDefinition("crossSellingCategory")->preGetData($this);
  454.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("crossSellingCategory")->isEmpty($data)) {
  455.         try {
  456.             return $this->getValueFromParent("crossSellingCategory");
  457.         } catch (InheritanceParentNotFoundException $e) {
  458.             // no data from parent available, continue ... 
  459.         }
  460.     }
  461.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  462.             return $data->getPlain();
  463.     }
  464.     return $data;
  465. }
  466. /**
  467. * Set crossSellingCategory - Base category for recommendations
  468. * @param \Pimcore\Model\DataObject\ProductCategory $crossSellingCategory
  469. * @return \Pimcore\Model\DataObject\FilterDefinition
  470. */
  471. public function setCrossSellingCategory ($crossSellingCategory) {
  472.     $fd $this->getClass()->getFieldDefinition("crossSellingCategory");
  473.     $currentData $this->getCrossSellingCategory();
  474.     $isEqual $fd->isEqual($currentData$crossSellingCategory);
  475.     if (!$isEqual) {
  476.         $this->markFieldDirty("crossSellingCategory"true);
  477.     }
  478.     $this->crossSellingCategory $fd->preSetData($this$crossSellingCategory);
  479.     return $this;
  480. }
  481. /**
  482. * Get similarityFieldsInheritance - inherit SimilarityFields
  483. * @return string
  484. */
  485. public function getSimilarityFieldsInheritance () {
  486.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  487.         $preValue $this->preGetValue("similarityFieldsInheritance"); 
  488.         if($preValue !== null) { 
  489.             return $preValue;
  490.         }
  491.     } 
  492.     $data $this->similarityFieldsInheritance;
  493.     if(\Pimcore\Model\DataObject::doGetInheritedValues() && $this->getClass()->getFieldDefinition("similarityFieldsInheritance")->isEmpty($data)) {
  494.         try {
  495.             return $this->getValueFromParent("similarityFieldsInheritance");
  496.         } catch (InheritanceParentNotFoundException $e) {
  497.             // no data from parent available, continue ... 
  498.         }
  499.     }
  500.     if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
  501.             return $data->getPlain();
  502.     }
  503.     return $data;
  504. }
  505. /**
  506. * Set similarityFieldsInheritance - inherit SimilarityFields
  507. * @param string $similarityFieldsInheritance
  508. * @return \Pimcore\Model\DataObject\FilterDefinition
  509. */
  510. public function setSimilarityFieldsInheritance ($similarityFieldsInheritance) {
  511.     $fd $this->getClass()->getFieldDefinition("similarityFieldsInheritance");
  512.     $this->similarityFieldsInheritance $similarityFieldsInheritance;
  513.     return $this;
  514. }
  515. /**
  516. * @return \Pimcore\Model\DataObject\Fieldcollection
  517. */
  518. public function getSimilarityFields () {
  519.     if($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { 
  520.         $preValue $this->preGetValue("similarityFields"); 
  521.         if($preValue !== null) { 
  522.             return $preValue;
  523.         }
  524.     } 
  525.     $data $this->getClass()->getFieldDefinition("similarityFields")->preGetData($this);
  526.      return $data;
  527. }
  528. /**
  529. * Set similarityFields - SimilarityFields
  530. * @param \Pimcore\Model\DataObject\Fieldcollection $similarityFields
  531. * @return \Pimcore\Model\DataObject\FilterDefinition
  532. */
  533. public function setSimilarityFields ($similarityFields) {
  534.     $fd $this->getClass()->getFieldDefinition("similarityFields");
  535.     $this->similarityFields $fd->preSetData($this$similarityFields);
  536.     return $this;
  537. }
  538. }