/**
  * Get the last record in a table.
  *
  * @param Omeka_Db_Table $table A table.
  * @return Neatline_AbstractRecord The last record.
  */
 protected function _getLastRow($table)
 {
     $records = $table->findAll();
     return array_pop($records);
 }