function biblio_remove_variable_properties in Bibliography Module 7.2
1 call to biblio_remove_variable_properties()
- _biblio_bibtex_import in modules/
bibtexParse/ biblio_bibtex.module
File
- includes/
biblio.import.export.inc, line 942 - Functions that are used to import and export biblio data.
Code
function biblio_remove_variable_properties(&$biblio) {
// All properties of the biblio object that may change between creation or
// imports of the "same" biblio objects
$properties = array(
'created',
'changed',
'uid',
);
foreach ($properties as $property) {
$temp[$property] = $biblio->{$property};
unset($biblio->{$property});
}
return $temp;
}