DeleteRecordPolicy
class DeleteRecordPolicy implements DeletePolicy (View source)
A policy that deletes the root record
Properties
protected | DeletePolicy[] | $dependantPolicies | List of dependant policies |
Methods
Details
DeletePolicy[]
getDependantPolicies()
No description
$this
setDependantPolicies(DeletePolicy[] $dependantPolicies)
No description
bool
delete(DataObject $record)
No description
protected
deleteBaseRecord(DataObject $record)
Do base record deletion
protected mixed
getTargetTables(DataObject $record)
Generate table list to delete base record