/** * Record class-specific differences. * 'orig' is the same as {@link $_object}, but is passed here for convenience. * @param COMMENT $orig * @param COMMENT $new * @access private */ protected function _record_differences($orig, $new) { parent::_record_differences($orig, $new); if ($orig->original_file_name != $new->original_file_name) { $this->_record_string_difference('File name', $orig->original_file_name, $new->original_file_name); } else { if ($orig->file_name != $new->file_name) { $this->_record_string_difference('File name', $orig->file_name, $new->file_name); } } }
/** * Record class-specific differences. * 'orig' is the same as {@link $_object}, but is passed here for convenience. * @param COMPONENT $orig * @param COMPONENT $new * @access private */ protected function _record_differences($orig, $new) { parent::_record_differences($orig, $new); $this->_record_string_difference('Icon', $orig->icon_url, $new->icon_url); }