mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MNT Update @methods on class docblocks
This commit is contained in:
parent
8cf7f90745
commit
70d9cd27b2
@ -28,7 +28,7 @@ use Symbiote\GridFieldExtensions\GridFieldEditableColumns;
|
||||
use Symbiote\GridFieldExtensions\GridFieldOrderableRows;
|
||||
|
||||
/**
|
||||
* @method DataList|EditableFormField[] Fields()
|
||||
* @method SilverStripe\ORM\HasManyList<EditableFormField> Fields()
|
||||
*/
|
||||
class UserFormFieldEditorExtension extends DataExtension
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ use SilverStripe\Versioned\Versioned;
|
||||
|
||||
/**
|
||||
* @property string $UserFormUpload
|
||||
* @method File SubmittedFileField
|
||||
* @method SubmittedFileField SubmittedFileField()
|
||||
*/
|
||||
class UserFormFileExtension extends DataExtension
|
||||
{
|
||||
|
@ -20,8 +20,8 @@ use SilverStripe\Versioned\Versioned;
|
||||
* @property string $Display
|
||||
* @property string $FieldValue
|
||||
* @property int $ParentID
|
||||
* @method EditableFormField Parent()
|
||||
* @method EditableFormField ConditionField()
|
||||
* @method EditableFormField Parent()
|
||||
*/
|
||||
class EditableCustomRule extends DataObject
|
||||
{
|
||||
|
@ -57,9 +57,9 @@ use Symbiote\GridFieldExtensions\GridFieldEditableColumns;
|
||||
* @property int $ShowInSummary
|
||||
* @property int $ShowOnLoad
|
||||
* @property int $Sort
|
||||
* @method UserDefinedForm Parent() Parent page
|
||||
* @method HasManyList|EditableCustomRule[] DisplayRules() List of EditableCustomRule objects
|
||||
* @mixin Versioned
|
||||
* @method HasManyList<EditableCustomRule> DisplayRules()
|
||||
* @method DataObject Parent()
|
||||
*/
|
||||
class EditableFormField extends DataObject
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ use SilverStripe\UserForms\Model\EditableFormField;
|
||||
* Specifies that this ends a group of fields
|
||||
*
|
||||
* @property int $EditableFieldGroupEndID
|
||||
* @method EditableFieldGroupEnd EditableFieldGroupEnd()
|
||||
* @method EditableFieldGroupEnd End()
|
||||
*/
|
||||
class EditableFieldGroup extends EditableFormField
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ use SilverStripe\UserForms\Model\Submission\SubmittedFileField;
|
||||
* @property int $FolderConfirmed
|
||||
* @property int $FolderID
|
||||
* @property float $MaxFileSizeMB
|
||||
* @method Folder Folder
|
||||
* @method Folder Folder()
|
||||
*/
|
||||
class EditableFileField extends EditableFormField
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ use Symbiote\GridFieldExtensions\GridFieldTitleHeader;
|
||||
* @see EditableDropdownField
|
||||
*
|
||||
* @package userforms
|
||||
* @method HasManyList|EditableOption[] Options()
|
||||
* @method HasManyList<EditableOption> Options()
|
||||
*/
|
||||
class EditableMultipleOptionField extends EditableFormField
|
||||
{
|
||||
|
@ -16,8 +16,8 @@ use SilverStripe\Versioned\Versioned;
|
||||
* @property int $ParentID
|
||||
* @property int $Sort
|
||||
* @property string $Value
|
||||
* @method EditableMultipleOptionField Parent()
|
||||
* @mixin Versioned
|
||||
* @method EditableMultipleOptionField Parent()
|
||||
*/
|
||||
class EditableOption extends DataObject
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ use Symbiote\GridFieldExtensions\GridFieldEditableColumns;
|
||||
* @property int $SendEmailFromFieldID
|
||||
* @property int $SendEmailSubjectFieldID
|
||||
* @property int $SendEmailToFieldID
|
||||
* @method HasManyList|EmailRecipientCondition[] CustomRules()
|
||||
* @method HasManyList<EmailRecipientCondition> CustomRules()
|
||||
* @method DataObject Form()
|
||||
* @method EditableFormField SendEmailFromField()
|
||||
* @method EditableFormField SendEmailSubjectField()
|
||||
|
@ -19,9 +19,9 @@ use SilverStripe\Security\Member;
|
||||
* @package userforms
|
||||
* @property int $SubmittedByID
|
||||
* @property int $ParentID
|
||||
* @method Member SubmittedBy()
|
||||
* @method DataObject Parent()
|
||||
* @method HasManyList|SubmittedFormField[] Values()
|
||||
* @method Member SubmittedBy()
|
||||
* @method HasManyList<SubmittedFormField> Values()
|
||||
*/
|
||||
class SubmittedForm extends DataObject
|
||||
{
|
||||
|
@ -13,6 +13,7 @@ use SilverStripe\UserForms\Model\EditableFormField;
|
||||
* @package userforms
|
||||
* @property string $Name
|
||||
* @property string $Value
|
||||
* @method SubmittedForm Parent()
|
||||
*/
|
||||
class SubmittedFormField extends DataObject
|
||||
{
|
||||
|
@ -9,6 +9,8 @@ use SilverStripe\UserForms\Control\UserDefinedFormController;
|
||||
|
||||
/**
|
||||
* @package userforms
|
||||
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Recipient\EmailRecipient> EmailRecipients()
|
||||
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Submission\SubmittedForm> Submissions()
|
||||
*/
|
||||
class UserDefinedForm extends Page
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user