var/classes/DataObject/JobOffer/Listing.php line 15

Open in your IDE?
  1. <?php
  2. namespace Pimcore\Model\DataObject\JobOffer;
  3. use Pimcore\Model;
  4. use Pimcore\Model\DataObject;
  5. /**
  6.  * @method DataObject\JobOffer|false current()
  7.  * @method DataObject\JobOffer[] load()
  8.  * @method DataObject\JobOffer[] getData()
  9.  * @method DataObject\JobOffer[] getObjects()
  10.  */
  11. class Listing extends DataObject\Listing\Concrete
  12. {
  13. protected $classId "1";
  14. protected $className "JobOffer";
  15. /**
  16. * Filter by title (title)
  17. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  18. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  19. * @return static
  20. */
  21. public function filterByTitle ($data$operator '=')
  22. {
  23.     $this->getClass()->getFieldDefinition("title")->addListingFilter($this$data$operator);
  24.     return $this;
  25. }
  26. /**
  27. * Filter by company (company)
  28. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  29. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  30. * @return static
  31. */
  32. public function filterByCompany ($data$operator '=')
  33. {
  34.     $this->getClass()->getFieldDefinition("company")->addListingFilter($this$data$operator);
  35.     return $this;
  36. }
  37. /**
  38. * Filter by location (location)
  39. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  40. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  41. * @return static
  42. */
  43. public function filterByLocation ($data$operator '=')
  44. {
  45.     $this->getClass()->getFieldDefinition("location")->addListingFilter($this$data$operator);
  46.     return $this;
  47. }
  48. /**
  49. * Filter by companyDescription (companyDescription)
  50. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  51. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  52. * @return static
  53. */
  54. public function filterByCompanyDescription ($data$operator '=')
  55. {
  56.     $this->getClass()->getFieldDefinition("companyDescription")->addListingFilter($this$data$operator);
  57.     return $this;
  58. }
  59. /**
  60. * Filter by requirements (requirements)
  61. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  62. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  63. * @return static
  64. */
  65. public function filterByRequirements ($data$operator '=')
  66. {
  67.     $this->getClass()->getFieldDefinition("requirements")->addListingFilter($this$data$operator);
  68.     return $this;
  69. }
  70. /**
  71. * Filter by notes (notes)
  72. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  73. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  74. * @return static
  75. */
  76. public function filterByNotes ($data$operator '=')
  77. {
  78.     $this->getClass()->getFieldDefinition("notes")->addListingFilter($this$data$operator);
  79.     return $this;
  80. }
  81. /**
  82. * Filter by clause (clause)
  83. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  84. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  85. * @return static
  86. */
  87. public function filterByClause ($data$operator '=')
  88. {
  89.     $this->getClass()->getFieldDefinition("clause")->addListingFilter($this$data$operator);
  90.     return $this;
  91. }
  92. /**
  93. * Filter by experience (experience)
  94. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  95. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  96. * @return static
  97. */
  98. public function filterByExperience ($data$operator '=')
  99. {
  100.     $this->getClass()->getFieldDefinition("experience")->addListingFilter($this$data$operator);
  101.     return $this;
  102. }
  103. /**
  104. * Filter by positionDescription (positionDescription)
  105. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  106. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  107. * @return static
  108. */
  109. public function filterByPositionDescription ($data$operator '=')
  110. {
  111.     $this->getClass()->getFieldDefinition("positionDescription")->addListingFilter($this$data$operator);
  112.     return $this;
  113. }
  114. /**
  115. * Filter by opportunities (opportunities)
  116. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  117. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  118. * @return static
  119. */
  120. public function filterByOpportunities ($data$operator '=')
  121. {
  122.     $this->getClass()->getFieldDefinition("opportunities")->addListingFilter($this$data$operator);
  123.     return $this;
  124. }
  125. /**
  126. * Filter by publishDate (publishDate)
  127. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  128. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  129. * @return static
  130. */
  131. public function filterByPublishDate ($data$operator '=')
  132. {
  133.     $this->getClass()->getFieldDefinition("publishDate")->addListingFilter($this$data$operator);
  134.     return $this;
  135. }
  136. /**
  137. * Filter by expiryDate (expiryDate)
  138. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  139. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  140. * @return static
  141. */
  142. public function filterByExpiryDate ($data$operator '=')
  143. {
  144.     $this->getClass()->getFieldDefinition("expiryDate")->addListingFilter($this$data$operator);
  145.     return $this;
  146. }
  147. /**
  148. * Filter by lastModificationDate (lastModificationDate)
  149. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  150. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  151. * @return static
  152. */
  153. public function filterByLastModificationDate ($data$operator '=')
  154. {
  155.     $this->getClass()->getFieldDefinition("lastModificationDate")->addListingFilter($this$data$operator);
  156.     return $this;
  157. }
  158. /**
  159. * Filter by referenceNumber (referenceNumber)
  160. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  161. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  162. * @return static
  163. */
  164. public function filterByReferenceNumber ($data$operator '=')
  165. {
  166.     $this->getClass()->getFieldDefinition("referenceNumber")->addListingFilter($this$data$operator);
  167.     return $this;
  168. }
  169. /**
  170. * Filter by uniqueId (uniqueId)
  171. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  172. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  173. * @return static
  174. */
  175. public function filterByUniqueId ($data$operator '=')
  176. {
  177.     $this->getClass()->getFieldDefinition("uniqueId")->addListingFilter($this$data$operator);
  178.     return $this;
  179. }
  180. /**
  181. * Filter by country (country)
  182. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  183. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  184. * @return static
  185. */
  186. public function filterByCountry ($data$operator '=')
  187. {
  188.     $this->getClass()->getFieldDefinition("country")->addListingFilter($this$data$operator);
  189.     return $this;
  190. }
  191. /**
  192. * Filter by countryRegion (countryRegion)
  193. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  194. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  195. * @return static
  196. */
  197. public function filterByCountryRegion ($data$operator '=')
  198. {
  199.     $this->getClass()->getFieldDefinition("countryRegion")->addListingFilter($this$data$operator);
  200.     return $this;
  201. }
  202. /**
  203. * Filter by countryId (countryId)
  204. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  205. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  206. * @return static
  207. */
  208. public function filterByCountryId ($data$operator '=')
  209. {
  210.     $this->getClass()->getFieldDefinition("countryId")->addListingFilter($this$data$operator);
  211.     return $this;
  212. }
  213. /**
  214. * Filter by countryRegionId (countryRegionId)
  215. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  216. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  217. * @return static
  218. */
  219. public function filterByCountryRegionId ($data$operator '=')
  220. {
  221.     $this->getClass()->getFieldDefinition("countryRegionId")->addListingFilter($this$data$operator);
  222.     return $this;
  223. }
  224. /**
  225. * Filter by jobOfferId (jobOfferId)
  226. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  227. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  228. * @return static
  229. */
  230. public function filterByJobOfferId ($data$operator '=')
  231. {
  232.     $this->getClass()->getFieldDefinition("jobOfferId")->addListingFilter($this$data$operator);
  233.     return $this;
  234. }
  235. /**
  236. * Filter by customLayoutId (customLayoutId)
  237. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  238. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  239. * @return static
  240. */
  241. public function filterByCustomLayoutId ($data$operator '=')
  242. {
  243.     $this->getClass()->getFieldDefinition("customLayoutId")->addListingFilter($this$data$operator);
  244.     return $this;
  245. }
  246. /**
  247. * Filter by lastModificationDateRaw (lastModificationDateRaw)
  248. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  249. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  250. * @return static
  251. */
  252. public function filterByLastModificationDateRaw ($data$operator '=')
  253. {
  254.     $this->getClass()->getFieldDefinition("lastModificationDateRaw")->addListingFilter($this$data$operator);
  255.     return $this;
  256. }
  257. /**
  258. * Filter by department (department)
  259. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  260. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  261. * @return static
  262. */
  263. public function filterByDepartment ($data$operator '=')
  264. {
  265.     $this->getClass()->getFieldDefinition("department")->addListingFilter($this$data$operator);
  266.     return $this;
  267. }
  268. }