| @@ 384-395 (lines=12) @@ | ||
| 381 | * Empty strings are treated as NULL. |
|
| 382 | * @return $this|\Models\Task\Task The current object (for fluent API support) |
|
| 383 | */ |
|
| 384 | public function setCreatedAt($v) |
|
| 385 | { |
|
| 386 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 387 | if ($this->created_at !== null || $dt !== null) { |
|
| 388 | if ($this->created_at === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->created_at->format("Y-m-d H:i:s")) { |
|
| 389 | $this->created_at = $dt === null ? null : clone $dt; |
|
| 390 | $this->modifiedColumns[TaskTableMap::COL_CREATED_AT] = true; |
|
| 391 | } |
|
| 392 | } // if either are not null |
|
| 393 | ||
| 394 | return $this; |
|
| 395 | } // setCreatedAt() |
|
| 396 | ||
| 397 | /** |
|
| 398 | * Sets the value of [updated_at] column to a normalized version of the date/time value specified. |
|
| @@ 404-415 (lines=12) @@ | ||
| 401 | * Empty strings are treated as NULL. |
|
| 402 | * @return $this|\Models\Task\Task The current object (for fluent API support) |
|
| 403 | */ |
|
| 404 | public function setUpdatedAt($v) |
|
| 405 | { |
|
| 406 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 407 | if ($this->updated_at !== null || $dt !== null) { |
|
| 408 | if ($this->updated_at === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->updated_at->format("Y-m-d H:i:s")) { |
|
| 409 | $this->updated_at = $dt === null ? null : clone $dt; |
|
| 410 | $this->modifiedColumns[TaskTableMap::COL_UPDATED_AT] = true; |
|
| 411 | } |
|
| 412 | } // if either are not null |
|
| 413 | ||
| 414 | return $this; |
|
| 415 | } // setUpdatedAt() |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Indicates whether the columns in this object are only set to default values. |
|
| @@ 528-539 (lines=12) @@ | ||
| 525 | * Empty strings are treated as NULL. |
|
| 526 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 527 | */ |
|
| 528 | public function setCreatedAt($v) |
|
| 529 | { |
|
| 530 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 531 | if ($this->created_at !== null || $dt !== null) { |
|
| 532 | if ($this->created_at === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->created_at->format("Y-m-d H:i:s")) { |
|
| 533 | $this->created_at = $dt === null ? null : clone $dt; |
|
| 534 | $this->modifiedColumns[UserTableMap::COL_CREATED_AT] = true; |
|
| 535 | } |
|
| 536 | } // if either are not null |
|
| 537 | ||
| 538 | return $this; |
|
| 539 | } // setCreatedAt() |
|
| 540 | ||
| 541 | /** |
|
| 542 | * Sets the value of [updated_at] column to a normalized version of the date/time value specified. |
|
| @@ 548-559 (lines=12) @@ | ||
| 545 | * Empty strings are treated as NULL. |
|
| 546 | * @return $this|\Models\User\User The current object (for fluent API support) |
|
| 547 | */ |
|
| 548 | public function setUpdatedAt($v) |
|
| 549 | { |
|
| 550 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 551 | if ($this->updated_at !== null || $dt !== null) { |
|
| 552 | if ($this->updated_at === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->updated_at->format("Y-m-d H:i:s")) { |
|
| 553 | $this->updated_at = $dt === null ? null : clone $dt; |
|
| 554 | $this->modifiedColumns[UserTableMap::COL_UPDATED_AT] = true; |
|
| 555 | } |
|
| 556 | } // if either are not null |
|
| 557 | ||
| 558 | return $this; |
|
| 559 | } // setUpdatedAt() |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates whether the columns in this object are only set to default values. |
|