@@ 342-354 (lines=13) @@ | ||
339 | * |
|
340 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
341 | */ |
|
342 | public function filterByLocale($locale = null, $comparison = null) |
|
343 | { |
|
344 | if (null === $comparison) { |
|
345 | if (is_array($locale)) { |
|
346 | $comparison = Criteria::IN; |
|
347 | } elseif (preg_match('/[\%\*]/', $locale)) { |
|
348 | $locale = str_replace('*', '%', $locale); |
|
349 | $comparison = Criteria::LIKE; |
|
350 | } |
|
351 | } |
|
352 | ||
353 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_LOCALE, $locale, $comparison); |
|
354 | } |
|
355 | ||
356 | /** |
|
357 | * Filter the query on the src column |
|
@@ 371-383 (lines=13) @@ | ||
368 | * |
|
369 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
370 | */ |
|
371 | public function filterBySrc($src = null, $comparison = null) |
|
372 | { |
|
373 | if (null === $comparison) { |
|
374 | if (is_array($src)) { |
|
375 | $comparison = Criteria::IN; |
|
376 | } elseif (preg_match('/[\%\*]/', $src)) { |
|
377 | $src = str_replace('*', '%', $src); |
|
378 | $comparison = Criteria::LIKE; |
|
379 | } |
|
380 | } |
|
381 | ||
382 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_SRC, $src, $comparison); |
|
383 | } |
|
384 | ||
385 | /** |
|
386 | * Filter the query on the name column |
|
@@ 400-412 (lines=13) @@ | ||
397 | * |
|
398 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
399 | */ |
|
400 | public function filterByName($name = null, $comparison = null) |
|
401 | { |
|
402 | if (null === $comparison) { |
|
403 | if (is_array($name)) { |
|
404 | $comparison = Criteria::IN; |
|
405 | } elseif (preg_match('/[\%\*]/', $name)) { |
|
406 | $name = str_replace('*', '%', $name); |
|
407 | $comparison = Criteria::LIKE; |
|
408 | } |
|
409 | } |
|
410 | ||
411 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_NAME, $name, $comparison); |
|
412 | } |
|
413 | ||
414 | /** |
|
415 | * Filter the query on the clicks column |
|
@@ 470-482 (lines=13) @@ | ||
467 | * |
|
468 | * @return $this|ChildBannerImageI18nQuery The current query, for fluid interface |
|
469 | */ |
|
470 | public function filterByDescription($description = null, $comparison = null) |
|
471 | { |
|
472 | if (null === $comparison) { |
|
473 | if (is_array($description)) { |
|
474 | $comparison = Criteria::IN; |
|
475 | } elseif (preg_match('/[\%\*]/', $description)) { |
|
476 | $description = str_replace('*', '%', $description); |
|
477 | $comparison = Criteria::LIKE; |
|
478 | } |
|
479 | } |
|
480 | ||
481 | return $this->addUsingAlias(BannerImageI18nTableMap::COL_DESCRIPTION, $description, $comparison); |
|
482 | } |
|
483 | ||
484 | /** |
|
485 | * Filter the query by a related \xbanners\models\BannerImage object |
@@ 444-456 (lines=13) @@ | ||
441 | * |
|
442 | * @return $this|ChildBannerImageQuery The current query, for fluid interface |
|
443 | */ |
|
444 | public function filterByUrl($url = null, $comparison = null) |
|
445 | { |
|
446 | if (null === $comparison) { |
|
447 | if (is_array($url)) { |
|
448 | $comparison = Criteria::IN; |
|
449 | } elseif (preg_match('/[\%\*]/', $url)) { |
|
450 | $url = str_replace('*', '%', $url); |
|
451 | $comparison = Criteria::LIKE; |
|
452 | } |
|
453 | } |
|
454 | ||
455 | return $this->addUsingAlias(BannerImageTableMap::COL_URL, $url, $comparison); |
|
456 | } |
|
457 | ||
458 | /** |
|
459 | * Filter the query on the allowed_page column |
@@ 327-339 (lines=13) @@ | ||
324 | * |
|
325 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
326 | */ |
|
327 | public function filterByLocale($locale = null, $comparison = null) |
|
328 | { |
|
329 | if (null === $comparison) { |
|
330 | if (is_array($locale)) { |
|
331 | $comparison = Criteria::IN; |
|
332 | } elseif (preg_match('/[\%\*]/', $locale)) { |
|
333 | $locale = str_replace('*', '%', $locale); |
|
334 | $comparison = Criteria::LIKE; |
|
335 | } |
|
336 | } |
|
337 | ||
338 | return $this->addUsingAlias(BannersI18nTableMap::COL_LOCALE, $locale, $comparison); |
|
339 | } |
|
340 | ||
341 | /** |
|
342 | * Filter the query on the name column |
|
@@ 356-368 (lines=13) @@ | ||
353 | * |
|
354 | * @return $this|ChildBannersI18nQuery The current query, for fluid interface |
|
355 | */ |
|
356 | public function filterByName($name = null, $comparison = null) |
|
357 | { |
|
358 | if (null === $comparison) { |
|
359 | if (is_array($name)) { |
|
360 | $comparison = Criteria::IN; |
|
361 | } elseif (preg_match('/[\%\*]/', $name)) { |
|
362 | $name = str_replace('*', '%', $name); |
|
363 | $comparison = Criteria::LIKE; |
|
364 | } |
|
365 | } |
|
366 | ||
367 | return $this->addUsingAlias(BannersI18nTableMap::COL_NAME, $name, $comparison); |
|
368 | } |
|
369 | ||
370 | /** |
|
371 | * Filter the query by a related \xbanners\models\Banners object |
@@ 341-353 (lines=13) @@ | ||
338 | * |
|
339 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
340 | */ |
|
341 | public function filterByPlace($place = null, $comparison = null) |
|
342 | { |
|
343 | if (null === $comparison) { |
|
344 | if (is_array($place)) { |
|
345 | $comparison = Criteria::IN; |
|
346 | } elseif (preg_match('/[\%\*]/', $place)) { |
|
347 | $place = str_replace('*', '%', $place); |
|
348 | $comparison = Criteria::LIKE; |
|
349 | } |
|
350 | } |
|
351 | ||
352 | return $this->addUsingAlias(BannersTableMap::COL_PLACE, $place, $comparison); |
|
353 | } |
|
354 | ||
355 | /** |
|
356 | * Filter the query on the width column |
|
@@ 452-464 (lines=13) @@ | ||
449 | * |
|
450 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
451 | */ |
|
452 | public function filterByEffects($effects = null, $comparison = null) |
|
453 | { |
|
454 | if (null === $comparison) { |
|
455 | if (is_array($effects)) { |
|
456 | $comparison = Criteria::IN; |
|
457 | } elseif (preg_match('/[\%\*]/', $effects)) { |
|
458 | $effects = str_replace('*', '%', $effects); |
|
459 | $comparison = Criteria::LIKE; |
|
460 | } |
|
461 | } |
|
462 | ||
463 | return $this->addUsingAlias(BannersTableMap::COL_EFFECTS, $effects, $comparison); |
|
464 | } |
|
465 | ||
466 | /** |
|
467 | * Filter the query on the page_type column |
|
@@ 481-493 (lines=13) @@ | ||
478 | * |
|
479 | * @return $this|ChildBannersQuery The current query, for fluid interface |
|
480 | */ |
|
481 | public function filterByPageType($pageType = null, $comparison = null) |
|
482 | { |
|
483 | if (null === $comparison) { |
|
484 | if (is_array($pageType)) { |
|
485 | $comparison = Criteria::IN; |
|
486 | } elseif (preg_match('/[\%\*]/', $pageType)) { |
|
487 | $pageType = str_replace('*', '%', $pageType); |
|
488 | $comparison = Criteria::LIKE; |
|
489 | } |
|
490 | } |
|
491 | ||
492 | return $this->addUsingAlias(BannersTableMap::COL_PAGE_TYPE, $pageType, $comparison); |
|
493 | } |
|
494 | ||
495 | /** |
|
496 | * Filter the query by a related \xbanners\models\BannerImage object |