ReWork Notification Model/Module/Object/Repository/Factory
- Introduce Repository for interaction with "notify" table - Introduce Factory for read-only notification objects (they're just loosely based on notification the table!) - Introduce Objects for type-safe usage at the presentation layer - Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
This commit is contained in:
@@ -53,6 +53,11 @@ abstract class BaseModel
|
||||
return $this->originalData;
|
||||
}
|
||||
|
||||
public function resetOriginalData()
|
||||
{
|
||||
$this->originalData = $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Performance-improved model creation in a loop
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user