mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update PHPDoc
This commit is contained in:
parent
529e341dbc
commit
a50fd009ca
@ -173,7 +173,7 @@ class Form extends ViewableData implements HasRequestHandler
|
|||||||
* another template for customisation.
|
* another template for customisation.
|
||||||
*
|
*
|
||||||
* @see Form->setTemplate()
|
* @see Form->setTemplate()
|
||||||
* @var string|null
|
* @var string|array|null
|
||||||
*/
|
*/
|
||||||
protected $template;
|
protected $template;
|
||||||
|
|
||||||
@ -974,7 +974,7 @@ class Form extends ViewableData implements HasRequestHandler
|
|||||||
* Set the SS template that this form should use
|
* Set the SS template that this form should use
|
||||||
* to render with. The default is "Form".
|
* to render with. The default is "Form".
|
||||||
*
|
*
|
||||||
* @param string $template The name of the template (without the .ss extension)
|
* @param string|array $template The name of the template (without the .ss extension) or array form
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setTemplate($template)
|
public function setTemplate($template)
|
||||||
@ -986,7 +986,7 @@ class Form extends ViewableData implements HasRequestHandler
|
|||||||
/**
|
/**
|
||||||
* Return the template to render this form with.
|
* Return the template to render this form with.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string|array
|
||||||
*/
|
*/
|
||||||
public function getTemplate()
|
public function getTemplate()
|
||||||
{
|
{
|
||||||
|
@ -100,6 +100,7 @@ use stdClass;
|
|||||||
*
|
*
|
||||||
* @property int $ID ID of the DataObject, 0 if the DataObject doesn't exist in database.
|
* @property int $ID ID of the DataObject, 0 if the DataObject doesn't exist in database.
|
||||||
* @property int $OldID ID of object, if deleted
|
* @property int $OldID ID of object, if deleted
|
||||||
|
* @property string $Title
|
||||||
* @property string $ClassName Class name of the DataObject
|
* @property string $ClassName Class name of the DataObject
|
||||||
* @property string $LastEdited Date and time of DataObject's last modification.
|
* @property string $LastEdited Date and time of DataObject's last modification.
|
||||||
* @property string $Created Date and time of DataObject creation.
|
* @property string $Created Date and time of DataObject creation.
|
||||||
|
Loading…
Reference in New Issue
Block a user