[eluser]ajay009ajay[/eluser]
Is this predefined function in database like , i used .
$query = $this->db->query("SELECT * FROM users where activation_key='".$activation_key."' AND role_id='".$role_id."'");
for this function i load the database.
$this->load->database();
So following function...
$query= $this->user_model->getUsers($conditions);
is also from database system or defined by user.