| @@ 310-322 (lines=13) @@ | ||
| 307 | * |
|
| 308 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 309 | */ |
|
| 310 | public function filterByName($name = null, $comparison = null) |
|
| 311 | { |
|
| 312 | if (null === $comparison) { |
|
| 313 | if (is_array($name)) { |
|
| 314 | $comparison = Criteria::IN; |
|
| 315 | } elseif (preg_match('/[\%\*]/', $name)) { |
|
| 316 | $name = str_replace('*', '%', $name); |
|
| 317 | $comparison = Criteria::LIKE; |
|
| 318 | } |
|
| 319 | } |
|
| 320 | ||
| 321 | return $this->addUsingAlias(UserTableMap::COL_NAME, $name, $comparison); |
|
| 322 | } |
|
| 323 | ||
| 324 | /** |
|
| 325 | * Filter the query on the email column |
|
| @@ 339-351 (lines=13) @@ | ||
| 336 | * |
|
| 337 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 338 | */ |
|
| 339 | public function filterByEmail($email = null, $comparison = null) |
|
| 340 | { |
|
| 341 | if (null === $comparison) { |
|
| 342 | if (is_array($email)) { |
|
| 343 | $comparison = Criteria::IN; |
|
| 344 | } elseif (preg_match('/[\%\*]/', $email)) { |
|
| 345 | $email = str_replace('*', '%', $email); |
|
| 346 | $comparison = Criteria::LIKE; |
|
| 347 | } |
|
| 348 | } |
|
| 349 | ||
| 350 | return $this->addUsingAlias(UserTableMap::COL_EMAIL, $email, $comparison); |
|
| 351 | } |
|
| 352 | ||
| 353 | /** |
|
| 354 | * Filter the query on the password column |
|
| @@ 368-380 (lines=13) @@ | ||
| 365 | * |
|
| 366 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 367 | */ |
|
| 368 | public function filterByPassword($password = null, $comparison = null) |
|
| 369 | { |
|
| 370 | if (null === $comparison) { |
|
| 371 | if (is_array($password)) { |
|
| 372 | $comparison = Criteria::IN; |
|
| 373 | } elseif (preg_match('/[\%\*]/', $password)) { |
|
| 374 | $password = str_replace('*', '%', $password); |
|
| 375 | $comparison = Criteria::LIKE; |
|
| 376 | } |
|
| 377 | } |
|
| 378 | ||
| 379 | return $this->addUsingAlias(UserTableMap::COL_PASSWORD, $password, $comparison); |
|
| 380 | } |
|
| 381 | ||
| 382 | /** |
|
| 383 | * Filter the query on the remember_token column |
|
| @@ 397-409 (lines=13) @@ | ||
| 394 | * |
|
| 395 | * @return $this|ChildUserQuery The current query, for fluid interface |
|
| 396 | */ |
|
| 397 | public function filterByRememberToken($rememberToken = null, $comparison = null) |
|
| 398 | { |
|
| 399 | if (null === $comparison) { |
|
| 400 | if (is_array($rememberToken)) { |
|
| 401 | $comparison = Criteria::IN; |
|
| 402 | } elseif (preg_match('/[\%\*]/', $rememberToken)) { |
|
| 403 | $rememberToken = str_replace('*', '%', $rememberToken); |
|
| 404 | $comparison = Criteria::LIKE; |
|
| 405 | } |
|
| 406 | } |
|
| 407 | ||
| 408 | return $this->addUsingAlias(UserTableMap::COL_REMEMBER_TOKEN, $rememberToken, $comparison); |
|
| 409 | } |
|
| 410 | ||
| 411 | /** |
|
| 412 | * Filter the query on the created_at column |
|
| @@ 295-307 (lines=13) @@ | ||
| 292 | * |
|
| 293 | * @return $this|ChildSelfpriceQuery The current query, for fluid interface |
|
| 294 | */ |
|
| 295 | public function filterByName($name = null, $comparison = null) |
|
| 296 | { |
|
| 297 | if (null === $comparison) { |
|
| 298 | if (is_array($name)) { |
|
| 299 | $comparison = Criteria::IN; |
|
| 300 | } elseif (preg_match('/[\%\*]/', $name)) { |
|
| 301 | $name = str_replace('*', '%', $name); |
|
| 302 | $comparison = Criteria::LIKE; |
|
| 303 | } |
|
| 304 | } |
|
| 305 | ||
| 306 | return $this->addUsingAlias(SelfpriceTableMap::COL_NAME, $name, $comparison); |
|
| 307 | } |
|
| 308 | ||
| 309 | /** |
|
| 310 | * Filter the query on the datecreate column |
|
| @@ 367-379 (lines=13) @@ | ||
| 364 | * |
|
| 365 | * @return $this|ChildSelfpriceQuery The current query, for fluid interface |
|
| 366 | */ |
|
| 367 | public function filterByDesc($desc = null, $comparison = null) |
|
| 368 | { |
|
| 369 | if (null === $comparison) { |
|
| 370 | if (is_array($desc)) { |
|
| 371 | $comparison = Criteria::IN; |
|
| 372 | } elseif (preg_match('/[\%\*]/', $desc)) { |
|
| 373 | $desc = str_replace('*', '%', $desc); |
|
| 374 | $comparison = Criteria::LIKE; |
|
| 375 | } |
|
| 376 | } |
|
| 377 | ||
| 378 | return $this->addUsingAlias(SelfpriceTableMap::COL_DESC, $desc, $comparison); |
|
| 379 | } |
|
| 380 | ||
| 381 | /** |
|
| 382 | * Exclude object from result |
|