I have a normal foreach call foreach($users as $k=>$user):
in my view.
However in this loop i need to call a function from either my controller or model (not sure where), that goes and runs a few other web based checks and returns an array as a result...
How do i call a function from within my foreach loop inside my view? Or is there another way i am unaware of?