| @@ 304-325 (lines=22) @@ | ||
| 301 | * |
|
| 302 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 303 | */ |
|
| 304 | public function filterById($id = null, $comparison = null) |
|
| 305 | { |
|
| 306 | if (is_array($id)) { |
|
| 307 | $useMinMax = false; |
|
| 308 | if (isset($id['min'])) { |
|
| 309 | $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 310 | $useMinMax = true; |
|
| 311 | } |
|
| 312 | if (isset($id['max'])) { |
|
| 313 | $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 314 | $useMinMax = true; |
|
| 315 | } |
|
| 316 | if ($useMinMax) { |
|
| 317 | return $this; |
|
| 318 | } |
|
| 319 | if (null === $comparison) { |
|
| 320 | $comparison = Criteria::IN; |
|
| 321 | } |
|
| 322 | } |
|
| 323 | ||
| 324 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_ID, $id, $comparison); |
|
| 325 | } |
|
| 326 | ||
| 327 | /** |
|
| 328 | * Filter the query on the locale column |
|
| @@ 432-453 (lines=22) @@ | ||
| 429 | * |
|
| 430 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
| 431 | */ |
|
| 432 | public function filterByClicks($clicks = null, $comparison = null) |
|
| 433 | { |
|
| 434 | if (is_array($clicks)) { |
|
| 435 | $useMinMax = false; |
|
| 436 | if (isset($clicks['min'])) { |
|
| 437 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['min'], Criteria::GREATER_EQUAL); |
|
| 438 | $useMinMax = true; |
|
| 439 | } |
|
| 440 | if (isset($clicks['max'])) { |
|
| 441 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['max'], Criteria::LESS_EQUAL); |
|
| 442 | $useMinMax = true; |
|
| 443 | } |
|
| 444 | if ($useMinMax) { |
|
| 445 | return $this; |
|
| 446 | } |
|
| 447 | if (null === $comparison) { |
|
| 448 | $comparison = Criteria::IN; |
|
| 449 | } |
|
| 450 | } |
|
| 451 | ||
| 452 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks, $comparison); |
|
| 453 | } |
|
| 454 | ||
| 455 | /** |
|
| 456 | * Filter the query on the description column |
|
| @@ 322-343 (lines=22) @@ | ||
| 319 | * |
|
| 320 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 321 | */ |
|
| 322 | public function filterById($id = null, $comparison = null) |
|
| 323 | { |
|
| 324 | if (is_array($id)) { |
|
| 325 | $useMinMax = false; |
|
| 326 | if (isset($id['min'])) { |
|
| 327 | $this->addUsingAlias(BannerImageTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 328 | $useMinMax = true; |
|
| 329 | } |
|
| 330 | if (isset($id['max'])) { |
|
| 331 | $this->addUsingAlias(BannerImageTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 332 | $useMinMax = true; |
|
| 333 | } |
|
| 334 | if ($useMinMax) { |
|
| 335 | return $this; |
|
| 336 | } |
|
| 337 | if (null === $comparison) { |
|
| 338 | $comparison = Criteria::IN; |
|
| 339 | } |
|
| 340 | } |
|
| 341 | ||
| 342 | return $this->addUsingAlias(BannerImageTableMap::COL_ID, $id, $comparison); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * Filter the query on the banner_id column |
|
| @@ 365-386 (lines=22) @@ | ||
| 362 | * |
|
| 363 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 364 | */ |
|
| 365 | public function filterByBannerId($bannerId = null, $comparison = null) |
|
| 366 | { |
|
| 367 | if (is_array($bannerId)) { |
|
| 368 | $useMinMax = false; |
|
| 369 | if (isset($bannerId['min'])) { |
|
| 370 | $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId['min'], Criteria::GREATER_EQUAL); |
|
| 371 | $useMinMax = true; |
|
| 372 | } |
|
| 373 | if (isset($bannerId['max'])) { |
|
| 374 | $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId['max'], Criteria::LESS_EQUAL); |
|
| 375 | $useMinMax = true; |
|
| 376 | } |
|
| 377 | if ($useMinMax) { |
|
| 378 | return $this; |
|
| 379 | } |
|
| 380 | if (null === $comparison) { |
|
| 381 | $comparison = Criteria::IN; |
|
| 382 | } |
|
| 383 | } |
|
| 384 | ||
| 385 | return $this->addUsingAlias(BannerImageTableMap::COL_BANNER_ID, $bannerId, $comparison); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * Filter the query on the target column |
|
| @@ 406-427 (lines=22) @@ | ||
| 403 | * |
|
| 404 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 405 | */ |
|
| 406 | public function filterByTarget($target = null, $comparison = null) |
|
| 407 | { |
|
| 408 | if (is_array($target)) { |
|
| 409 | $useMinMax = false; |
|
| 410 | if (isset($target['min'])) { |
|
| 411 | $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target['min'], Criteria::GREATER_EQUAL); |
|
| 412 | $useMinMax = true; |
|
| 413 | } |
|
| 414 | if (isset($target['max'])) { |
|
| 415 | $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target['max'], Criteria::LESS_EQUAL); |
|
| 416 | $useMinMax = true; |
|
| 417 | } |
|
| 418 | if ($useMinMax) { |
|
| 419 | return $this; |
|
| 420 | } |
|
| 421 | if (null === $comparison) { |
|
| 422 | $comparison = Criteria::IN; |
|
| 423 | } |
|
| 424 | } |
|
| 425 | ||
| 426 | return $this->addUsingAlias(BannerImageTableMap::COL_TARGET, $target, $comparison); |
|
| 427 | } |
|
| 428 | ||
| 429 | /** |
|
| 430 | * Filter the query on the url column |
|
| @@ 476-497 (lines=22) @@ | ||
| 473 | * |
|
| 474 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 475 | */ |
|
| 476 | public function filterByAllowedPage($allowedPage = null, $comparison = null) |
|
| 477 | { |
|
| 478 | if (is_array($allowedPage)) { |
|
| 479 | $useMinMax = false; |
|
| 480 | if (isset($allowedPage['min'])) { |
|
| 481 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['min'], Criteria::GREATER_EQUAL); |
|
| 482 | $useMinMax = true; |
|
| 483 | } |
|
| 484 | if (isset($allowedPage['max'])) { |
|
| 485 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['max'], Criteria::LESS_EQUAL); |
|
| 486 | $useMinMax = true; |
|
| 487 | } |
|
| 488 | if ($useMinMax) { |
|
| 489 | return $this; |
|
| 490 | } |
|
| 491 | if (null === $comparison) { |
|
| 492 | $comparison = Criteria::IN; |
|
| 493 | } |
|
| 494 | } |
|
| 495 | ||
| 496 | return $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage, $comparison); |
|
| 497 | } |
|
| 498 | ||
| 499 | /** |
|
| 500 | * Filter the query on the position column |
|
| @@ 517-538 (lines=22) @@ | ||
| 514 | * |
|
| 515 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 516 | */ |
|
| 517 | public function filterByPosition($position = null, $comparison = null) |
|
| 518 | { |
|
| 519 | if (is_array($position)) { |
|
| 520 | $useMinMax = false; |
|
| 521 | if (isset($position['min'])) { |
|
| 522 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['min'], Criteria::GREATER_EQUAL); |
|
| 523 | $useMinMax = true; |
|
| 524 | } |
|
| 525 | if (isset($position['max'])) { |
|
| 526 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['max'], Criteria::LESS_EQUAL); |
|
| 527 | $useMinMax = true; |
|
| 528 | } |
|
| 529 | if ($useMinMax) { |
|
| 530 | return $this; |
|
| 531 | } |
|
| 532 | if (null === $comparison) { |
|
| 533 | $comparison = Criteria::IN; |
|
| 534 | } |
|
| 535 | } |
|
| 536 | ||
| 537 | return $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position, $comparison); |
|
| 538 | } |
|
| 539 | ||
| 540 | /** |
|
| 541 | * Filter the query on the active_from column |
|
| @@ 558-579 (lines=22) @@ | ||
| 555 | * |
|
| 556 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 557 | */ |
|
| 558 | public function filterByActiveFrom($activeFrom = null, $comparison = null) |
|
| 559 | { |
|
| 560 | if (is_array($activeFrom)) { |
|
| 561 | $useMinMax = false; |
|
| 562 | if (isset($activeFrom['min'])) { |
|
| 563 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['min'], Criteria::GREATER_EQUAL); |
|
| 564 | $useMinMax = true; |
|
| 565 | } |
|
| 566 | if (isset($activeFrom['max'])) { |
|
| 567 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['max'], Criteria::LESS_EQUAL); |
|
| 568 | $useMinMax = true; |
|
| 569 | } |
|
| 570 | if ($useMinMax) { |
|
| 571 | return $this; |
|
| 572 | } |
|
| 573 | if (null === $comparison) { |
|
| 574 | $comparison = Criteria::IN; |
|
| 575 | } |
|
| 576 | } |
|
| 577 | ||
| 578 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom, $comparison); |
|
| 579 | } |
|
| 580 | ||
| 581 | /** |
|
| 582 | * Filter the query on the active_to column |
|
| @@ 599-620 (lines=22) @@ | ||
| 596 | * |
|
| 597 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 598 | */ |
|
| 599 | public function filterByActiveTo($activeTo = null, $comparison = null) |
|
| 600 | { |
|
| 601 | if (is_array($activeTo)) { |
|
| 602 | $useMinMax = false; |
|
| 603 | if (isset($activeTo['min'])) { |
|
| 604 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['min'], Criteria::GREATER_EQUAL); |
|
| 605 | $useMinMax = true; |
|
| 606 | } |
|
| 607 | if (isset($activeTo['max'])) { |
|
| 608 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['max'], Criteria::LESS_EQUAL); |
|
| 609 | $useMinMax = true; |
|
| 610 | } |
|
| 611 | if ($useMinMax) { |
|
| 612 | return $this; |
|
| 613 | } |
|
| 614 | if (null === $comparison) { |
|
| 615 | $comparison = Criteria::IN; |
|
| 616 | } |
|
| 617 | } |
|
| 618 | ||
| 619 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo, $comparison); |
|
| 620 | } |
|
| 621 | ||
| 622 | /** |
|
| 623 | * Filter the query on the active column |
|
| @@ 640-661 (lines=22) @@ | ||
| 637 | * |
|
| 638 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 639 | */ |
|
| 640 | public function filterByActive($active = null, $comparison = null) |
|
| 641 | { |
|
| 642 | if (is_array($active)) { |
|
| 643 | $useMinMax = false; |
|
| 644 | if (isset($active['min'])) { |
|
| 645 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['min'], Criteria::GREATER_EQUAL); |
|
| 646 | $useMinMax = true; |
|
| 647 | } |
|
| 648 | if (isset($active['max'])) { |
|
| 649 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['max'], Criteria::LESS_EQUAL); |
|
| 650 | $useMinMax = true; |
|
| 651 | } |
|
| 652 | if ($useMinMax) { |
|
| 653 | return $this; |
|
| 654 | } |
|
| 655 | if (null === $comparison) { |
|
| 656 | $comparison = Criteria::IN; |
|
| 657 | } |
|
| 658 | } |
|
| 659 | ||
| 660 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active, $comparison); |
|
| 661 | } |
|
| 662 | ||
| 663 | /** |
|
| 664 | * Filter the query on the permanent column |
|
| @@ 681-702 (lines=22) @@ | ||
| 678 | * |
|
| 679 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
| 680 | */ |
|
| 681 | public function filterByPermanent($permanent = null, $comparison = null) |
|
| 682 | { |
|
| 683 | if (is_array($permanent)) { |
|
| 684 | $useMinMax = false; |
|
| 685 | if (isset($permanent['min'])) { |
|
| 686 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['min'], Criteria::GREATER_EQUAL); |
|
| 687 | $useMinMax = true; |
|
| 688 | } |
|
| 689 | if (isset($permanent['max'])) { |
|
| 690 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['max'], Criteria::LESS_EQUAL); |
|
| 691 | $useMinMax = true; |
|
| 692 | } |
|
| 693 | if ($useMinMax) { |
|
| 694 | return $this; |
|
| 695 | } |
|
| 696 | if (null === $comparison) { |
|
| 697 | $comparison = Criteria::IN; |
|
| 698 | } |
|
| 699 | } |
|
| 700 | ||
| 701 | return $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent, $comparison); |
|
| 702 | } |
|
| 703 | ||
| 704 | /** |
|
| 705 | * Filter the query by a related \xbanners\models\Banners object |
|
| @@ 289-310 (lines=22) @@ | ||
| 286 | * |
|
| 287 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
| 288 | */ |
|
| 289 | public function filterById($id = null, $comparison = null) |
|
| 290 | { |
|
| 291 | if (is_array($id)) { |
|
| 292 | $useMinMax = false; |
|
| 293 | if (isset($id['min'])) { |
|
| 294 | $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 295 | $useMinMax = true; |
|
| 296 | } |
|
| 297 | if (isset($id['max'])) { |
|
| 298 | $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 299 | $useMinMax = true; |
|
| 300 | } |
|
| 301 | if ($useMinMax) { |
|
| 302 | return $this; |
|
| 303 | } |
|
| 304 | if (null === $comparison) { |
|
| 305 | $comparison = Criteria::IN; |
|
| 306 | } |
|
| 307 | } |
|
| 308 | ||
| 309 | return $this->addUsingAlias(BannersI18nTableMap::COL_ID, $id, $comparison); |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * Filter the query on the locale column |
|
| @@ 303-324 (lines=22) @@ | ||
| 300 | * |
|
| 301 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 302 | */ |
|
| 303 | public function filterById($id = null, $comparison = null) |
|
| 304 | { |
|
| 305 | if (is_array($id)) { |
|
| 306 | $useMinMax = false; |
|
| 307 | if (isset($id['min'])) { |
|
| 308 | $this->addUsingAlias(BannersTableMap::COL_ID, $id['min'], Criteria::GREATER_EQUAL); |
|
| 309 | $useMinMax = true; |
|
| 310 | } |
|
| 311 | if (isset($id['max'])) { |
|
| 312 | $this->addUsingAlias(BannersTableMap::COL_ID, $id['max'], Criteria::LESS_EQUAL); |
|
| 313 | $useMinMax = true; |
|
| 314 | } |
|
| 315 | if ($useMinMax) { |
|
| 316 | return $this; |
|
| 317 | } |
|
| 318 | if (null === $comparison) { |
|
| 319 | $comparison = Criteria::IN; |
|
| 320 | } |
|
| 321 | } |
|
| 322 | ||
| 323 | return $this->addUsingAlias(BannersTableMap::COL_ID, $id, $comparison); |
|
| 324 | } |
|
| 325 | ||
| 326 | /** |
|
| 327 | * Filter the query on the place column |
|
| @@ 373-394 (lines=22) @@ | ||
| 370 | * |
|
| 371 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 372 | */ |
|
| 373 | public function filterByWidth($width = null, $comparison = null) |
|
| 374 | { |
|
| 375 | if (is_array($width)) { |
|
| 376 | $useMinMax = false; |
|
| 377 | if (isset($width['min'])) { |
|
| 378 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['min'], Criteria::GREATER_EQUAL); |
|
| 379 | $useMinMax = true; |
|
| 380 | } |
|
| 381 | if (isset($width['max'])) { |
|
| 382 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['max'], Criteria::LESS_EQUAL); |
|
| 383 | $useMinMax = true; |
|
| 384 | } |
|
| 385 | if ($useMinMax) { |
|
| 386 | return $this; |
|
| 387 | } |
|
| 388 | if (null === $comparison) { |
|
| 389 | $comparison = Criteria::IN; |
|
| 390 | } |
|
| 391 | } |
|
| 392 | ||
| 393 | return $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width, $comparison); |
|
| 394 | } |
|
| 395 | ||
| 396 | /** |
|
| 397 | * Filter the query on the height column |
|
| @@ 414-435 (lines=22) @@ | ||
| 411 | * |
|
| 412 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
| 413 | */ |
|
| 414 | public function filterByHeight($height = null, $comparison = null) |
|
| 415 | { |
|
| 416 | if (is_array($height)) { |
|
| 417 | $useMinMax = false; |
|
| 418 | if (isset($height['min'])) { |
|
| 419 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['min'], Criteria::GREATER_EQUAL); |
|
| 420 | $useMinMax = true; |
|
| 421 | } |
|
| 422 | if (isset($height['max'])) { |
|
| 423 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['max'], Criteria::LESS_EQUAL); |
|
| 424 | $useMinMax = true; |
|
| 425 | } |
|
| 426 | if ($useMinMax) { |
|
| 427 | return $this; |
|
| 428 | } |
|
| 429 | if (null === $comparison) { |
|
| 430 | $comparison = Criteria::IN; |
|
| 431 | } |
|
| 432 | } |
|
| 433 | ||
| 434 | return $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height, $comparison); |
|
| 435 | } |
|
| 436 | ||
| 437 | /** |
|
| 438 | * Filter the query on the effects column |
|