var/classes/DataObject/Profile/Listing.php line 13

Open in your IDE?
  1. <?php
  2. namespace Pimcore\Model\DataObject\Profile;
  3. use Pimcore\Model\DataObject;
  4. /**
  5.  * @method DataObject\Profile|false current()
  6.  * @method DataObject\Profile[] load()
  7.  * @method DataObject\Profile[] getData()
  8.  */
  9. class Listing extends DataObject\Listing\Concrete
  10. {
  11. protected $classId "profile";
  12. protected $className "Profile";
  13. /**
  14. * Filter by profileType (Profilart)
  15. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  16. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  17. * @return static
  18. */
  19. public function filterByProfileType ($data$operator '=')
  20. {
  21.     $this->getClass()->getFieldDefinition("profileType")->addListingFilter($this$data$operator);
  22.     return $this;
  23. }
  24. /**
  25. * Filter by company (Firma)
  26. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  27. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  28. * @return static
  29. */
  30. public function filterByCompany ($data$operator '=')
  31. {
  32.     $this->getClass()->getFieldDefinition("company")->addListingFilter($this$data$operator);
  33.     return $this;
  34. }
  35. /**
  36. * Filter by gender (Geschlecht)
  37. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  38. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  39. * @return static
  40. */
  41. public function filterByGender ($data$operator '=')
  42. {
  43.     $this->getClass()->getFieldDefinition("gender")->addListingFilter($this$data$operator);
  44.     return $this;
  45. }
  46. /**
  47. * Filter by firstname (Vorname)
  48. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  49. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  50. * @return static
  51. */
  52. public function filterByFirstname ($data$operator '=')
  53. {
  54.     $this->getClass()->getFieldDefinition("firstname")->addListingFilter($this$data$operator);
  55.     return $this;
  56. }
  57. /**
  58. * Filter by lastname (Nachname)
  59. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  60. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  61. * @return static
  62. */
  63. public function filterByLastname ($data$operator '=')
  64. {
  65.     $this->getClass()->getFieldDefinition("lastname")->addListingFilter($this$data$operator);
  66.     return $this;
  67. }
  68. /**
  69. * Filter by languages (Sprachen)
  70. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  71. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  72. * @return static
  73. */
  74. public function filterByLanguages ($data$operator '=')
  75. {
  76.     $this->getClass()->getFieldDefinition("languages")->addListingFilter($this$data$operator);
  77.     return $this;
  78. }
  79. /**
  80. * Filter by slug (Slug)
  81. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  82. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  83. * @return static
  84. */
  85. public function filterBySlug ($data$operator '=')
  86. {
  87.     $this->getClass()->getFieldDefinition("slug")->addListingFilter($this$data$operator);
  88.     return $this;
  89. }
  90. /**
  91. * Filter by title (Titel)
  92. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  93. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  94. * @return static
  95. */
  96. public function filterByTitle ($data$operator '=')
  97. {
  98.     $this->getClass()->getFieldDefinition("title")->addListingFilter($this$data$operator);
  99.     return $this;
  100. }
  101. /**
  102. * Filter by VAT (vat)
  103. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  104. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  105. * @return static
  106. */
  107. public function filterByVAT ($data$operator '=')
  108. {
  109.     $this->getClass()->getFieldDefinition("VAT")->addListingFilter($this$data$operator);
  110.     return $this;
  111. }
  112. /**
  113. * Filter by phone (Telefonnummer)
  114. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  115. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  116. * @return static
  117. */
  118. public function filterByPhone ($data$operator '=')
  119. {
  120.     $this->getClass()->getFieldDefinition("phone")->addListingFilter($this$data$operator);
  121.     return $this;
  122. }
  123. /**
  124. * Filter by fax (Faxnummer)
  125. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  126. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  127. * @return static
  128. */
  129. public function filterByFax ($data$operator '=')
  130. {
  131.     $this->getClass()->getFieldDefinition("fax")->addListingFilter($this$data$operator);
  132.     return $this;
  133. }
  134. /**
  135. * Filter by email (E-Mail)
  136. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  137. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  138. * @return static
  139. */
  140. public function filterByEmail ($data$operator '=')
  141. {
  142.     $this->getClass()->getFieldDefinition("email")->addListingFilter($this$data$operator);
  143.     return $this;
  144. }
  145. /**
  146. * Filter by website (Webseite)
  147. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  148. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  149. * @return static
  150. */
  151. public function filterByWebsite ($data$operator '=')
  152. {
  153.     $this->getClass()->getFieldDefinition("website")->addListingFilter($this$data$operator);
  154.     return $this;
  155. }
  156. /**
  157. * Filter by mobile (Mobil)
  158. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  159. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  160. * @return static
  161. */
  162. public function filterByMobile ($data$operator '=')
  163. {
  164.     $this->getClass()->getFieldDefinition("mobile")->addListingFilter($this$data$operator);
  165.     return $this;
  166. }
  167. /**
  168. * Filter by street (Straße)
  169. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  170. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  171. * @return static
  172. */
  173. public function filterByStreet ($data$operator '=')
  174. {
  175.     $this->getClass()->getFieldDefinition("street")->addListingFilter($this$data$operator);
  176.     return $this;
  177. }
  178. /**
  179. * Filter by housenumber (Hausnummer)
  180. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  181. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  182. * @return static
  183. */
  184. public function filterByHousenumber ($data$operator '=')
  185. {
  186.     $this->getClass()->getFieldDefinition("housenumber")->addListingFilter($this$data$operator);
  187.     return $this;
  188. }
  189. /**
  190. * Filter by city (Stadt)
  191. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  192. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  193. * @return static
  194. */
  195. public function filterByCity ($data$operator '=')
  196. {
  197.     $this->getClass()->getFieldDefinition("city")->addListingFilter($this$data$operator);
  198.     return $this;
  199. }
  200. /**
  201. * Filter by postalCode (Postleitzahl)
  202. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  203. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  204. * @return static
  205. */
  206. public function filterByPostalCode ($data$operator '=')
  207. {
  208.     $this->getClass()->getFieldDefinition("postalCode")->addListingFilter($this$data$operator);
  209.     return $this;
  210. }
  211. /**
  212. * Filter by country (Land)
  213. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  214. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  215. * @return static
  216. */
  217. public function filterByCountry ($data$operator '=')
  218. {
  219.     $this->getClass()->getFieldDefinition("country")->addListingFilter($this$data$operator);
  220.     return $this;
  221. }
  222. /**
  223. * Filter by partner (Partner)
  224. * @param mixed $data
  225. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  226. * @return static
  227. */
  228. public function filterByPartner ($data$operator '=')
  229. {
  230.     $this->getClass()->getFieldDefinition("partner")->addListingFilter($this$data$operator);
  231.     return $this;
  232. }
  233. /**
  234. * Filter by team (Team)
  235. * @param mixed $data
  236. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  237. * @return static
  238. */
  239. public function filterByTeam ($data$operator '=')
  240. {
  241.     $this->getClass()->getFieldDefinition("team")->addListingFilter($this$data$operator);
  242.     return $this;
  243. }
  244. /**
  245. * Filter by description (description)
  246. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  247. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  248. * @return static
  249. */
  250. public function filterByDescription ($data$operator '=')
  251. {
  252.     $this->getClass()->getFieldDefinition("description")->addListingFilter($this$data$operator);
  253.     return $this;
  254. }
  255. /**
  256. * Filter by primaryProfile (Primärprofil)
  257. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  258. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  259. * @return static
  260. */
  261. public function filterByPrimaryProfile ($data$operator '=')
  262. {
  263.     $this->getClass()->getFieldDefinition("primaryProfile")->addListingFilter($this$data$operator);
  264.     return $this;
  265. }
  266. /**
  267. * Filter by network (Netzwerk)
  268. * @param mixed $data
  269. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  270. * @return static
  271. */
  272. public function filterByNetwork ($data$operator '=')
  273. {
  274.     $this->getClass()->getFieldDefinition("network")->addListingFilter($this$data$operator);
  275.     return $this;
  276. }
  277. /**
  278. * Filter by reversedNetwork (Netzwerk Verknüpfungen)
  279. * @param mixed $data
  280. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  281. * @return static
  282. */
  283. public function filterByReversedNetwork ($data$operator '=')
  284. {
  285.     $this->getClass()->getFieldDefinition("reversedNetwork")->addListingFilter($this$data$operator);
  286.     return $this;
  287. }
  288. /**
  289. * Filter by reversedNews (News)
  290. * @param mixed $data
  291. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  292. * @return static
  293. */
  294. public function filterByReversedNews ($data$operator '=')
  295. {
  296.     $this->getClass()->getFieldDefinition("reversedNews")->addListingFilter($this$data$operator);
  297.     return $this;
  298. }
  299. /**
  300. * Filter by organisations (Organisationen)
  301. * @param mixed $data
  302. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  303. * @return static
  304. */
  305. public function filterByOrganisations ($data$operator '=')
  306. {
  307.     $this->getClass()->getFieldDefinition("organisations")->addListingFilter($this$data$operator);
  308.     return $this;
  309. }
  310. /**
  311. * Filter by downloads (Downloads)
  312. * @param mixed $data
  313. * @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  314. * @return static
  315. */
  316. public function filterByDownloads ($data$operator '=')
  317. {
  318.     $this->getClass()->getFieldDefinition("downloads")->addListingFilter($this$data$operator);
  319.     return $this;
  320. }
  321. /**
  322. * Filter by username (Username)
  323. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  324. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  325. * @return static
  326. */
  327. public function filterByUsername ($data$operator '=')
  328. {
  329.     $this->getClass()->getFieldDefinition("username")->addListingFilter($this$data$operator);
  330.     return $this;
  331. }
  332. /**
  333. * Filter by activationToken (Aktivierungs-Key)
  334. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  335. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  336. * @return static
  337. */
  338. public function filterByActivationToken ($data$operator '=')
  339. {
  340.     $this->getClass()->getFieldDefinition("activationToken")->addListingFilter($this$data$operator);
  341.     return $this;
  342. }
  343. /**
  344. * Filter by resetToken (Wiederherstellungs-Key)
  345. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  346. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  347. * @return static
  348. */
  349. public function filterByResetToken ($data$operator '=')
  350. {
  351.     $this->getClass()->getFieldDefinition("resetToken")->addListingFilter($this$data$operator);
  352.     return $this;
  353. }
  354. /**
  355. * Filter by signUpCompletionState (Registrierungsstatus)
  356. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  357. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  358. * @return static
  359. */
  360. public function filterBySignUpCompletionState ($data$operator '=')
  361. {
  362.     $this->getClass()->getFieldDefinition("signUpCompletionState")->addListingFilter($this$data$operator);
  363.     return $this;
  364. }
  365. /**
  366. * Filter by roles (Rollen)
  367. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  368. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  369. * @return static
  370. */
  371. public function filterByRoles ($data$operator '=')
  372. {
  373.     $this->getClass()->getFieldDefinition("roles")->addListingFilter($this$data$operator);
  374.     return $this;
  375. }
  376. /**
  377. * Filter by abowireUserId (Abowire User Id)
  378. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  379. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  380. * @return static
  381. */
  382. public function filterByAbowireUserId ($data$operator '=')
  383. {
  384.     $this->getClass()->getFieldDefinition("abowireUserId")->addListingFilter($this$data$operator);
  385.     return $this;
  386. }
  387. /**
  388. * Filter by preferredLanguage (Bevorzugte Sprache)
  389. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  390. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  391. * @return static
  392. */
  393. public function filterByPreferredLanguage ($data$operator '=')
  394. {
  395.     $this->getClass()->getFieldDefinition("preferredLanguage")->addListingFilter($this$data$operator);
  396.     return $this;
  397. }
  398. /**
  399. * Filter by avatar (Avatar)
  400. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  401. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  402. * @return static
  403. */
  404. public function filterByAvatar ($data$operator '=')
  405. {
  406.     $this->getClass()->getFieldDefinition("avatar")->addListingFilter($this$data$operator);
  407.     return $this;
  408. }
  409. /**
  410. * Filter by banner (Banner)
  411. * @param string|int|float|array|Model\Element\ElementInterface $data  comparison data, can be scalar or array (if operator is e.g. "IN (?)")
  412. * @param string $operator  SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
  413. * @return static
  414. */
  415. public function filterByBanner ($data$operator '=')
  416. {
  417.     $this->getClass()->getFieldDefinition("banner")->addListingFilter($this$data$operator);
  418.     return $this;
  419. }
  420. }