private function validateForm()
{
$this->form_validation->set_rules('location_search_mode', 'lang:label_location_search_mode', 'xss_clean|trim|required|alpha');
$this->form_validation->set_rules('use_location', 'lang:label_use_location', 'xss_clean|trim|required|integer');
$this->form_validation->set_rules('status', 'lang:label_status', 'xss_clean|trim|required|integer');
if ($this->form_validation->run() === TRUE) {
return TRUE;
} else {
return FALSE;
}
}