| @@ 384-395 (lines=12) @@ | ||
| 381 | * Empty strings are treated as NULL. |
|
| 382 | * @return $this|\Core\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|\Core\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. |
|
| @@ 555-566 (lines=12) @@ | ||
| 552 | * Empty strings are treated as NULL. |
|
| 553 | * @return $this|\Core\Models\User\User The current object (for fluent API support) |
|
| 554 | */ |
|
| 555 | public function setCreatedAt($v) |
|
| 556 | { |
|
| 557 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 558 | if ($this->created_at !== null || $dt !== null) { |
|
| 559 | 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")) { |
|
| 560 | $this->created_at = $dt === null ? null : clone $dt; |
|
| 561 | $this->modifiedColumns[UserTableMap::COL_CREATED_AT] = true; |
|
| 562 | } |
|
| 563 | } // if either are not null |
|
| 564 | ||
| 565 | return $this; |
|
| 566 | } // setCreatedAt() |
|
| 567 | ||
| 568 | /** |
|
| 569 | * Sets the value of [updated_at] column to a normalized version of the date/time value specified. |
|
| @@ 575-586 (lines=12) @@ | ||
| 572 | * Empty strings are treated as NULL. |
|
| 573 | * @return $this|\Core\Models\User\User The current object (for fluent API support) |
|
| 574 | */ |
|
| 575 | public function setUpdatedAt($v) |
|
| 576 | { |
|
| 577 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 578 | if ($this->updated_at !== null || $dt !== null) { |
|
| 579 | 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")) { |
|
| 580 | $this->updated_at = $dt === null ? null : clone $dt; |
|
| 581 | $this->modifiedColumns[UserTableMap::COL_UPDATED_AT] = true; |
|
| 582 | } |
|
| 583 | } // if either are not null |
|
| 584 | ||
| 585 | return $this; |
|
| 586 | } // setUpdatedAt() |
|
| 587 | ||
| 588 | /** |
|
| 589 | * Indicates whether the columns in this object are only set to default values. |
|
| @@ 410-421 (lines=12) @@ | ||
| 407 | * Empty strings are treated as NULL. |
|
| 408 | * @return $this|\Selfprice\Models\Selfprice\Selfprice The current object (for fluent API support) |
|
| 409 | */ |
|
| 410 | public function setDatecreate($v) |
|
| 411 | { |
|
| 412 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
| 413 | if ($this->datecreate !== null || $dt !== null) { |
|
| 414 | if ($this->datecreate === null || $dt === null || $dt->format("Y-m-d H:i:s") !== $this->datecreate->format("Y-m-d H:i:s")) { |
|
| 415 | $this->datecreate = $dt === null ? null : clone $dt; |
|
| 416 | $this->modifiedColumns[SelfpriceTableMap::COL_DATECREATE] = true; |
|
| 417 | } |
|
| 418 | } // if either are not null |
|
| 419 | ||
| 420 | return $this; |
|
| 421 | } // setDatecreate() |
|
| 422 | ||
| 423 | /** |
|
| 424 | * Set the value of [desc] column. |
|