app/Models/Task/Base/Task.php 1 location
|
@@ 328-335 (lines=8) @@
|
| 325 |
|
* |
| 326 |
|
* @throws PropelException - if unable to parse/validate the date/time value. |
| 327 |
|
*/ |
| 328 |
|
public function getCreatedAt($format = NULL) |
| 329 |
|
{ |
| 330 |
|
if ($format === null) { |
| 331 |
|
return $this->created_at; |
| 332 |
|
} else { |
| 333 |
|
return $this->created_at instanceof \DateTime ? $this->created_at->format($format) : null; |
| 334 |
|
} |
| 335 |
|
} |
| 336 |
|
|
| 337 |
|
/** |
| 338 |
|
* Get the [optionally formatted] temporal [updated_at] column value. |
app/Models/User/Base/User.php 1 location
|
@@ 392-399 (lines=8) @@
|
| 389 |
|
* |
| 390 |
|
* @throws PropelException - if unable to parse/validate the date/time value. |
| 391 |
|
*/ |
| 392 |
|
public function getCreatedAt($format = NULL) |
| 393 |
|
{ |
| 394 |
|
if ($format === null) { |
| 395 |
|
return $this->created_at; |
| 396 |
|
} else { |
| 397 |
|
return $this->created_at instanceof \DateTime ? $this->created_at->format($format) : null; |
| 398 |
|
} |
| 399 |
|
} |
| 400 |
|
|
| 401 |
|
/** |
| 402 |
|
* Get the [optionally formatted] temporal [updated_at] column value. |