db->get_where('ea_roles', array('slug' => $role_slug))->row()->id; } } /* End of file roles_model.php */ /* Location: ./application/models/roles_model.php */