Пример #1
0
 function delete($id)
 {
     if ($this->id == '') {
         $this->id = $id;
     }
     return parent::do_delete();
 }
Пример #2
0
 function delete($id)
 {
     global $db;
     if ($this->id == '') {
         $this->id = $id;
     }
     // error check
     return parent::do_delete();
 }