mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
PHPDoc fixes
This commit is contained in:
parent
f01a20d5c4
commit
628fd216ad
@ -107,6 +107,9 @@ class DatetimeField extends TextField
|
||||
return $attributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getSchemaDataDefaults()
|
||||
{
|
||||
$defaults = parent::getSchemaDataDefaults();
|
||||
@ -120,16 +123,26 @@ class DatetimeField extends TextField
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function Type()
|
||||
{
|
||||
return 'text datetime';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getHTML5()
|
||||
{
|
||||
return $this->html5;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $bool
|
||||
* @return $this
|
||||
*/
|
||||
public function setHTML5($bool)
|
||||
{
|
||||
$this->html5 = $bool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user