@@ 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 |
|
@@ 420-441 (lines=22) @@ | ||
417 | * |
|
418 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
419 | */ |
|
420 | public function filterByClicks($clicks = null, $comparison = null) |
|
421 | { |
|
422 | if (is_array($clicks)) { |
|
423 | $useMinMax = false; |
|
424 | if (isset($clicks['min'])) { |
|
425 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['min'], Criteria::GREATER_EQUAL); |
|
426 | $useMinMax = true; |
|
427 | } |
|
428 | if (isset($clicks['max'])) { |
|
429 | $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks['max'], Criteria::LESS_EQUAL); |
|
430 | $useMinMax = true; |
|
431 | } |
|
432 | if ($useMinMax) { |
|
433 | return $this; |
|
434 | } |
|
435 | if (null === $comparison) { |
|
436 | $comparison = Criteria::IN; |
|
437 | } |
|
438 | } |
|
439 | ||
440 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_CLICKS, $clicks, $comparison); |
|
441 | } |
|
442 | ||
443 | /** |
|
444 | * 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 |
|
@@ 472-493 (lines=22) @@ | ||
469 | * |
|
470 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
471 | */ |
|
472 | public function filterByAllowedPage($allowedPage = null, $comparison = null) |
|
473 | { |
|
474 | if (is_array($allowedPage)) { |
|
475 | $useMinMax = false; |
|
476 | if (isset($allowedPage['min'])) { |
|
477 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['min'], Criteria::GREATER_EQUAL); |
|
478 | $useMinMax = true; |
|
479 | } |
|
480 | if (isset($allowedPage['max'])) { |
|
481 | $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage['max'], Criteria::LESS_EQUAL); |
|
482 | $useMinMax = true; |
|
483 | } |
|
484 | if ($useMinMax) { |
|
485 | return $this; |
|
486 | } |
|
487 | if (null === $comparison) { |
|
488 | $comparison = Criteria::IN; |
|
489 | } |
|
490 | } |
|
491 | ||
492 | return $this->addUsingAlias(BannerImageTableMap::COL_ALLOWED_PAGE, $allowedPage, $comparison); |
|
493 | } |
|
494 | ||
495 | /** |
|
496 | * Filter the query on the position column |
|
@@ 513-534 (lines=22) @@ | ||
510 | * |
|
511 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
512 | */ |
|
513 | public function filterByPosition($position = null, $comparison = null) |
|
514 | { |
|
515 | if (is_array($position)) { |
|
516 | $useMinMax = false; |
|
517 | if (isset($position['min'])) { |
|
518 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['min'], Criteria::GREATER_EQUAL); |
|
519 | $useMinMax = true; |
|
520 | } |
|
521 | if (isset($position['max'])) { |
|
522 | $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position['max'], Criteria::LESS_EQUAL); |
|
523 | $useMinMax = true; |
|
524 | } |
|
525 | if ($useMinMax) { |
|
526 | return $this; |
|
527 | } |
|
528 | if (null === $comparison) { |
|
529 | $comparison = Criteria::IN; |
|
530 | } |
|
531 | } |
|
532 | ||
533 | return $this->addUsingAlias(BannerImageTableMap::COL_POSITION, $position, $comparison); |
|
534 | } |
|
535 | ||
536 | /** |
|
537 | * Filter the query on the active_from column |
|
@@ 554-575 (lines=22) @@ | ||
551 | * |
|
552 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
553 | */ |
|
554 | public function filterByActiveFrom($activeFrom = null, $comparison = null) |
|
555 | { |
|
556 | if (is_array($activeFrom)) { |
|
557 | $useMinMax = false; |
|
558 | if (isset($activeFrom['min'])) { |
|
559 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['min'], Criteria::GREATER_EQUAL); |
|
560 | $useMinMax = true; |
|
561 | } |
|
562 | if (isset($activeFrom['max'])) { |
|
563 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom['max'], Criteria::LESS_EQUAL); |
|
564 | $useMinMax = true; |
|
565 | } |
|
566 | if ($useMinMax) { |
|
567 | return $this; |
|
568 | } |
|
569 | if (null === $comparison) { |
|
570 | $comparison = Criteria::IN; |
|
571 | } |
|
572 | } |
|
573 | ||
574 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_FROM, $activeFrom, $comparison); |
|
575 | } |
|
576 | ||
577 | /** |
|
578 | * Filter the query on the active_to column |
|
@@ 595-616 (lines=22) @@ | ||
592 | * |
|
593 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
594 | */ |
|
595 | public function filterByActiveTo($activeTo = null, $comparison = null) |
|
596 | { |
|
597 | if (is_array($activeTo)) { |
|
598 | $useMinMax = false; |
|
599 | if (isset($activeTo['min'])) { |
|
600 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['min'], Criteria::GREATER_EQUAL); |
|
601 | $useMinMax = true; |
|
602 | } |
|
603 | if (isset($activeTo['max'])) { |
|
604 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo['max'], Criteria::LESS_EQUAL); |
|
605 | $useMinMax = true; |
|
606 | } |
|
607 | if ($useMinMax) { |
|
608 | return $this; |
|
609 | } |
|
610 | if (null === $comparison) { |
|
611 | $comparison = Criteria::IN; |
|
612 | } |
|
613 | } |
|
614 | ||
615 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE_TO, $activeTo, $comparison); |
|
616 | } |
|
617 | ||
618 | /** |
|
619 | * Filter the query on the active column |
|
@@ 636-657 (lines=22) @@ | ||
633 | * |
|
634 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
635 | */ |
|
636 | public function filterByActive($active = null, $comparison = null) |
|
637 | { |
|
638 | if (is_array($active)) { |
|
639 | $useMinMax = false; |
|
640 | if (isset($active['min'])) { |
|
641 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['min'], Criteria::GREATER_EQUAL); |
|
642 | $useMinMax = true; |
|
643 | } |
|
644 | if (isset($active['max'])) { |
|
645 | $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active['max'], Criteria::LESS_EQUAL); |
|
646 | $useMinMax = true; |
|
647 | } |
|
648 | if ($useMinMax) { |
|
649 | return $this; |
|
650 | } |
|
651 | if (null === $comparison) { |
|
652 | $comparison = Criteria::IN; |
|
653 | } |
|
654 | } |
|
655 | ||
656 | return $this->addUsingAlias(BannerImageTableMap::COL_ACTIVE, $active, $comparison); |
|
657 | } |
|
658 | ||
659 | /** |
|
660 | * Filter the query on the permanent column |
|
@@ 677-698 (lines=22) @@ | ||
674 | * |
|
675 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
676 | */ |
|
677 | public function filterByPermanent($permanent = null, $comparison = null) |
|
678 | { |
|
679 | if (is_array($permanent)) { |
|
680 | $useMinMax = false; |
|
681 | if (isset($permanent['min'])) { |
|
682 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['min'], Criteria::GREATER_EQUAL); |
|
683 | $useMinMax = true; |
|
684 | } |
|
685 | if (isset($permanent['max'])) { |
|
686 | $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent['max'], Criteria::LESS_EQUAL); |
|
687 | $useMinMax = true; |
|
688 | } |
|
689 | if ($useMinMax) { |
|
690 | return $this; |
|
691 | } |
|
692 | if (null === $comparison) { |
|
693 | $comparison = Criteria::IN; |
|
694 | } |
|
695 | } |
|
696 | ||
697 | return $this->addUsingAlias(BannerImageTableMap::COL_PERMANENT, $permanent, $comparison); |
|
698 | } |
|
699 | ||
700 | /** |
|
701 | * 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 |
|
@@ 369-390 (lines=22) @@ | ||
366 | * |
|
367 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
368 | */ |
|
369 | public function filterByWidth($width = null, $comparison = null) |
|
370 | { |
|
371 | if (is_array($width)) { |
|
372 | $useMinMax = false; |
|
373 | if (isset($width['min'])) { |
|
374 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['min'], Criteria::GREATER_EQUAL); |
|
375 | $useMinMax = true; |
|
376 | } |
|
377 | if (isset($width['max'])) { |
|
378 | $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width['max'], Criteria::LESS_EQUAL); |
|
379 | $useMinMax = true; |
|
380 | } |
|
381 | if ($useMinMax) { |
|
382 | return $this; |
|
383 | } |
|
384 | if (null === $comparison) { |
|
385 | $comparison = Criteria::IN; |
|
386 | } |
|
387 | } |
|
388 | ||
389 | return $this->addUsingAlias(BannersTableMap::COL_WIDTH, $width, $comparison); |
|
390 | } |
|
391 | ||
392 | /** |
|
393 | * Filter the query on the height column |
|
@@ 410-431 (lines=22) @@ | ||
407 | * |
|
408 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
409 | */ |
|
410 | public function filterByHeight($height = null, $comparison = null) |
|
411 | { |
|
412 | if (is_array($height)) { |
|
413 | $useMinMax = false; |
|
414 | if (isset($height['min'])) { |
|
415 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['min'], Criteria::GREATER_EQUAL); |
|
416 | $useMinMax = true; |
|
417 | } |
|
418 | if (isset($height['max'])) { |
|
419 | $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height['max'], Criteria::LESS_EQUAL); |
|
420 | $useMinMax = true; |
|
421 | } |
|
422 | if ($useMinMax) { |
|
423 | return $this; |
|
424 | } |
|
425 | if (null === $comparison) { |
|
426 | $comparison = Criteria::IN; |
|
427 | } |
|
428 | } |
|
429 | ||
430 | return $this->addUsingAlias(BannersTableMap::COL_HEIGHT, $height, $comparison); |
|
431 | } |
|
432 | ||
433 | /** |
|
434 | * Filter the query on the effects column |