コード例 #1
0
 /**
  * archive an existing record in database
  * @param $encoded_key_string string unique identifier of record to be archived
  * @return bool indicates if record has been archived
  */
 function archive($encoded_key_string)
 {
     $this->_log->trace("archiving record from UserDatabaseTable (encoded_key_string=" . $encoded_key_string . ")");
     # call parent archive()
     if (parent::archive($encoded_key_string, $this->_user->get_name()) == FALSE) {
         return FALSE;
     }
     $this->_log->trace("archived record from UserDatabaseTable");
     return TRUE;
 }