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