Defining $children as a public variable

Defining $children as a public variable (it was previously defined on-the-fly)
This commit is contained in:
Will Morgan 2013-04-24 16:25:13 +02:00
parent 59dbdcfc55
commit 676aa8de05

View File

@ -59,6 +59,13 @@ class ConfirmedPasswordField extends FormField {
*/
public $showOnClickTitle;
/**
* Child fields (_Password, _ConfirmPassword)
*
* @var FieldList
*/
public $children;
/**
* @param string $name
* @param string $title