| @@ 510-522 (lines=13) @@ | ||
| 507 | * @param int $v new value |
|
| 508 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 509 | */ |
|
| 510 | public function setId($v) |
|
| 511 | { |
|
| 512 | if ($v !== null) { |
|
| 513 | $v = (int) $v; |
|
| 514 | } |
|
| 515 | ||
| 516 | if ($this->id !== $v) { |
|
| 517 | $this->id = $v; |
|
| 518 | $this->modifiedColumns[BannerImageTableMap::COL_ID] = true; |
|
| 519 | } |
|
| 520 | ||
| 521 | return $this; |
|
| 522 | } // setId() |
|
| 523 | ||
| 524 | /** |
|
| 525 | * Set the value of [banner_id] column. |
|
| @@ 554-566 (lines=13) @@ | ||
| 551 | * @param int $v new value |
|
| 552 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 553 | */ |
|
| 554 | public function setTarget($v) |
|
| 555 | { |
|
| 556 | if ($v !== null) { |
|
| 557 | $v = (int) $v; |
|
| 558 | } |
|
| 559 | ||
| 560 | if ($this->target !== $v) { |
|
| 561 | $this->target = $v; |
|
| 562 | $this->modifiedColumns[BannerImageTableMap::COL_TARGET] = true; |
|
| 563 | } |
|
| 564 | ||
| 565 | return $this; |
|
| 566 | } // setTarget() |
|
| 567 | ||
| 568 | /** |
|
| 569 | * Set the value of [url] column. |
|
| @@ 574-586 (lines=13) @@ | ||
| 571 | * @param string $v new value |
|
| 572 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 573 | */ |
|
| 574 | public function setUrl($v) |
|
| 575 | { |
|
| 576 | if ($v !== null) { |
|
| 577 | $v = (string) $v; |
|
| 578 | } |
|
| 579 | ||
| 580 | if ($this->url !== $v) { |
|
| 581 | $this->url = $v; |
|
| 582 | $this->modifiedColumns[BannerImageTableMap::COL_URL] = true; |
|
| 583 | } |
|
| 584 | ||
| 585 | return $this; |
|
| 586 | } // setUrl() |
|
| 587 | ||
| 588 | /** |
|
| 589 | * Set the value of [allowed_page] column. |
|
| @@ 594-606 (lines=13) @@ | ||
| 591 | * @param int $v new value |
|
| 592 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 593 | */ |
|
| 594 | public function setAllowedPage($v) |
|
| 595 | { |
|
| 596 | if ($v !== null) { |
|
| 597 | $v = (int) $v; |
|
| 598 | } |
|
| 599 | ||
| 600 | if ($this->allowed_page !== $v) { |
|
| 601 | $this->allowed_page = $v; |
|
| 602 | $this->modifiedColumns[BannerImageTableMap::COL_ALLOWED_PAGE] = true; |
|
| 603 | } |
|
| 604 | ||
| 605 | return $this; |
|
| 606 | } // setAllowedPage() |
|
| 607 | ||
| 608 | /** |
|
| 609 | * Set the value of [position] column. |
|
| @@ 614-626 (lines=13) @@ | ||
| 611 | * @param int $v new value |
|
| 612 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 613 | */ |
|
| 614 | public function setPosition($v) |
|
| 615 | { |
|
| 616 | if ($v !== null) { |
|
| 617 | $v = (int) $v; |
|
| 618 | } |
|
| 619 | ||
| 620 | if ($this->position !== $v) { |
|
| 621 | $this->position = $v; |
|
| 622 | $this->modifiedColumns[BannerImageTableMap::COL_POSITION] = true; |
|
| 623 | } |
|
| 624 | ||
| 625 | return $this; |
|
| 626 | } // setPosition() |
|
| 627 | ||
| 628 | /** |
|
| 629 | * Set the value of [active_from] column. |
|
| @@ 634-646 (lines=13) @@ | ||
| 631 | * @param int $v new value |
|
| 632 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 633 | */ |
|
| 634 | public function setActiveFrom($v) |
|
| 635 | { |
|
| 636 | if ($v !== null) { |
|
| 637 | $v = (int) $v; |
|
| 638 | } |
|
| 639 | ||
| 640 | if ($this->active_from !== $v) { |
|
| 641 | $this->active_from = $v; |
|
| 642 | $this->modifiedColumns[BannerImageTableMap::COL_ACTIVE_FROM] = true; |
|
| 643 | } |
|
| 644 | ||
| 645 | return $this; |
|
| 646 | } // setActiveFrom() |
|
| 647 | ||
| 648 | /** |
|
| 649 | * Set the value of [active_to] column. |
|
| @@ 654-666 (lines=13) @@ | ||
| 651 | * @param int $v new value |
|
| 652 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 653 | */ |
|
| 654 | public function setActiveTo($v) |
|
| 655 | { |
|
| 656 | if ($v !== null) { |
|
| 657 | $v = (int) $v; |
|
| 658 | } |
|
| 659 | ||
| 660 | if ($this->active_to !== $v) { |
|
| 661 | $this->active_to = $v; |
|
| 662 | $this->modifiedColumns[BannerImageTableMap::COL_ACTIVE_TO] = true; |
|
| 663 | } |
|
| 664 | ||
| 665 | return $this; |
|
| 666 | } // setActiveTo() |
|
| 667 | ||
| 668 | /** |
|
| 669 | * Set the value of [active] column. |
|
| @@ 674-686 (lines=13) @@ | ||
| 671 | * @param int $v new value |
|
| 672 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 673 | */ |
|
| 674 | public function setActive($v) |
|
| 675 | { |
|
| 676 | if ($v !== null) { |
|
| 677 | $v = (int) $v; |
|
| 678 | } |
|
| 679 | ||
| 680 | if ($this->active !== $v) { |
|
| 681 | $this->active = $v; |
|
| 682 | $this->modifiedColumns[BannerImageTableMap::COL_ACTIVE] = true; |
|
| 683 | } |
|
| 684 | ||
| 685 | return $this; |
|
| 686 | } // setActive() |
|
| 687 | ||
| 688 | /** |
|
| 689 | * Set the value of [permanent] column. |
|
| @@ 694-706 (lines=13) @@ | ||
| 691 | * @param int $v new value |
|
| 692 | * @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
|
| 693 | */ |
|
| 694 | public function setPermanent($v) |
|
| 695 | { |
|
| 696 | if ($v !== null) { |
|
| 697 | $v = (int) $v; |
|
| 698 | } |
|
| 699 | ||
| 700 | if ($this->permanent !== $v) { |
|
| 701 | $this->permanent = $v; |
|
| 702 | $this->modifiedColumns[BannerImageTableMap::COL_PERMANENT] = true; |
|
| 703 | } |
|
| 704 | ||
| 705 | return $this; |
|
| 706 | } // setPermanent() |
|
| 707 | ||
| 708 | /** |
|
| 709 | * Indicates whether the columns in this object are only set to default values. |
|