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