function apdqc_admin_additional_times in Asynchronous Prefetch Database Query Cache 7
Return an array of times.
Return value
array Array where key is in seconds and value is time in human form.
2 calls to apdqc_admin_additional_times()
- apdqc_admin_get_settings in ./
apdqc.admin.inc - Return the admin settings form for apdqc.
- apdqc_admin_system_performance_settings_form in ./
apdqc.admin.inc - Add various apdqc settings to the system_performance_settings form.
File
- ./
apdqc.admin.inc, line 446 - Admin page callbacks for the apdqc module.
Code
function apdqc_admin_additional_times() {
return array(
120 => t('2 min'),
240 => t('4 min'),
1200 => t('20 min'),
1500 => t('25 min'),
2700 => t('45 min'),
32400 => t('9 hours'),
64800 => t('18 hours'),
129600 => t('1.5 days'),
172800 => t('2 days'),
259200 => t('3 days'),
345600 => t('4 days'),
432000 => t('5 days'),
518400 => t('6 days'),
604800 => t('1 week'),
907200 => t('1.5 weeks'),
1209600 => t('2 weeks'),
);
}