| @@ 518-529 (lines=12) @@ | ||
| 515 | * Empty strings are treated as NULL. |
|
| 516 | * @return $this|\Jalle19\StatusManager\Database\Connection The current object (for fluent API support) |
|
| 517 | */ |
|
| 518 | public function setStarted($v) |
|
| 519 | { |
|
| 520 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 521 | if ($this->started !== null || $dt !== null) { |
|
| 522 | if ($this->started === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->started->format("Y-m-d H:i:s")) { |
|
| 523 | $this->started = $dt === null ? null : clone $dt; |
|
| 524 | $this->modifiedColumns[ConnectionTableMap::COL_STARTED] = true; |
|
| 525 | } |
|
| 526 | } // if either are not null |
|
| 527 | ||
| 528 | return $this; |
|
| 529 | } // setStarted() |
|
| 530 | ||
| 531 | /** |
|
| 532 | * Set the value of [type] column. |
|
| @@ 501-512 (lines=12) @@ | ||
| 498 | * Empty strings are treated as NULL. |
|
| 499 | * @return $this|\Jalle19\StatusManager\Database\Input The current object (for fluent API support) |
|
| 500 | */ |
|
| 501 | public function setStarted($v) |
|
| 502 | { |
|
| 503 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 504 | if ($this->started !== null || $dt !== null) { |
|
| 505 | if ($this->started === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->started->format("Y-m-d H:i:s")) { |
|
| 506 | $this->started = $dt === null ? null : clone $dt; |
|
| 507 | $this->modifiedColumns[InputTableMap::COL_STARTED] = true; |
|
| 508 | } |
|
| 509 | } // if either are not null |
|
| 510 | ||
| 511 | return $this; |
|
| 512 | } // setStarted() |
|
| 513 | ||
| 514 | /** |
|
| 515 | * Set the value of [input] column. |
|
| @@ 658-669 (lines=12) @@ | ||
| 655 | * Empty strings are treated as NULL. |
|
| 656 | * @return $this|\Jalle19\StatusManager\Database\Subscription The current object (for fluent API support) |
|
| 657 | */ |
|
| 658 | public function setStarted($v) |
|
| 659 | { |
|
| 660 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 661 | if ($this->started !== null || $dt !== null) { |
|
| 662 | if ($this->started === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->started->format("Y-m-d H:i:s")) { |
|
| 663 | $this->started = $dt === null ? null : clone $dt; |
|
| 664 | $this->modifiedColumns[SubscriptionTableMap::COL_STARTED] = true; |
|
| 665 | } |
|
| 666 | } // if either are not null |
|
| 667 | ||
| 668 | return $this; |
|
| 669 | } // setStarted() |
|
| 670 | ||
| 671 | /** |
|
| 672 | * Sets the value of [stopped] column to a normalized version of the date/time value specified. |
|
| @@ 678-689 (lines=12) @@ | ||
| 675 | * Empty strings are treated as NULL. |
|
| 676 | * @return $this|\Jalle19\StatusManager\Database\Subscription The current object (for fluent API support) |
|
| 677 | */ |
|
| 678 | public function setStopped($v) |
|
| 679 | { |
|
| 680 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 681 | if ($this->stopped !== null || $dt !== null) { |
|
| 682 | if ($this->stopped === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->stopped->format("Y-m-d H:i:s")) { |
|
| 683 | $this->stopped = $dt === null ? null : clone $dt; |
|
| 684 | $this->modifiedColumns[SubscriptionTableMap::COL_STOPPED] = true; |
|
| 685 | } |
|
| 686 | } // if either are not null |
|
| 687 | ||
| 688 | return $this; |
|
| 689 | } // setStopped() |
|
| 690 | ||
| 691 | /** |
|
| 692 | * Set the value of [title] column. |
|