Use Entity function in COntroller or view |
HI , how can i use entity function in controller or in view ?
i have this function in Ore_giornata_quarti_dora_Entity : PHP Code: function ritorna_orario_standard($id){ i use it on list get by model findAll() but in a simple view or controller ?
You would need to load the class just like any other class, but using it in a Controller or View is breaking the MVC.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |