function legal_versions_latest_get_data in Legal 6.8
Same name and namespace in other branches
- 7.2 legal.admin.inc \legal_versions_latest_get_data()
- 7 legal.admin.inc \legal_versions_latest_get_data()
1 call to legal_versions_latest_get_data()
- legal_versions_latest_get in ./
legal.admin.inc - Get latest version for each language.
File
- ./
legal.admin.inc, line 355 - Administration functions for the Legal module.
Code
function legal_versions_latest_get_data($data) {
$row['version'] = isset($data->version) ? $data->version : '';
$row['revision'] = isset($data->revision) ? $data->revision : '';
$row['language'] = isset($data->language) ? $data->language : '';
$row['conditions'] = isset($data->conditions) ? $data->conditions : '';
$row['date'] = isset($data->date) ? $data->date : '';
$row['extras'] = isset($data->extras) ? $data->extras : '';
$row['changes'] = isset($data->changes) ? $data->changes : '';
return $row;
}