SilverStripe\UserForms\Model\Recipient\EmailRecipientCondition
Declares a condition that determines whether an email can be sent to a given recipient
Synopsis
class EmailRecipientCondition
extends DataObject
{
- // members
- private static array $condition_options = ;
- private static array $db = ;
- private static array $has_one = ;
- private static string $table_name = 'UserDefinedForm_EmailRecipientCondition';
- // methods
- public bool|null matches()
- public bool canCreate()
- protected SiteTree getCanCreateContext()
- public void canView()
- public void canEdit()
- public void canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $condition_options
—
array
List of options - $db
- $has_one
- $table_name
Methods
protected
- getCanCreateContext() — Helper method to check the parent for this object
public
- canCreate() — Return whether a user can create an object of this type
- canDelete()
- canEdit()
- canView()
- matches() — Determine if this rule matches the given condition