| @@ 298-319 (lines=22) @@ | ||
| 295 | * |
|
| 296 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 297 | */ |
|
| 298 | public function filterById($id = null, $comparison = null) |
|
| 299 | { |
|
| 300 | if (is_array($id)) { |
|
| 301 | $useMinMax = false; |
|
| 302 | if (isset($id['min'])) { |
|
| 303 | $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 304 | $useMinMax = true; |
|
| 305 | } |
|
| 306 | if (isset($id['max'])) { |
|
| 307 | $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 308 | $useMinMax = true; |
|
| 309 | } |
|
| 310 | if ($useMinMax) { |
|
| 311 | return $this; |
|
| 312 | } |
|
| 313 | if (null === $comparison) { |
|
| 314 | $comparison = Criteria::IN; |
|
| 315 | } |
|
| 316 | } |
|
| 317 | ||
| 318 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id, $comparison); |
|
| 319 | } |
|
| 320 | ||
| 321 | /** |
|
| 322 | * Filter the query on the locale column |
|
| @@ 426-447 (lines=22) @@ | ||
| 423 | * |
|
| 424 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 425 | */ |
|
| 426 | public function filterByClicks($clicks = null, $comparison = null) |
|
| 427 | { |
|
| 428 | if (is_array($clicks)) { |
|
| 429 | $useMinMax = false; |
|
| 430 | if (isset($clicks['min'])) { |
|
| 431 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['min'], Criteria::GREATER_EQUAL); |
|
| 432 | $useMinMax = true; |
|
| 433 | } |
|
| 434 | if (isset($clicks['max'])) { |
|
| 435 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['max'], Criteria::LESS_EQUAL); |
|
| 436 | $useMinMax = true; |
|
| 437 | } |
|
| 438 | if ($useMinMax) { |
|
| 439 | return $this; |
|
| 440 | } |
|
| 441 | if (null === $comparison) { |
|
| 442 | $comparison = Criteria::IN; |
|
| 443 | } |
|
| 444 | } |
|
| 445 | ||
| 446 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks, $comparison); |
|
| 447 | } |
|
| 448 | ||
| 449 | /** |
|
| 450 | * Filter the query on the description column |
|
| @@ 316-337 (lines=22) @@ | ||
| 313 | * |
|
| 314 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 315 | */ |
|
| 316 | public function filterById($id = null, $comparison = null) |
|
| 317 | { |
|
| 318 | if (is_array($id)) { |
|
| 319 | $useMinMax = false; |
|
| 320 | if (isset($id['min'])) { |
|
| 321 | $this->addUsingAlias(BannerImageTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 322 | $useMinMax = true; |
|
| 323 | } |
|
| 324 | if (isset($id['max'])) { |
|
| 325 | $this->addUsingAlias(BannerImageTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 326 | $useMinMax = true; |
|
| 327 | } |
|
| 328 | if ($useMinMax) { |
|
| 329 | return $this; |
|
| 330 | } |
|
| 331 | if (null === $comparison) { |
|
| 332 | $comparison = Criteria::IN; |
|
| 333 | } |
|
| 334 | } |
|
| 335 | ||
| 336 | return $this->addUsingAlias(BannerImageTableMap::COL_ID, $id, $comparison); |
|
| 337 | } |
|
| 338 | ||
| 339 | /** |
|
| 340 | * Filter the query on the banner_id column |
|
| @@ 359-380 (lines=22) @@ | ||
| 356 | * |
|
| 357 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 358 | */ |
|
| 359 | public function filterByBannerId($bannerId = null, $comparison = null) |
|
| 360 | { |
|
| 361 | if (is_array($bannerId)) { |
|
| 362 | $useMinMax = false; |
|
| 363 | if (isset($bannerId['min'])) { |
|
| 364 | $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId['min'], Criteria::GREATER_EQUAL); |
|
| 365 | $useMinMax = true; |
|
| 366 | } |
|
| 367 | if (isset($bannerId['max'])) { |
|
| 368 | $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId['max'], Criteria::LESS_EQUAL); |
|
| 369 | $useMinMax = true; |
|
| 370 | } |
|
| 371 | if ($useMinMax) { |
|
| 372 | return $this; |
|
| 373 | } |
|
| 374 | if (null === $comparison) { |
|
| 375 | $comparison = Criteria::IN; |
|
| 376 | } |
|
| 377 | } |
|
| 378 | ||
| 379 | return $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId, $comparison); |
|
| 380 | } |
|
| 381 | ||
| 382 | /** |
|
| 383 | * Filter the query on the target column |
|
| @@ 400-421 (lines=22) @@ | ||
| 397 | * |
|
| 398 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 399 | */ |
|
| 400 | public function filterByTarget($target = null, $comparison = null) |
|
| 401 | { |
|
| 402 | if (is_array($target)) { |
|
| 403 | $useMinMax = false; |
|
| 404 | if (isset($target['min'])) { |
|
| 405 | $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target['min'], Criteria::GREATER_EQUAL); |
|
| 406 | $useMinMax = true; |
|
| 407 | } |
|
| 408 | if (isset($target['max'])) { |
|
| 409 | $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target['max'], Criteria::LESS_EQUAL); |
|
| 410 | $useMinMax = true; |
|
| 411 | } |
|
| 412 | if ($useMinMax) { |
|
| 413 | return $this; |
|
| 414 | } |
|
| 415 | if (null === $comparison) { |
|
| 416 | $comparison = Criteria::IN; |
|
| 417 | } |
|
| 418 | } |
|
| 419 | ||
| 420 | return $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target, $comparison); |
|
| 421 | } |
|
| 422 | ||
| 423 | /** |
|
| 424 | * Filter the query on the url column |
|
| @@ 470-491 (lines=22) @@ | ||
| 467 | * |
|
| 468 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 469 | */ |
|
| 470 | public function filterByAllowedPage($allowedPage = null, $comparison = null) |
|
| 471 | { |
|
| 472 | if (is_array($allowedPage)) { |
|
| 473 | $useMinMax = false; |
|
| 474 | if (isset($allowedPage['min'])) { |
|
| 475 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['min'], Criteria::GREATER_EQUAL); |
|
| 476 | $useMinMax = true; |
|
| 477 | } |
|
| 478 | if (isset($allowedPage['max'])) { |
|
| 479 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['max'], Criteria::LESS_EQUAL); |
|
| 480 | $useMinMax = true; |
|
| 481 | } |
|
| 482 | if ($useMinMax) { |
|
| 483 | return $this; |
|
| 484 | } |
|
| 485 | if (null === $comparison) { |
|
| 486 | $comparison = Criteria::IN; |
|
| 487 | } |
|
| 488 | } |
|
| 489 | ||
| 490 | return $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage, $comparison); |
|
| 491 | } |
|
| 492 | ||
| 493 | /** |
|
| 494 | * Filter the query on the position column |
|
| @@ 511-532 (lines=22) @@ | ||
| 508 | * |
|
| 509 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 510 | */ |
|
| 511 | public function filterByPosition($position = null, $comparison = null) |
|
| 512 | { |
|
| 513 | if (is_array($position)) { |
|
| 514 | $useMinMax = false; |
|
| 515 | if (isset($position['min'])) { |
|
| 516 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['min'], Criteria::GREATER_EQUAL); |
|
| 517 | $useMinMax = true; |
|
| 518 | } |
|
| 519 | if (isset($position['max'])) { |
|
| 520 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['max'], Criteria::LESS_EQUAL); |
|
| 521 | $useMinMax = true; |
|
| 522 | } |
|
| 523 | if ($useMinMax) { |
|
| 524 | return $this; |
|
| 525 | } |
|
| 526 | if (null === $comparison) { |
|
| 527 | $comparison = Criteria::IN; |
|
| 528 | } |
|
| 529 | } |
|
| 530 | ||
| 531 | return $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position, $comparison); |
|
| 532 | } |
|
| 533 | ||
| 534 | /** |
|
| 535 | * Filter the query on the active_from column |
|
| @@ 552-573 (lines=22) @@ | ||
| 549 | * |
|
| 550 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 551 | */ |
|
| 552 | public function filterByActiveFrom($activeFrom = null, $comparison = null) |
|
| 553 | { |
|
| 554 | if (is_array($activeFrom)) { |
|
| 555 | $useMinMax = false; |
|
| 556 | if (isset($activeFrom['min'])) { |
|
| 557 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['min'], Criteria::GREATER_EQUAL); |
|
| 558 | $useMinMax = true; |
|
| 559 | } |
|
| 560 | if (isset($activeFrom['max'])) { |
|
| 561 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['max'], Criteria::LESS_EQUAL); |
|
| 562 | $useMinMax = true; |
|
| 563 | } |
|
| 564 | if ($useMinMax) { |
|
| 565 | return $this; |
|
| 566 | } |
|
| 567 | if (null === $comparison) { |
|
| 568 | $comparison = Criteria::IN; |
|
| 569 | } |
|
| 570 | } |
|
| 571 | ||
| 572 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom, $comparison); |
|
| 573 | } |
|
| 574 | ||
| 575 | /** |
|
| 576 | * Filter the query on the active_to column |
|
| @@ 593-614 (lines=22) @@ | ||
| 590 | * |
|
| 591 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 592 | */ |
|
| 593 | public function filterByActiveTo($activeTo = null, $comparison = null) |
|
| 594 | { |
|
| 595 | if (is_array($activeTo)) { |
|
| 596 | $useMinMax = false; |
|
| 597 | if (isset($activeTo['min'])) { |
|
| 598 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['min'], Criteria::GREATER_EQUAL); |
|
| 599 | $useMinMax = true; |
|
| 600 | } |
|
| 601 | if (isset($activeTo['max'])) { |
|
| 602 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['max'], Criteria::LESS_EQUAL); |
|
| 603 | $useMinMax = true; |
|
| 604 | } |
|
| 605 | if ($useMinMax) { |
|
| 606 | return $this; |
|
| 607 | } |
|
| 608 | if (null === $comparison) { |
|
| 609 | $comparison = Criteria::IN; |
|
| 610 | } |
|
| 611 | } |
|
| 612 | ||
| 613 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo, $comparison); |
|
| 614 | } |
|
| 615 | ||
| 616 | /** |
|
| 617 | * Filter the query on the active column |
|
| @@ 634-655 (lines=22) @@ | ||
| 631 | * |
|
| 632 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 633 | */ |
|
| 634 | public function filterByActive($active = null, $comparison = null) |
|
| 635 | { |
|
| 636 | if (is_array($active)) { |
|
| 637 | $useMinMax = false; |
|
| 638 | if (isset($active['min'])) { |
|
| 639 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['min'], Criteria::GREATER_EQUAL); |
|
| 640 | $useMinMax = true; |
|
| 641 | } |
|
| 642 | if (isset($active['max'])) { |
|
| 643 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['max'], Criteria::LESS_EQUAL); |
|
| 644 | $useMinMax = true; |
|
| 645 | } |
|
| 646 | if ($useMinMax) { |
|
| 647 | return $this; |
|
| 648 | } |
|
| 649 | if (null === $comparison) { |
|
| 650 | $comparison = Criteria::IN; |
|
| 651 | } |
|
| 652 | } |
|
| 653 | ||
| 654 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active, $comparison); |
|
| 655 | } |
|
| 656 | ||
| 657 | /** |
|
| 658 | * Filter the query on the permanent column |
|
| @@ 675-696 (lines=22) @@ | ||
| 672 | * |
|
| 673 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 674 | */ |
|
| 675 | public function filterByPermanent($permanent = null, $comparison = null) |
|
| 676 | { |
|
| 677 | if (is_array($permanent)) { |
|
| 678 | $useMinMax = false; |
|
| 679 | if (isset($permanent['min'])) { |
|
| 680 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['min'], Criteria::GREATER_EQUAL); |
|
| 681 | $useMinMax = true; |
|
| 682 | } |
|
| 683 | if (isset($permanent['max'])) { |
|
| 684 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['max'], Criteria::LESS_EQUAL); |
|
| 685 | $useMinMax = true; |
|
| 686 | } |
|
| 687 | if ($useMinMax) { |
|
| 688 | return $this; |
|
| 689 | } |
|
| 690 | if (null === $comparison) { |
|
| 691 | $comparison = Criteria::IN; |
|
| 692 | } |
|
| 693 | } |
|
| 694 | ||
| 695 | return $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent, $comparison); |
|
| 696 | } |
|
| 697 | ||
| 698 | /** |
|
| 699 | * Filter the query by a related \xbanners\models\Banners object |
|
| @@ 283-304 (lines=22) @@ | ||
| 280 | * |
|
| 281 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
| 282 | */ |
|
| 283 | public function filterById($id = null, $comparison = null) |
|
| 284 | { |
|
| 285 | if (is_array($id)) { |
|
| 286 | $useMinMax = false; |
|
| 287 | if (isset($id['min'])) { |
|
| 288 | $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 289 | $useMinMax = true; |
|
| 290 | } |
|
| 291 | if (isset($id['max'])) { |
|
| 292 | $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 293 | $useMinMax = true; |
|
| 294 | } |
|
| 295 | if ($useMinMax) { |
|
| 296 | return $this; |
|
| 297 | } |
|
| 298 | if (null === $comparison) { |
|
| 299 | $comparison = Criteria::IN; |
|
| 300 | } |
|
| 301 | } |
|
| 302 | ||
| 303 | return $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id, $comparison); |
|
| 304 | } |
|
| 305 | ||
| 306 | /** |
|
| 307 | * Filter the query on the locale column |
|
| @@ 297-318 (lines=22) @@ | ||
| 294 | * |
|
| 295 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 296 | */ |
|
| 297 | public function filterById($id = null, $comparison = null) |
|
| 298 | { |
|
| 299 | if (is_array($id)) { |
|
| 300 | $useMinMax = false; |
|
| 301 | if (isset($id['min'])) { |
|
| 302 | $this->addUsingAlias(BannersTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 303 | $useMinMax = true; |
|
| 304 | } |
|
| 305 | if (isset($id['max'])) { |
|
| 306 | $this->addUsingAlias(BannersTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 307 | $useMinMax = true; |
|
| 308 | } |
|
| 309 | if ($useMinMax) { |
|
| 310 | return $this; |
|
| 311 | } |
|
| 312 | if (null === $comparison) { |
|
| 313 | $comparison = Criteria::IN; |
|
| 314 | } |
|
| 315 | } |
|
| 316 | ||
| 317 | return $this->addUsingAlias(BannersTableMap::COL_ID, $id, $comparison); |
|
| 318 | } |
|
| 319 | ||
| 320 | /** |
|
| 321 | * Filter the query on the place column |
|
| @@ 367-388 (lines=22) @@ | ||
| 364 | * |
|
| 365 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 366 | */ |
|
| 367 | public function filterByWidth($width = null, $comparison = null) |
|
| 368 | { |
|
| 369 | if (is_array($width)) { |
|
| 370 | $useMinMax = false; |
|
| 371 | if (isset($width['min'])) { |
|
| 372 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['min'], Criteria::GREATER_EQUAL); |
|
| 373 | $useMinMax = true; |
|
| 374 | } |
|
| 375 | if (isset($width['max'])) { |
|
| 376 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['max'], Criteria::LESS_EQUAL); |
|
| 377 | $useMinMax = true; |
|
| 378 | } |
|
| 379 | if ($useMinMax) { |
|
| 380 | return $this; |
|
| 381 | } |
|
| 382 | if (null === $comparison) { |
|
| 383 | $comparison = Criteria::IN; |
|
| 384 | } |
|
| 385 | } |
|
| 386 | ||
| 387 | return $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width, $comparison); |
|
| 388 | } |
|
| 389 | ||
| 390 | /** |
|
| 391 | * Filter the query on the height column |
|
| @@ 408-429 (lines=22) @@ | ||
| 405 | * |
|
| 406 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 407 | */ |
|
| 408 | public function filterByHeight($height = null, $comparison = null) |
|
| 409 | { |
|
| 410 | if (is_array($height)) { |
|
| 411 | $useMinMax = false; |
|
| 412 | if (isset($height['min'])) { |
|
| 413 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['min'], Criteria::GREATER_EQUAL); |
|
| 414 | $useMinMax = true; |
|
| 415 | } |
|
| 416 | if (isset($height['max'])) { |
|
| 417 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['max'], Criteria::LESS_EQUAL); |
|
| 418 | $useMinMax = true; |
|
| 419 | } |
|
| 420 | if ($useMinMax) { |
|
| 421 | return $this; |
|
| 422 | } |
|
| 423 | if (null === $comparison) { |
|
| 424 | $comparison = Criteria::IN; |
|
| 425 | } |
|
| 426 | } |
|
| 427 | ||
| 428 | return $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height, $comparison); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * Filter the query on the effects column |
|