public function get_module($module_id)
{
$module_id = (int) $module_id;
$this->db->from('modules')->where('module_id', $module_id);
$query = $this->db->get();
if ($query->num_rows() == 0) {
return FALSE;
}
return $query->row_array();
}