entity::delete inconsistent with entity::save

P

pegasus

Guest
Member
In entity::save, it is possible to extend _saveToSource in order to do some last minute tasks before saving an entity, compared to _postSave etc, which takes place afterwards.

However, there is no corresponding reverse method in entity::delete. $db->update is called directly, where one would expect a _deleteFromSource method. Such a method would allow us to perform last minute tasks before the entity is removed from the database, which is important in case some tasks require...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    N @ NathanGaming093: how to download ?
    Top