19 declare(strict_types=1);
28 public function getHTML(
bool $link =
true, array $options = []): string
31 if ($value ==
'0000-00-00 00:00:00' || !$value) {
32 return $this->
lng->txt(
'no_date');
35 return $this->formatDateFromString($value);
40 return (
string) $this->
user->getDateFormat();
49 if (!$value || $value ==
"-") {
53 return substr($value, 0, -9);
parseFormInput($value)
function parses stored value to the variable needed to fill into the form for editing.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getRecordField()
Get Record Field.
getHTML(bool $link=true, array $options=[])
Outputs html of a certain field.