class Delete extends EditAction

A request to delete an object

Methods

perform(PDO $pdo, string $table, string $column, int $id)

Perform the action on the database

Details

at line line 18
perform(PDO $pdo, string $table, string $column, int $id)

Perform the action on the database

Parameters

PDO $pdo The database connection
string $table The name of the affected table
string $column The name of the affected column
int $id The ID of the affected entry