Пример #1
0
 /**
  * Store a table entry to the recycle bin and delete the original entry
  * @param string $tablename The table to retrieve data from
  * @param string $id The id of the table entry to delete
  * @param string $idfieldname The primary key id of the table; could be null and retrieved automatically
  * @return boolean true, if successful
  */
 public static function deleteObject($tablename, $id, $idfieldname = null) {
     return Recycle::storeObjectImpl($tablename, $id, $idfieldname, true);
 }