@@ 450-462 (lines=13) @@ | ||
447 | * @param int $v new value |
|
448 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
449 | */ |
|
450 | public function setId($v) |
|
451 | { |
|
452 | if ($v !== null) { |
|
453 | $v = (int) $v; |
|
454 | } |
|
455 | ||
456 | if ($this->id !== $v) { |
|
457 | $this->id = $v; |
|
458 | $this->modifiedColumns[BannersTableMap::COL_ID] = true; |
|
459 | } |
|
460 | ||
461 | return $this; |
|
462 | } // setId() |
|
463 | ||
464 | /** |
|
465 | * Set the value of [place] column. |
|
@@ 470-482 (lines=13) @@ | ||
467 | * @param string $v new value |
|
468 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
469 | */ |
|
470 | public function setPlace($v) |
|
471 | { |
|
472 | if ($v !== null) { |
|
473 | $v = (string) $v; |
|
474 | } |
|
475 | ||
476 | if ($this->place !== $v) { |
|
477 | $this->place = $v; |
|
478 | $this->modifiedColumns[BannersTableMap::COL_PLACE] = true; |
|
479 | } |
|
480 | ||
481 | return $this; |
|
482 | } // setPlace() |
|
483 | ||
484 | /** |
|
485 | * Set the value of [width] column. |
|
@@ 490-502 (lines=13) @@ | ||
487 | * @param int $v new value |
|
488 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
489 | */ |
|
490 | public function setWidth($v) |
|
491 | { |
|
492 | if ($v !== null) { |
|
493 | $v = (int) $v; |
|
494 | } |
|
495 | ||
496 | if ($this->width !== $v) { |
|
497 | $this->width = $v; |
|
498 | $this->modifiedColumns[BannersTableMap::COL_WIDTH] = true; |
|
499 | } |
|
500 | ||
501 | return $this; |
|
502 | } // setWidth() |
|
503 | ||
504 | /** |
|
505 | * Set the value of [height] column. |
|
@@ 510-522 (lines=13) @@ | ||
507 | * @param int $v new value |
|
508 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
509 | */ |
|
510 | public function setHeight($v) |
|
511 | { |
|
512 | if ($v !== null) { |
|
513 | $v = (int) $v; |
|
514 | } |
|
515 | ||
516 | if ($this->height !== $v) { |
|
517 | $this->height = $v; |
|
518 | $this->modifiedColumns[BannersTableMap::COL_HEIGHT] = true; |
|
519 | } |
|
520 | ||
521 | return $this; |
|
522 | } // setHeight() |
|
523 | ||
524 | /** |
|
525 | * Set the value of [effects] column. |
|
@@ 530-542 (lines=13) @@ | ||
527 | * @param string $v new value |
|
528 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
529 | */ |
|
530 | public function setEffects($v) |
|
531 | { |
|
532 | if ($v !== null) { |
|
533 | $v = (string) $v; |
|
534 | } |
|
535 | ||
536 | if ($this->effects !== $v) { |
|
537 | $this->effects = $v; |
|
538 | $this->modifiedColumns[BannersTableMap::COL_EFFECTS] = true; |
|
539 | } |
|
540 | ||
541 | return $this; |
|
542 | } // setEffects() |
|
543 | ||
544 | /** |
|
545 | * Set the value of [page_type] column. |
|
@@ 550-562 (lines=13) @@ | ||
547 | * @param string $v new value |
|
548 | * @return $this|\xbanners\models\Banners The current object (for fluent API support) |
|
549 | */ |
|
550 | public function setPageType($v) |
|
551 | { |
|
552 | if ($v !== null) { |
|
553 | $v = (string) $v; |
|
554 | } |
|
555 | ||
556 | if ($this->page_type !== $v) { |
|
557 | $this->page_type = $v; |
|
558 | $this->modifiedColumns[BannersTableMap::COL_PAGE_TYPE] = true; |
|
559 | } |
|
560 | ||
561 | return $this; |
|
562 | } // setPageType() |
|
563 | ||
564 | /** |
|
565 | * Indicates whether the columns in this object are only set to default values. |
@@ 435-447 (lines=13) @@ | ||
432 | * @param int $v new value |
|
433 | * @return $this|\core\models\Route The current object (for fluent API support) |
|
434 | */ |
|
435 | public function setId($v) |
|
436 | { |
|
437 | if ($v !== null) { |
|
438 | $v = (int) $v; |
|
439 | } |
|
440 | ||
441 | if ($this->id !== $v) { |
|
442 | $this->id = $v; |
|
443 | $this->modifiedColumns[RouteTableMap::COL_ID] = true; |
|
444 | } |
|
445 | ||
446 | return $this; |
|
447 | } // setId() |
|
448 | ||
449 | /** |
|
450 | * Set the value of [entity_id] column. |