nicemap/nicemap_admin.inc, line 6
- Versions
- 6
nicemap_cache_clear()
Form for clearing the nicemap cache
Code
<?php
function nicemap_cache_clear() {
$form = array();
$form['info'] = array(
'#type' => 'item',
'#value' => "<p>". t('Nicemap stores information it retrieves from each WMS server in a cache to eliminate the need to poll the server for information each time a map is generated. You should clear this cache when the server updates its capabilities or the cached information is no longer valid.') ."</p>",
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Clear nicemap cache'),
);
return $form;
}
?> 