|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace Pimcore\Model\DataObject\Customer; |
| 4 | + |
| 5 | +use Pimcore\Model\DataObject; |
| 6 | + |
| 7 | +/** |
| 8 | + * @method DataObject\Customer|false current() |
| 9 | + * @method DataObject\Customer[] load() |
| 10 | + * @method DataObject\Customer[] getData() |
| 11 | + */ |
| 12 | + |
| 13 | +class Listing extends DataObject\Listing\Concrete |
| 14 | +{ |
| 15 | +protected $classId = "CU"; |
| 16 | +protected $className = "Customer"; |
| 17 | + |
| 18 | + |
| 19 | +/** |
| 20 | +* Filter by active (Active) |
| 21 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 22 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 23 | +* @return static |
| 24 | +*/ |
| 25 | +public function filterByActive ($data, $operator = '=') |
| 26 | +{ |
| 27 | + $this->getClass()->getFieldDefinition("active")->addListingFilter($this, $data, $operator); |
| 28 | + return $this; |
| 29 | +} |
| 30 | + |
| 31 | +/** |
| 32 | +* Filter by gender (Gender) |
| 33 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 34 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 35 | +* @return static |
| 36 | +*/ |
| 37 | +public function filterByGender ($data, $operator = '=') |
| 38 | +{ |
| 39 | + $this->getClass()->getFieldDefinition("gender")->addListingFilter($this, $data, $operator); |
| 40 | + return $this; |
| 41 | +} |
| 42 | + |
| 43 | +/** |
| 44 | +* Filter by firstname (Firstname) |
| 45 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 46 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 47 | +* @return static |
| 48 | +*/ |
| 49 | +public function filterByFirstname ($data, $operator = '=') |
| 50 | +{ |
| 51 | + $this->getClass()->getFieldDefinition("firstname")->addListingFilter($this, $data, $operator); |
| 52 | + return $this; |
| 53 | +} |
| 54 | + |
| 55 | +/** |
| 56 | +* Filter by lastname (Lastname) |
| 57 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 58 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 59 | +* @return static |
| 60 | +*/ |
| 61 | +public function filterByLastname ($data, $operator = '=') |
| 62 | +{ |
| 63 | + $this->getClass()->getFieldDefinition("lastname")->addListingFilter($this, $data, $operator); |
| 64 | + return $this; |
| 65 | +} |
| 66 | + |
| 67 | +/** |
| 68 | +* Filter by company (Company) |
| 69 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 70 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 71 | +* @return static |
| 72 | +*/ |
| 73 | +public function filterByCompany ($data, $operator = '=') |
| 74 | +{ |
| 75 | + $this->getClass()->getFieldDefinition("company")->addListingFilter($this, $data, $operator); |
| 76 | + return $this; |
| 77 | +} |
| 78 | + |
| 79 | +/** |
| 80 | +* Filter by email (Email) |
| 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 filterByEmail ($data, $operator = '=') |
| 86 | +{ |
| 87 | + $this->getClass()->getFieldDefinition("email")->addListingFilter($this, $data, $operator); |
| 88 | + return $this; |
| 89 | +} |
| 90 | + |
| 91 | +/** |
| 92 | +* Filter by street (Street) |
| 93 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 94 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 95 | +* @return static |
| 96 | +*/ |
| 97 | +public function filterByStreet ($data, $operator = '=') |
| 98 | +{ |
| 99 | + $this->getClass()->getFieldDefinition("street")->addListingFilter($this, $data, $operator); |
| 100 | + return $this; |
| 101 | +} |
| 102 | + |
| 103 | +/** |
| 104 | +* Filter by zip (Zip) |
| 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 filterByZip ($data, $operator = '=') |
| 110 | +{ |
| 111 | + $this->getClass()->getFieldDefinition("zip")->addListingFilter($this, $data, $operator); |
| 112 | + return $this; |
| 113 | +} |
| 114 | + |
| 115 | +/** |
| 116 | +* Filter by city (City) |
| 117 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 118 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 119 | +* @return static |
| 120 | +*/ |
| 121 | +public function filterByCity ($data, $operator = '=') |
| 122 | +{ |
| 123 | + $this->getClass()->getFieldDefinition("city")->addListingFilter($this, $data, $operator); |
| 124 | + return $this; |
| 125 | +} |
| 126 | + |
| 127 | +/** |
| 128 | +* Filter by countryCode (Country) |
| 129 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 130 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 131 | +* @return static |
| 132 | +*/ |
| 133 | +public function filterByCountryCode ($data, $operator = '=') |
| 134 | +{ |
| 135 | + $this->getClass()->getFieldDefinition("countryCode")->addListingFilter($this, $data, $operator); |
| 136 | + return $this; |
| 137 | +} |
| 138 | + |
| 139 | +/** |
| 140 | +* Filter by phone (phone) |
| 141 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 142 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 143 | +* @return static |
| 144 | +*/ |
| 145 | +public function filterByPhone ($data, $operator = '=') |
| 146 | +{ |
| 147 | + $this->getClass()->getFieldDefinition("phone")->addListingFilter($this, $data, $operator); |
| 148 | + return $this; |
| 149 | +} |
| 150 | + |
| 151 | +/** |
| 152 | +* Filter by idEncoded (Id Encoded) |
| 153 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 154 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 155 | +* @return static |
| 156 | +*/ |
| 157 | +public function filterByIdEncoded ($data, $operator = '=') |
| 158 | +{ |
| 159 | + $this->getClass()->getFieldDefinition("idEncoded")->addListingFilter($this, $data, $operator); |
| 160 | + return $this; |
| 161 | +} |
| 162 | + |
| 163 | +/** |
| 164 | +* Filter by customerLanguage (Language) |
| 165 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 166 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 167 | +* @return static |
| 168 | +*/ |
| 169 | +public function filterByCustomerLanguage ($data, $operator = '=') |
| 170 | +{ |
| 171 | + $this->getClass()->getFieldDefinition("customerLanguage")->addListingFilter($this, $data, $operator); |
| 172 | + return $this; |
| 173 | +} |
| 174 | + |
| 175 | +/** |
| 176 | +* Filter by newsletterConfirmed (Newsletter Confirmed) |
| 177 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 178 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 179 | +* @return static |
| 180 | +*/ |
| 181 | +public function filterByNewsletterConfirmed ($data, $operator = '=') |
| 182 | +{ |
| 183 | + $this->getClass()->getFieldDefinition("newsletterConfirmed")->addListingFilter($this, $data, $operator); |
| 184 | + return $this; |
| 185 | +} |
| 186 | + |
| 187 | +/** |
| 188 | +* Filter by newsletterConfirmToken (Newsletter Confirm Token) |
| 189 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 190 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 191 | +* @return static |
| 192 | +*/ |
| 193 | +public function filterByNewsletterConfirmToken ($data, $operator = '=') |
| 194 | +{ |
| 195 | + $this->getClass()->getFieldDefinition("newsletterConfirmToken")->addListingFilter($this, $data, $operator); |
| 196 | + return $this; |
| 197 | +} |
| 198 | + |
| 199 | +/** |
| 200 | +* Filter by manualSegments (Manual Segments) |
| 201 | +* @param mixed $data |
| 202 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 203 | +* @return static |
| 204 | +*/ |
| 205 | +public function filterByManualSegments ($data, $operator = '=') |
| 206 | +{ |
| 207 | + $this->getClass()->getFieldDefinition("manualSegments")->addListingFilter($this, $data, $operator); |
| 208 | + return $this; |
| 209 | +} |
| 210 | + |
| 211 | +/** |
| 212 | +* Filter by calculatedSegments (Calculated Segments) |
| 213 | +* @param mixed $data |
| 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 filterByCalculatedSegments ($data, $operator = '=') |
| 218 | +{ |
| 219 | + $this->getClass()->getFieldDefinition("calculatedSegments")->addListingFilter($this, $data, $operator); |
| 220 | + return $this; |
| 221 | +} |
| 222 | + |
| 223 | +/** |
| 224 | +* Filter by ssoIdentities (SSO Identities) |
| 225 | +* @param mixed $data |
| 226 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 227 | +* @return static |
| 228 | +*/ |
| 229 | +public function filterBySsoIdentities ($data, $operator = '=') |
| 230 | +{ |
| 231 | + $this->getClass()->getFieldDefinition("ssoIdentities")->addListingFilter($this, $data, $operator); |
| 232 | + return $this; |
| 233 | +} |
| 234 | + |
| 235 | +/** |
| 236 | +* Filter by passwordRecoveryToken (Password Recovery Token) |
| 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 filterByPasswordRecoveryToken ($data, $operator = '=') |
| 242 | +{ |
| 243 | + $this->getClass()->getFieldDefinition("passwordRecoveryToken")->addListingFilter($this, $data, $operator); |
| 244 | + return $this; |
| 245 | +} |
| 246 | + |
| 247 | +/** |
| 248 | +* Filter by passwordRecoveryTokenDate (Password Recovery Token Date) |
| 249 | +* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)") |
| 250 | +* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)" |
| 251 | +* @return static |
| 252 | +*/ |
| 253 | +public function filterByPasswordRecoveryTokenDate ($data, $operator = '=') |
| 254 | +{ |
| 255 | + $this->getClass()->getFieldDefinition("passwordRecoveryTokenDate")->addListingFilter($this, $data, $operator); |
| 256 | + return $this; |
| 257 | +} |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | +} |
0 commit comments