Is referencing any method of any Model in the View using Helper in Codeigniter a good practice?

0

Personal normally when I load a certain list in my controller and in cases that for each item in this list I need another set of data associated with it, in my view, when I go through the list obtained in the controller, I usually use helpers that access a given model method that queries some data according to the passed parameters. I wonder if this practice is bad and affects security.

    
asked by anonymous 25.09.2018 / 20:58

0 answers