|Info||View files (4)||Download .zip||Reputation||Support forum (2)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2012-12-16 (1 year ago)||Not enough user ratings||Total: 544||All time: 5,002 This week: 1,809|
|archive-edit-delete 1.0||GNU General Public Lice...||5.0||PHP 5, Databases|
It can execute common queries to manipulate records of a MySQL table but record deletion is emulated by setting a field with the data of the soft-deletion of the record.
The class can execute SQL INSERT, UPDATE, DELETE and SELECT queries ignoring rows there are soft-deleted.
|Install with Composer|
|Permanently deleting database records may be a dangerous operation to execute from an application.
If a Web site that performs record deletion has its user accounts compromised, the attacker may cause irreversible damage by executing operations that delete important information records.
A more secure alternative is to implement what is called soft-deletion of records.
In practice this means that records are not really deleted. Instead they have a field that is used to mark deleted records.
This way, if there is a security breach and records are marked as deleted, the records that were affected may be undeleted.
This class implements access to MySQL database table records with soft-deletion support.
The delete operation just sets the field to mark the records as deleted. The table access operations ignore records marked as deleted.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||0||This week:||1,809|