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