@@ 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. |
@@ 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. |
@@ 556-567 (lines=12) @@ | ||
553 | * Empty strings are treated as NULL. |
|
554 | * @return $this|\Core\Models\User\User The current object (for fluent API support) |
|
555 | */ |
|
556 | public function setCreatedAt($v) |
|
557 | { |
|
558 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
559 | if ($this->created_at !== null || $dt !== null) { |
|
560 | 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")) { |
|
561 | $this->created_at = $dt === null ? null : clone $dt; |
|
562 | $this->modifiedColumns[UserTableMap::COL_CREATED_AT] = true; |
|
563 | } |
|
564 | } // if either are not null |
|
565 | ||
566 | return $this; |
|
567 | } // setCreatedAt() |
|
568 | ||
569 | /** |
|
570 | * Sets the value of [updated_at] column to a normalized version of the date/time value specified. |
|
@@ 576-587 (lines=12) @@ | ||
573 | * Empty strings are treated as NULL. |
|
574 | * @return $this|\Core\Models\User\User The current object (for fluent API support) |
|
575 | */ |
|
576 | public function setUpdatedAt($v) |
|
577 | { |
|
578 | $dt = PropelDateTime::newInstance($v, null, 'DateTime'); |
|
579 | if ($this->updated_at !== null || $dt !== null) { |
|
580 | 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")) { |
|
581 | $this->updated_at = $dt === null ? null : clone $dt; |
|
582 | $this->modifiedColumns[UserTableMap::COL_UPDATED_AT] = true; |
|
583 | } |
|
584 | } // if either are not null |
|
585 | ||
586 | return $this; |
|
587 | } // setUpdatedAt() |
|
588 | ||
589 | /** |
|
590 | * Indicates whether the columns in this object are only set to default values. |