Firesphere\PartialUserforms\Models\PartialFormSubmission
Class \Firesphere\PartialUserforms\Models\PartialFormSubmission
Synopsis
class PartialFormSubmission
extends SubmittedForm
{
- // members
- private static string $table_name = 'PartialFormSubmission';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $cascade_deletes = ;
- private static array $summary_fields = ;
- private static array $special_characters = ;
- // methods
- public FieldList getCMSFields()
- public string getPartialLink()
- public mixed generateKey()
- public void onBeforeWrite()
- protected bool|string|null getPartialToken()
- protected bool|string generateToken()
- protected string generatePassword()
- public DataObject|UserDefinedForm getParent()
- public bool|string|null canCreate()
- public boolean|string canView()
- public boolean|string canEdit()
- public boolean|string canDelete()
Hierarchy
Extends
- SilverStripe\UserForms\Model\Submission\SubmittedForm
Members
private
- $cascade_deletes
- $db — array
- $has_many — array
- $has_one — array
- $special_characters
- $summary_fields — array
- $table_name — string
Methods
protected
- generatePassword()
- generateToken() — Generate a new token
- getPartialToken() — Get the unique token for the share link
public
- canCreate()
- canDelete()
- canEdit()
- canView()
- generateKey() — Generate a key based on the share token salt
- getCMSFields()
- getParent()
- getPartialLink() — Get the share link of the form
- onBeforeWrite() — Generate the partial tokens If the submission is password protected, generate a password.