public function delete($id) ..... $this->trigger('before_delete', $id); I can do stuff with the id $this->trigger('after_delete', $result); No id passed so maybe $result should be array('result' => $result, 'id' => $id)
public function delete($id)
.....
$this->trigger('before_delete', $id);
I can do stuff with the id
$this->trigger('after_delete', $result);
No id passed
so maybe $result should be array('result' => $result, 'id' => $id)