Frontend | Backend | Api

Forms\Models\Frontend\ValidationRule

ValidationRule

Method Description Returns
getId() int
getAction() string
getElement() BaseElement
getConditions() Collection (ValidationCondition)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool