[eluser]sl3dg3hamm3r[/eluser]
[quote author="drewbee" date="1239221619"]This method will take one parameter that is an array filling out the $where clause, so when I call it:
$where = array('account_id' => 32);
$this->users_model->get_users($where);[/quote]
drewbee, I think that isn't any good approach to call your model-function like that. You deal with knowledge about your table-format outside of your model. I would definitely pass only the Id, and build the where-statement within your model. Knowledge about the data-format belongs IMHO into the model, only.
I see that your way may keeps the signature of your function-call very flexible, but overpowered flexibility might also lead to unwanted problems, which might become difficult to debug.