Update PHPDoc

This commit is contained in:
Damian Mooyman 2017-12-12 12:34:53 +13:00
parent 529e341dbc
commit a50fd009ca
2 changed files with 4 additions and 3 deletions

View File

@ -173,7 +173,7 @@ class Form extends ViewableData implements HasRequestHandler
* another template for customisation.
*
* @see Form->setTemplate()
* @var string|null
* @var string|array|null
*/
protected $template;
@ -974,7 +974,7 @@ class Form extends ViewableData implements HasRequestHandler
* Set the SS template that this form should use
* 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
*/
public function setTemplate($template)
@ -986,7 +986,7 @@ class Form extends ViewableData implements HasRequestHandler
/**
* Return the template to render this form with.
*
* @return string
* @return string|array
*/
public function getTemplate()
{

View File

@ -100,6 +100,7 @@ use stdClass;
*
* @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 string $Title
* @property string $ClassName Class name of the DataObject
* @property string $LastEdited Date and time of DataObject's last modification.
* @property string $Created Date and time of DataObject creation.