\UserDefinedForm_EmailRecipientCondition
Declares a condition that determines whether an email can be sent to a given recipient
Synopsis
class UserDefinedForm_EmailRecipientCondition
extends DataObject
{
- // members
- private static array $condition_options = ;
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public bool|null matches()
- public bool canCreate()
- protected SiteTree getCanCreateContext()
- public boolean canView()
- public boolean canEdit()
- public boolean canDelete()
Hierarchy
Extends
- DataObject
Members
private
- $condition_options
—
array
List of options - $db
- $has_one
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